yes, those links. by default they are regular a href links, so they wont submit the values of components that are inside the tab. you can override tabbedpanel.newlink and return a submitlink instead.
-igor On Mon, Apr 14, 2008 at 3:28 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > You mean the links that select/toggle each panel? Not sure what you mean > though - can you please elaborate? > > Michael > > > > -----Original Message----- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Monday, April 14, 2008 1:37 PM > To: users@wicket.apache.org > Subject: Re: Good example for FormComponentPanel? > > if you replace tabbedpanel links to submitlink it will > > -igor > > > On Mon, Apr 14, 2008 at 12:51 PM, Michael Mehrle > <[EMAIL PROTECTED]> wrote: > > So, a form CAN contain a panel? Meaning, I am able to add a > tabbedpanel > > to a form and it'll work? > > > > Michael > > > > > > > > -----Original Message----- > > From: Nick Heudecker [mailto:[EMAIL PROTECTED] > > Sent: Monday, April 14, 2008 10:29 AM > > To: users@wicket.apache.org > > Subject: Re: Good example for FormComponentPanel? > > > > A FormComponentPanel is used to combine several individual form > > components > > into a single object, like if you had year/month/day DropDownChoices > in > > a > > single component. > > > > AFAIK, forms can contain anything except pages. > > > > > > On Mon, Apr 14, 2008 at 12:26 PM, Michael Mehrle > > <[EMAIL PROTECTED]> > > wrote: > > > > > I am pretty sure that a tabbed panel can't be part of one form. If > it > > can, > > > that would be lovely. But I was under the impression that you can't > > add > > > panels to a form. > > > > > > Could someone clarify this for me? BTW, one of the things I tried > was > > to > > > make each panel into a FormComponentPanel and then add it to the > > tabbed > > > panel. Well, turns out that FormComponentPanel is NOT a *panel* > after > > all > > > (bad naming IMHO). > > > > > > At this point I'm thinking of simply building it as a straight form > > and > > > then turn some of it into tabs via divs and CSS. > > > > > > Again, if there's a way to use a tabbed panel inside a form, please > > let me > > > know. > > > > > > Michael > > > > > > -----Original Message----- > > > From: Vitaly Tsaplin [mailto:[EMAIL PROTECTED] > > > Sent: Friday, April 11, 2008 5:23 PM > > > To: users@wicket.apache.org > > > Subject: Re: Good example for FormComponentPanel? > > > > > > > > > package org.apache.wicket.extensions.markup.html.tabs; > > > > > > public class TabbedPanel extends Panel <--- it extends the panel > > > { ... } > > > > > > Am I wrong? :) > > > > > > On Sat, Apr 12, 2008 at 2:11 AM, Michael Mehrle > > <[EMAIL PROTECTED]> > > > wrote: > > > > Yes, I agree, Vitaly - but unfortunately the design decision is > out > > of > > > my hand. It's got to have tabs. Of course it is possible to do the > > tabbing > > > by CSS styling, but I wanted to see if FormComponentPanel is a way > to > > go > > > since the complexity of managing the tabbed panel would then be > > shifted to > > > the CSS/JS side. > > > > > > > > I just looked at the Multiply example and it seems to make > sense. > > > Again, if anyone wants to share any tips/input regarding this (or > how > > to > > > avoid traps), please don't be shy ;-) > > > > > > > > Michael > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Vitaly Tsaplin [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, April 11, 2008 4:52 PM > > > > To: users@wicket.apache.org > > > > Subject: Re: Good example for FormComponentPanel? > > > > > > > > > > > > It seems that a simple panel would be the best approach. > > > > > > > > On Sat, Apr 12, 2008 at 1:37 AM, Michael Mehrle > > <[EMAIL PROTECTED]> > > > wrote: > > > > > I need to build a TabbedPanel with three tabs which are part > of > > one > > > form > > > > > - the selected tab will contain form components which need to > be > > > > > submitted by that one form. It seems FormComponentPanel is > the > > way > > > to > > > > > go: are there any good examples of this? > > > > > > > > > > > > > > > > > > > > Also, would this be the recommended approach? > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > Michael > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Nick Heudecker > > Professional Wicket Training & Consulting > > http://www.systemmobile.com > > > > Eventful - Intelligent Event Management > > http://www.eventfulhq.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]