3 Replies Latest reply on Jul 9, 2007 3:07 PM by sergeysmirnov

    var attribute of a4j:repeat not passed to children component

    stuartm1971

      I have a a4j:repeat tag which defines a 'var' attribute object. This variable is passed to child objects after it's rendered except if they contain a binding attribute in which case they're rendered before the parent and assumed to be null.

      e.g.
      <a4j:repeat var="name" value="bean.name">

      <%--works--%>
      <h:outputText value="#{name.value1}" />

      <%--doesn't work because of presence of binding--%>
      <h:outputText value="name.value2" binding="#{name.binding2}" />
      </a4j:repeat>

      Any suggestions?