Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-06-04 Thread Xavier Hanin
On 3/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if elements are not visible they are not validated so what you have to do is not allow the user to switch between tabs unless everything on that tab has validated. you can do this by overriding the linkfactory on the tabbed panel, using a

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-14 Thread Jean-Baptiste Quenot
* Jean-Baptiste Quenot: We have DojoTabContainer in Wicket Contrib Dojo that is client-side only. See an example at http://www.demay-fr.net:8080/Wicket-start/app?wicket:bookmarkablePage=:wicket.contrib.dojo.examples.TabContainerSample Sorry the right URL (more uptodate) was:

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-14 Thread Thomas R. Corbin
On Tuesday, 13 March 2007 03:31 pm, Jean-Baptiste Quenot escreveu: * Igor Vaynberg: a better option for these situations imho is to not to use a serverside tabpanel, but a clientside one. that way your entire form is written out and the submit button submits the

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Al Maw
Thomas R. Corbin wrote: or do you need to have each tab have it's own form? And if each tab has it's own form, does the user need to save their data before switching tabs? Would the submit button be on each form, on each tab, or outside the tabs entirely? You can do this however you

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Thomas R. Corbin
On Monday, 12 March 2007 04:37 pm, Jean-Baptiste Quenot escreveu: * Thomas R. Corbin: or do you need to have each tab have it's own form? And if each tab has it's own form, does the user need to save their data before switching tabs? Would the submit button be on each form, on each

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Igor Vaynberg
if elements are not visible they are not validated so what you have to do is not allow the user to switch between tabs unless everything on that tab has validated. you can do this by overriding the linkfactory on the tabbed panel, using a submitlink, and only calling setactivetab on the panel if

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Thomas R. Corbin
On Tuesday, 13 March 2007 07:54 am, Al Maw escreveu: Thomas R. Corbin wrote: or do you need to have each tab have it's own form? And if each tab has it's own form, does the user need to save their data before switching tabs? Would the submit button be on each form, on each tab, or

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Jean-Baptiste Quenot
* Igor Vaynberg: a better option for these situations imho is to not to use a serverside tabpanel, but a clientside one. that way your entire form is written out and the submit button submits the entire thing. a js lib like this makes it trivial:

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-12 Thread Jean-Baptiste Quenot
* Thomas R. Corbin: or do you need to have each tab have it's own form? And if each tab has it's own form, does the user need to save their data before switching tabs? Would the submit button be on each form, on each tab, or outside the tabs entirely? If all the tab's contents are

[Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-08 Thread Thomas R. Corbin
or do you need to have each tab have it's own form? And if each tab has it's own form, does the user need to save their data before switching tabs? Would the submit button be on each form, on each tab, or outside the tabs entirely? Thanks.