Thats a neat idea, thanks.

I see I have a problem in that above the form some of the data selection is not 
done by input fields but via eventlinks. I either have to render these out.

It seems it would be easier to trigger an unclosable modal dialog that says the 
server is working that disappaears when the request returns.

Any ideas how to do that on submit, perhaps another mixin?

John
  ----- Original Message -----
  From: Jon Williams
  To: Tapestry users
  Sent: Saturday, March 15, 2014 5:59 PM
  Subject: Re: an old chestnut - how to disable form inputs after submit pressed


  Wrap the input fields and other stuff into a <fieldset> and give it the
  disabled="disabled"attribute.

  Example http://jsfiddle.net/7qGHN/



  On Sat, Mar 15, 2014 at 11:28 AM, Jon Williams
  <williams.jonat...@gmail.com>wrote:

  > http://www.codehooligans.com/2006/06/04/convert-forms-to-printable-content/
  >
  >
  > On Sat, Mar 15, 2014 at 11:25 AM, John <j...@quivinco.com> wrote:
  >
  >> that would be even better
  >>
  >> thanks for the tip
  >>   ----- Original Message -----
  >>   From: Jon Williams
  >>   To: Tapestry users
  >>   Sent: Saturday, March 15, 2014 5:21 PM
  >>   Subject: Re: an old chestnut - how to disable form inputs after submit
  >> pressed
  >>
  >>
  >>   Or do you want to toggle all the form elements to Read only after the
  >> user
  >>   clicks the submit?
  >>
  >>
  >> ---
  >> This email is free from viruses and malware because avast! Antivirus
  >> protection is active.
  >> http://www.avast.com
  >>
  >
  >


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to