Re: How to get a form component's value that is not a sub-node of the Form.
Can you specify details more precisely ? According to http://www.thescripts.com/forum/thread95602.html It seems nested forms is forbidden. 2008/1/25, Eelco Hillenius [EMAIL PROTECTED]: You could try nested forms. Eelco On Jan 24, 2008 11:19 AM, smallufo [EMAIL PROTECTED] wrote: I have a Form component : SomeCheckGroup added to a SomePanel. For screen arrangement purpose , this SomePanel is not a sub-node of the Form , it's outside of the Form . It looks like this : OutmostPanel add FormPanel FormPanel add MainForm MainForm add other form components OutmostPanel add SomePanel SomePanel add SomeCheckGroup1 SomePanel add SomeCheckGroup2 SomePanel add SomeCheckGroup3 ... How do I get the value of SomeCheckGroup when MainForm submit() ? Now , I could only use AjaxCheckBox in SomeCheckGroup to update the MainForm's model , but sometimes , it seems maybe network delay problem , cause some synchronized problem , which set null to the form's model , it's hard to debug , and I feel it is bandwidth consumptive... But I cannot find a way to not using AJAX and notify the checkGroup latest model to MainForm's model . Can somebody give me a hint . Thanks in advanced.
Re: How to get a form component's value that is not a sub-node of the Form.
On Jan 26, 2008 7:47 PM, smallufo [EMAIL PROTECTED] wrote: Can you specify details more precisely ? According to http://www.thescripts.com/forum/thread95602.html It seems nested forms is forbidden. In Wicket you can nest them and let Wicket figure out to not actually print the inner ones. I don't know the gory details of how this works, but it should be in the mailing archives. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get a form component's value that is not a sub-node of the Form.
You could try nested forms. Eelco On Jan 24, 2008 11:19 AM, smallufo [EMAIL PROTECTED] wrote: I have a Form component : SomeCheckGroup added to a SomePanel. For screen arrangement purpose , this SomePanel is not a sub-node of the Form , it's outside of the Form . It looks like this : OutmostPanel add FormPanel FormPanel add MainForm MainForm add other form components OutmostPanel add SomePanel SomePanel add SomeCheckGroup1 SomePanel add SomeCheckGroup2 SomePanel add SomeCheckGroup3 ... How do I get the value of SomeCheckGroup when MainForm submit() ? Now , I could only use AjaxCheckBox in SomeCheckGroup to update the MainForm's model , but sometimes , it seems maybe network delay problem , cause some synchronized problem , which set null to the form's model , it's hard to debug , and I feel it is bandwidth consumptive... But I cannot find a way to not using AJAX and notify the checkGroup latest model to MainForm's model . Can somebody give me a hint . Thanks in advanced. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]