1 Reply Latest reply on Dec 19, 2011 10:32 AM by Christian Peter

    None of the iterators work when rich:simpleTogglePanel is placed inside

    Vikas V Newbie

      Hi,

       

      Am using JSF1.2, RichFaces 3.3, Jboss AS 5.1.0, jsf-facelets-1.1.15.B1.jar, jsf-api-1.2_13.jar, jsf-impl-1.2_13.jar

       

      I want to have a list of simpleTogglePanels. For that I tried placing simpleTogglePanel inside all kinds of iterators.

       

      One example is below,

       

      <a4j:repeat var="myVar" value="#{myBean.value}">              // Outer iterator

                 

      <rich:simpleTogglePanel switchType="server" label="header" >   //Simple toggle panel

       

      <a4j:repeat var="secondVar" value="#{secondBean.list}" >        //inner iterator

       

      <h:commandLink immediate="true" style="text-decoration:none">

      <br></br>

      <h:outputText value="works"></h:outputText>

                             

      </h:commandLink>

                         

      <br></br>

                         

      </a4j:repeat>

       

      </rich:simpleTogglePanel>

                 

      </a4j:repeat>

       

       

       

      I tried with h:dataTable, rich:dataTable, ui:repeat. None of them iterated the simpleTogglePanel.

       

      How to get it working?

       

      Thanks & regards,