0 Replies Latest reply on Jan 29, 2009 6:22 PM by tashtego

    Using jsfc fails

    tashtego

      So once again a question about facelets. Because the facelets forum tells me "noone uses the forum, try the mailing list" ;)

      With changing my jsps to xhtml files using facelets / plain html i also wanted to include the jsfc tag addition.

      https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted


      3.1.2 ...

      Facelets provides you the ability to have one XML element in the page be converted to another at compile time by specifying the jsfc attribute.

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html">
      
      <body>
       <input type="text" jsfc="h:inputText" value="#{hello.world}" />
      </body>
      
      </html>



      In fact facelets works with jsf tags for me and with plain html. But as soon as I add this jsfc, it gets marked up in eclipse "Undefined attribute name jsfc" and the element doesnt show up anymore. Does this make sense? Do you all use this jsfc tag? How to get it valid inside my xhtml, or will i have to delete it?