1 Reply Latest reply on Feb 14, 2011 6:54 PM by Nick Belaevski

    ClientBehavior

    Jesper Vrelits Newbie

      Hi!

       

      If I have this in facelet

       

      <rich:menuItem submitMode="none" label="RichFaces Home Page"

                          onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/'">

      </rich:menuItem>

       

      how will I add the onclick attribute as a ClientBehavior in clode?

       

      I just want to redo this in code but cannot figure out how the tag handler actually do this.