0 Replies Latest reply on May 31, 2010 8:54 AM by odelya yomtov

    Richfaces3.3.3 + JSF2 and creating custom components

    odelya yomtov Novice

      Hi!

       

      I am trying to create my own custom component in JSF2 with naming convention.

       

      I created my directory under resources with the name components and table.xhtml and i added:

       

      xmlns:components="http://java.sun.com/jsf/composite/components

      When I use components:column i get an error that it cannot find column on components.
      is it a result of adding:
      
      <context-param>
      <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
      <param-value>com.sun.facelets.FaceletViewHandler</param-value>
      </context-param>
      <context-param>
      <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
      <param-value>true</param-value>
      </context-param>
      

      to my web.xml?

       

      Has it got to do with the lack of JSF2 functionality in RichFaces and by using Facelet 1.2?

       

      How can I create my own components if I want to use RichFaces3,3,3?