Hi,

I would like to inject a object from a <ui:repeat> iterationinto a setter method of the bean for a nested second iteration.

The nested iteration depends on the previous object.


<ui:repeat value="${userinfo.userorganisations}" var="orga">
 <tr><td>organisation: </td><td>#{orga.name}</td></tr>
        
<!-- ???
 ${userinfo.organizationobject}=${orga}
-->

  <ui:repeat value="${userinfo.userorganisationroles}" var="role">
   <tr><td>organisation role:    </td><td>#{role}</td></tr>
  </ui:repeat>
</ui:repeat>



I read something about the setPropertyActionListener

<f:setPropertyActionListener value="#{beanx.a}" target="#{beanY.b}"/>
used in the <h:commandLink>.


This is nearly what I need but for the iteration construct without an action.


MTIA!

Regards,
Andreas

Reply via email to