I already tried using setDefaultFormProcessing, but I want to actually process the form without validating it, on one of these buttons but using this method, I can't update my data, . Let me explain better. I have a master-detail form, supose I have fields M1, M2 and M3 on master-side and D1, D2 on details side. Fields M1 and D1 are required. I have a submit button that will submit all data and another submit button that will submit only detail data (I know it submits all the data, but then I will store the data on memory). When I click the button that submits my detail, I don't want it to do any validation on M1 field, but I want it to validate D1. Currently I am looking for 2 solutions:
1. Validate D1 but not M1
2. Do not validate at all.

tx

carlson

Craig McIlwee escreveu:
See 
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/Button.html#setDefaultFormProcessing(boolean)

-----Original Message-----
From: carlson weber filho - Master CIM Informática [mailto:cwe...@mastercim.com.br] Sent: Thursday, July 23, 2009 3:31 PM
To: users@wicket.apache.org
Subject: Bypassing form validation

I have a form with two submit buttons. Is there any way to selectivelly bypass some validation on one of these buttons? I want to validate just two fields if I click on the button1 and I want to validate all fields when I click on button2

tx,

carlson

---------------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to