Re: Changing form validation depending on submit button.
On Fri, Apr 10, 2009 at 11:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: there is form#onvalidate() You mean form#validate() I think. Thanks for the pointer. Ian. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Changing form validation depending on submit button.
form#validate is final. -igor On Mon, Apr 13, 2009 at 12:38 AM, Ian MacLarty ian.macla...@gmail.com wrote: On Fri, Apr 10, 2009 at 11:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: there is form#onvalidate() You mean form#validate() I think. Thanks for the pointer. Ian. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Changing form validation depending on submit button.
On Thu, Apr 9, 2009 at 8:20 PM, John Krasnay j...@krasnay.ca wrote: Have a look here: http://cwiki.apache.org/WICKET/conditional-validation.html Thanks. That's pretty much what I ended up doing. It seemed a bit kludgy to be doing validation in the onSubmit method. It means I can't put my error handling code in onError where it should be. Not a big deal though. Cheers, Ian. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Changing form validation depending on submit button.
there is form#onvalidate() -igor On Thu, Apr 9, 2009 at 5:05 PM, Ian MacLarty ian.macla...@gmail.com wrote: On Thu, Apr 9, 2009 at 8:20 PM, John Krasnay j...@krasnay.ca wrote: Have a look here: http://cwiki.apache.org/WICKET/conditional-validation.html Thanks. That's pretty much what I ended up doing. It seemed a bit kludgy to be doing validation in the onSubmit method. It means I can't put my error handling code in onError where it should be. Not a big deal though. Cheers, Ian. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org