[richfaces-issues] [JBoss JIRA] Created: (RF-11306) [rich:tabPanel] allow usage of form-elements inside tabs

Rene O (JIRA) jira-events at lists.jboss.org
Mon Aug 15 09:30:02 EDT 2011


[rich:tabPanel] allow usage of form-elements inside tabs
--------------------------------------------------------

                 Key: RF-11306
                 URL: https://issues.jboss.org/browse/RF-11306
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 4.0.0.Final
            Reporter: Rene O


Currently you must surround <rich:tabPanel> with <h:form>-element if you use switchType="ajax" or switchType="server".

It should be possible, like in Richfaces 3, that a form-element outside of rich:tabPanel is not needed.
A common usecase is the usage of an include-fragment which contains a form.

<rich:tabPanel switchType="ajax">
   <rich:tab>
      <h:form if="form1">
      ...
      </h:form>
   </rich:tab>
   <rich:tab>
      <ui:include .../>
   </rich:tab>
</rich:tabPanel>

definition of include:
<ui:composition >
...
<h:form if="formOfInclude">
...
</h:form>
</ui:composition >

Currently it is not possible to design the pages in such way cause of nesting form-elements

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list