Re: how to get TextField value which belongs to the first tab when click on the button which belongs to tabbedpanel

2009-10-07 Thread Pedro Santos
It is up to your object structure, use wicket api to get such object reference sounds bad On Wed, Oct 7, 2009 at 6:43 AM, jerr...@sohu.com wrote: There are 3 tabs in a tabbedpanel, a TextField component is in the first tab, and several form components in the other tabs for user input. I added

Re: how to get TextField value which belongs to the first tab when click on the button which belongs to tabbedpanel

2009-10-07 Thread Swanthe Lindgren
jerr...@sohu.com wrote: There are 3 tabs in a tabbedpanel, a TextField component is in the first tab, and several form components in the other tabs for user input. I added a save button in the tabbedpanel(instead add 3 buttons in each tab, because I just want to save all user inputs by one

Re: how to get TextField value which belongs to the first tab when click on the button which belongs to tabbedpanel

2009-10-07 Thread Michael O'Cleirigh
Hi Jerry, Your implementation isn't working because: 1. tabs have to be contained with in the form to be part of the submission: form wicket:id=form div wicket:id=tabs[tabbed panel will be here]/div input wicket:id=buttonsave

Re: how to get TextField value which belongs to the first tab when click on the button which belongs to tabbedpanel

2009-10-07 Thread Igor Vaynberg
when dealing with tabs inside a form there are two options you can go with: a) the easiest is to use javascript tabs and have the entire form on a single html page. this works best imho. b) put the tabbed panel into a form, replace tabbed panel's links with submitlinks so switching tabs submits