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

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Sep 27 17:36:26 EDT 2011


    [ https://issues.jboss.org/browse/RF-11306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630890#comment-12630890 ] 

Ilya Shaikovsky commented on RF-11306:
--------------------------------------

>From the beginning before trying to add the code double-check that JSF 2 itself allows that (both myFaces and Mojara).

We not implemented that because for tabs switching there should be form around tabs iteself. So we tried to add the form dynamically but at the point when we tried JSF thrown a message that such form addition is not supported.

> [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) 
>          Components: component-panels-layout-themes
>    Affects Versions: 4.0.0.Final
>            Reporter: Rene O
>             Fix For: 4.2.0.Tracking
>
>
> 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