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

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

    jasonmei

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



      <rich:dropDownMenu value="Item1">
      ...
      </rich:dropDownMenu>



      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!