3 Replies Latest reply on Sep 15, 2011 1:43 PM by Slawa B

    iteration on s:link null value on action method

    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 is 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