I agree that tabbedPane needs a version without form-based tabs or should be
rewritten without them. I can't make use of that component the way it. I
can't think of a use case either.


----- Original Message ----- 
From: "Alexander 'Alfe' Fetke" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Friday, April 15, 2005 7:27 AM
Subject: Re: Problem with panelTabbedPane


> Hi, Ian ...
>
> On Fri, 15 Apr 2005, Ian Williams wrote:
>
> > I'm having a lot of trouble with a selectManyCheckBox within a
> > panelTabbedPane. All the data in the tabs applies to the same bean so I
> > want to apply all the changes or none of them, so I just want a single
> > form with a single submit button.
> [...]
> >     <h:form id="edit.form">
> >         <x:messages id="messageList" showSummary="true"
showDetail="true" summaryFormat="{0}:" styleClass="error" />
> >         <x:panelTabbedPane title="#{msg['account.edit.tabs.title']}" >
>
> The problem with tabbed panes is that they themselves already are rendered
> into a form (talking about HTML of course).  Forms in forms aren't valid
> in HTML, so your surrounding <h:form> is raising a problem.
>
> Why tabbed panes are always rendered into a form I don't know.  It does
> not seem necessary to me.  The only functionality they provide in matters
> of interaction are the buttons in the tabs above the panes; they also
> could be implemented as simple links, I think.  At least a version of the
> tabbed panes which don't use forms could be available, but I might be
> missing some point :-}
>
> Alfe
>
> Alexander Fetke
> PrismTech (Germany) GmbH
> Schoenhauser Allee 6-7, D-10119 Berlin, Germany
> Phone: +49-30-440306-34
> Fax:   +49-30-440306-78
> [EMAIL PROTECTED]
> www.xtradyne.com | www.prismtech.com
>
> * XTRADYNE Security Infrastructure - a PRISMTECH Product Line *

Reply via email to