Re: [Wicket-user] Setting model values in a TabbedPanel

2006-07-14 Thread Igor Vaynberg
yeah, but see whats happening:TabTestPage1 panel = new TabTestPage1(panelId);AjaxFormValidatingBehavior.addToAllFormComponents(form,"onchange");its the same problem: the panel hasnt been added to the form yet so none of the form components inside the panel have either. i dont really see an easy way

Re: [Wicket-user] Setting model values in a TabbedPanel

2006-07-14 Thread Macrae, Jeremy
this.test2; } } } ------------- From: "Igor Vaynberg" <[EMAIL PROTECTED]> Subject: Re: [Wicket-user] Setting model values in a TabbedPanel To: wicket-user@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=&quo

Re: [Wicket-user] Setting model values in a TabbedPanel

2006-07-13 Thread Igor Vaynberg
probably because this call:AjaxFormValidatingBehavior.addToAllFormComponents(form, "onchange");will only modify form components in the hierarchy - since your second tab is not in the hierarchy until you switch to it the form components in it are not affectedyou have to make this call as part of the

[Wicket-user] Setting model values in a TabbedPanel

2006-07-13 Thread Macrae, Jeremy
Hi,   I am having a problem setting values in a model via the panels on a TabbedPanel.   I have a page which contains a form containing a TabbedPanel with two AbstractTab panels. Each of these panels contains a single Textbox. I want to use the same model for the whole form so have ca