[richfaces-issues] [JBoss JIRA] (RF-12029) AbstractTogglePanel should extend UIRepeat, instead of UIOutput

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Thu Mar 15 11:39:47 EDT 2012


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

Lukáš Fryč commented on RF-12029:
---------------------------------

There is feature request for very similar concept: RF-9443

from forum reference:
{quote}
{code}
<h:form>
    <rich:accordion>
        <ui:repeat value="#{navigationBean.navigationCategories.entrySet}" var="category">
            <rich:accordionItem header="#{category.key}">
                #{category.value}
            </rich:accordionItem>
        </ui:repeat>
    </rich:accordion>
</h:form>
{code}
{quote}

The proposed API seems better, since it
* allows to combine static and dynamic tabs
* separates the iteration and switchable panel logic
                
> AbstractTogglePanel should extend UIRepeat, instead of UIOutput
> ---------------------------------------------------------------
>
>                 Key: RF-12029
>                 URL: https://issues.jboss.org/browse/RF-12029
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>            Reporter: Brian Leathem
>            Assignee: Bernard Labno
>
> Valid uses exist for dynamically generating rich:tab, rich:togglePanelItem, rich:accordionItem.  Current techniques for supporting this use case involve using c:forEach, which is a problem since c: tags are processed too early to nicely support dynamic use cases.
> One idea to support this use case, is to have AbstractTogglePanel extend UIRepeat, instead of UIOutput to better dynamic child components.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list