[
https://issues.jboss.org/browse/RF-12029?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč edited comment on RF-12029 at 3/15/12 11:39 AM:
-----------------------------------------------------------
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
(we can discuss the other approach in RF-9443)
was (Author: lfryc):
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