Re: Changing form validation depending on submit button.

2009-04-13 Thread Ian MacLarty
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.

2009-04-13 Thread Igor Vaynberg
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.

2009-04-09 Thread Ian MacLarty
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.

2009-04-09 Thread Igor Vaynberg
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