2 Replies Latest reply on Apr 23, 2009 3:49 PM by Jason Mei

    Richfaces component created through Java, how to put it into xhtml?

    Jason Mei Newbie

      Richfaces component is easy to use by write tags in the facelets pages. for example:

      <rich:dropDownMenu value="Item1">

      My question is how to put the richfaces component(created by Java code) into facelets pages? the java code like this :

      import org.richfaces.component.html.HtmlDropDownMenu;   
      HtmlDropDownMenu myDropDownMenu = new HtmlDropDownMenu();

      Thanks in advance!