4 Replies Latest reply on Sep 30, 2008 4:58 AM by Daniel Soneira

    htmLib in Facelets

    Rosi Petri Newbie

      Hi

      Has anybody experiances with facelets and htmLib?

      By migrating my jsp's into xhtml files I have the problem, that htmLib tag are not converted into html on runtime. So I got htm:td and htm:table... tags in my html code.. that's strange because all other tags are working fine.

      I declared htmLib as usual in the top of my xhtml file:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <f:view xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:t="http://myfaces.apache.org/tomahawk"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:htm="http://jsftutorials.net/htmLib">
      
      <htm:table>
       <htm:tr>
       ...
       </htm:tr>
      </htm:table>
      
      </f:view>
      


      the result of this file in my browser is:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
      <htm:table>
       <htm:tr>
       ...
       </htm:tr>
      </htm:table>
      


      thanks for any advise.
      regards
      rosi