[richfaces-issues] [JBoss JIRA] Resolved: (RF-935) TogglePanel: breakes inside repeat

Andrey Izobov (JIRA) jira-events at lists.jboss.org
Tue Sep 25 04:38:41 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-935?page=all ]

Andrey Izobov resolved RF-935.
------------------------------

    Resolution: Won't Fix

Problem cannot be resolved completely because of ui:repeat behaviour. It is possible to use togglePanel inside repeat under  condition mapping togglePanel.value to bean. For example:
<ui:repeat value="#{salesReport.items}" var="item">
                   <rich:togglePanel
                     initialState="closed" 
                     switchType="server"
                     stateOrder="closed, opened" value="#{item.value}">
...
</ui:repeat>
TogglePanel with switchType="ajax" may be used inside a4j:repeat without mapping (rev. 3086)

> TogglePanel: breakes inside repeat
> ----------------------------------
>
>                 Key: RF-935
>                 URL: http://jira.jboss.com/jira/browse/RF-935
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Nick Belaevski
>         Assigned To: Andrey Izobov
>             Fix For: 3.1.1, 3.2.0
>
>
>             <ui:repeat
>               value="#{salesReport.items}" 
>               var="row">
>             
>                    <rich:togglePanel
>                      id="tgl"
>                      initialState="closed" 
>                      switchType="server"
>                      stateOrder="closed, opened">
>                      <f:facet name="closed">
>                         <rich:toggleControl>
>                           <h:outputText value="blah blah"/>
>                         </rich:toggleControl>
>                       </f:facet>
>                       <f:facet name="opened">
>                         <a4j:outputPanel id="multy_table">
>                           <rich:toggleControl>
>                             <h:outputText value="close"/>
>                           </rich:toggleControl>
>                           <h:outputText value="oops!!!"/>
>                         </a4j:outputPanel>
>                       </f:facet>
>                     </rich:togglePanel>
>             </ui:repeat>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list