0 Replies Latest reply on May 30, 2008 3:03 AM by Rafael Jimenez

    Insert f:setPropertyActionListener objetc into richfaces:pan

    Rafael Jimenez Newbie

      I want to add a f:setPropertyActionListener component into a rich:panelMenuItem by java code

      I can make it into JSP code but I don't know how to make it with java, the JSP code is:

      <rich:panelMenuItem action="#{Bean.action}" mode="server">
      <f:setPropertyActionListener target="#{bean.data}" value="#{bean2.value}">

      I think that Java code must be something similar to:
      HtmlPanelMemnu item = new HtmlPanelMenuItem();
      SetPropertyActionListener li = new SetPropertyActionListener ();

      This code not compile because SetPropertyActionListener isn't a UIComponent.

      Someone can helpme?