4 Replies Latest reply on Mar 31, 2009 9:19 AM by julien colin

    Iteration and action on link

    julien colin Newbie

      Hello guy,

      I'll try to iterate on a list to construct dynamic menu.
      i'll try with rich:datalist, c:foreach , ... and it's the same problem on the s:link action method the value is null.


      <a4j:repeat var="menu" value="#{menus_list.initMenu()}">
      <s:link action="#{menus_list.setSelected(menu)}"

      So in setSelected(menu) we always have menu = null.

      How get the menu selected in my bean ? what should i use?

      Just for information with an h:commandLink we get the good value of menu but it's not a real link