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.

Reply via email to