Guest User

Untitled

a guest
Jun 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. public class Abean {
  2. private Bbean b;
  3. }
  4.  
  5. public class Bbean {
  6. private ArrayList<Cbean> c;
  7. }
  8.  
  9. public class Cbean {
  10. private ArrayList<Dbean> d;
  11. }
  12.  
  13. public class Dbean {
  14. ....
  15. }
  16.  
  17. <table>
  18. <ui:repeat value="#{myCBEan.d}" var="myDBean">
  19. <tr>
  20. <td><h:outputText value="#{myDBean.someText}"/></td>
  21. </tr>
  22. </ui:repeat>
  23. </table>
  24.  
  25. <c:forEach items="#{myCBean.d}" var="myDBean">
  26. <h:form>
  27. <!-- example form content -->
  28. <h:outputText value="#{myDBean.someText}"/>
  29. <h:inputText value="#{myDBean.exampleInput}"/>
  30. <h:commandButton value="#{myDBean.anAction}"/>
  31. </h:form>
  32. </c:forEach>
Add Comment
Please, Sign In to add comment