3 Replies Latest reply on Dec 22, 2007 7:42 AM by ilya_shaikovsky

    Problem with a menuItem

    acunha

      I tryed to use a link in a menuItem but it didn't work.

      <rich:menuItem value="User">
      <h:outputLink value="/system/view/users/users.faces"/>
      </rich:menuItem>

      But if I use a javascript, it work.

      <rich:menuItem submitMode="none" value="User" onclick="document.location.href='/system/view/users/users.faces'"/>

      What is wrong in my first implementation? Is the second implementation the only way to use a hiperlink?