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 click), my question is, how
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
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
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
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