Ah, my bad. findSubmittingButton() exists so I can use it in the isRequired
Method of my input fields after all.
It still feels a bit ugly to me, though.

Thanks,
-markus

Zitat von Martijn Dashorst <[EMAIL PROTECTED]>:

Don't add validators to your form components? Or use a valuemap as
your model object.

Martijn

On 2/19/08, Markus Strickler <[EMAIL PROTECTED]> wrote:
Hi-

is there any way to disable validation only (and still update the form) when a
user clicks on a button?

I found this <http://cwiki.apache.org/WICKET/conditional-validation.html> in the WIKI, but I'm still on 1.2.6 and the findSubmittingButton() method seems to be
missing there.

Thanks,

-markus

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to