eg its probably something your nested form can implement

-igor


On Fri, Feb 29, 2008 at 1:29 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> processchildren() comes from IFormVisitorParticipant which, afaik, any
>  component can implement and therefore act as a "barrier" to prevent
>  form processing logic from going any deeper.
>
>  -igor
>
>
>
>
>  On Fri, Feb 29, 2008 at 1:21 PM, AshleyAbraham <[EMAIL PROTECTED]> wrote:
>  >
>  >  Hi everyone,
>  >    I have a similar problem using Wizard, I have a idea but I dont know
>  >  whether its a right approach or is there an easy way to do it...
>  >
>  >  here is my thought, if I use a FormComponentPanel and put my nested form 
> in
>  >  it, then override the processChildren() to return false. So, when the main
>  >  form starts processing it only processes FormComponentPanel's sibling and
>  >  not its children.
>  >
>  >  Any thougts...?
>  >
>  >  Thanks
>  >  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-tp13794970p15767485.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]
>  >
>  >
>

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

Reply via email to