RE: Bean Population When Form Cancelled

2006-02-14 Thread Robert Alexandersson
messages.add(property, err); } } return messages; } /*** END CODE *** Regards Robert -Original Message- From: Tom Ansley [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 6:48 AM To: Struts Users Mailing List Subject: Bean Populatio

Re: Bean Population When Form Cancelled

2006-02-11 Thread Tom Ansley
Thanks Laurie, Its a shame that's the case because having the framework do all the type conversion makes things so much easier. I guess this short cut has cost me in the long run!! =) Cheers Tom On 2/11/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Tom Ansley wrote: > > Hi all, > > > > I hav

Re: Bean Population When Form Cancelled

2006-02-11 Thread Laurie Harper
Tom Ansley wrote: Hi all, I have a form that uses validator to check for simple validation like making sure that a cash amount is a double. I have the "cancel" button on the form set so that if it is pressed that validation does not take place. This is great except when you type a letter into

Re: Bean Population When Form Cancelled

2006-02-11 Thread Paul Benedict
Tom, Your expectation is incorrect. The form is always populated. The cancellation doesn't cancel the population, but cancels the validation. There has been lengthy discussions about this. Feel free to sign up to bugzilla and vote this in the 1.2 branch: http://issues.apache.org/bu

Bean Population When Form Cancelled

2006-02-10 Thread Tom Ansley
Hi all, I have a form that uses validator to check for simple validation like making sure that a cash amount is a double. I have the "cancel" button on the form set so that if it is pressed that validation does not take place. This is great except when you type a letter into the cash text box an