myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: Can I put forms within the tabbedPane component?
Date Wed, 15 Aug 2007 16:59:42 GMT
You cannot nest HTML forms, so if tabbedPane generates a form around
itself, then you cannot put forms inside of it.

On 8/15/07, Fan Shao <rainy14f@yahoo.com> wrote:
>
> The tabbedPane generates a form around itself if I don't explicitly put a
> <h:form> outside it. So it's the same effect as putting a <h:form> outside
> it.
>
> I'll try the subForm, thanks a lot!
>
>
>
> Andrew Robinson-5 wrote:
> >
> > I think the panel tabbed pane requires a form outside of it.
> >
> > Try using the subform sandbox component.
> >
> > <h:form>
> > <s:subForm>
> >   <t:panelTabbedPane serverSideTabSwitch="true">
> >     <t:panelTab id="tab01" label="TabA">
> >        <s:subForm>
> >          Name:<t:inputText value="#{bean.name}"/>
> >          Address:<t:inputText value="#{bean.address}"/>
> >          <h:commandButton action="#{bean.save}"/>
> >        </s:subForm>
> >     </t:panelTab>
> >   </t:panelTabbedPane
> > </s:subForm>
> > </h:form>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Can-I-put-forms-within-the-tabbedPane-component--tf4274172.html#a12165634
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message