Hi everyone,
    I have a question regarding IFormVisitorParticpant, I implement
IFormVisitorParticpant in a panel where my nested form resides,  the form
has formcomponents which are set to required. When the processChildren() is
set to return false everything works as normall, none of the formcomponents
are visited. But, when I add a IFormValidator to my nested form, the root
form somehow validates the validator which I add to the nested/sub form. Is
this how its suppose to work? how can I make the root form not to validate
the sub form's validator? I really appreciate your response... thanks

Ashley



AshleyAbraham wrote:
> 
> Igor,
>     Thank u for your fast response...
> 
> Thanks again,
> Ashley
> 
> 
> 
> Pills wrote:
>> 
>> Hi everybody,
>> 
>> I'm using nested forms in my web app to provide to the user a simple way
>> for editting a product and its stock state at the same time (PRODUCTS and
>> STOCKS are bound with a relation 1-n in my database). So I've defined a
>> form for each of my tables.  
>> 
>> When I submit a nested form (in this case, the form "STOCK"), Wicket
>> doesn't care about the master form (PRODUCTS) and that's fine. But when I
>> submit the master form, Wicket does the validation of all the nested
>> forms, and obviously it failed because the nested forms aren't filled... 
>> 
>> How can I tell to Wicket to ignore the nested forms when submitting
>> theire parent? I won't use the "setDefaultFormProcessing(false)", because
>> it forces me to handle the validity of fields and the feedback
>> messages...
>> 
>> Is there a way to do what I need?
>> 
>> Thank you for your help ;)
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Submit-a-form-and-ignore-nested-forms-tp13794970p16575383.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to