1 Reply Latest reply on Jun 13, 2011 10:32 AM by Ilya Shaikovsky

    h:link, h:button is not working in richfaces 3.3.3 & JSF 2.0

    Jithendra Babu Newbie



      I am using JSF2.0+Richfaces 3.3.3 in my project. I am getting run time issues while using the following tags.

      • h:button
      • h:link
      • f:metadata
      • f:viewParam


      It just fails during runtime saying it can't find X component.


      I do have jsf-api-2.0.2, jsf-impl-2.0.2, richfaces-api-3.3.3.final, richfaces-impl-jsf2-3.3.3.final, richfaces-ui-3.3.3.final, jsf-facelets-1.1.15, jstl-1.0 and obviously "xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" in every .xhtml file, am I missing something?

      This is the exact error I'm getting:

      <h:button> Tag Library supports namespace: http://java.sun.com/jsf/html, but no tag was defined for name: button


      I have done the facelets configuration in web.xml as below.











      There is no reference to JSF 1.2 anywhere in the project.


      Can someone let me know the issue ? Is it the problem with Richfaces 3.3.3 or is there any context param to be set in the web.xml to make this work?


      I have to do the bookmarking functionality in my project. Please help with your valuable suggestions.