0 Replies Latest reply on Apr 9, 2007 10:25 AM by Michael De Gols

    Problem when repeating simpleTogglePanel from a list.

    Michael De Gols Newbie

      Hi everybody,

      I'm trying to dynamically repeat a set of simpleTogglePanels from a list of elements but i'm running into some problems. So, here is my code:

      <h:form>
      <a:repeat var="element" value="#{myList}" >
      <rich:simpleTogglePanel opened="false" height="100px" switchType="ajax" label="#{element.name}">content</rich:simpleTogglePanel>
      </a:repeat>
      </h:form>
      


      I tried with dataTable (standard jsf and richfaces) and facelets ui:repeat also.
      It's working when I use client switchType but this is not the comportement I'm looking for...
      Do I miss something ? Someone else has already had that kind of problem ?

      I'm using richfaces 3.0.0, myfaces 1.1.4 and facelets 1.1.11.

      Thanks for your answers.