>
> <html
>   xmlns="http://www.w3.org/1999/xhtml";
>   xmlns:ui="http://java.sun.com/jsf/facelets";
>   xmlns:h="http://java.sun.com/jsf/html";
>   xmlns:f="http://java.sun.com/jsf/core";
>   xmlns:tr="http://myfaces.apache.org/trinidad";>
>
> <f:view>
>   <tr:document>
>        <tr:form>
>        </tr:form>

here is an problem:
>   <\tr:document>

=> </tr:document>

> </f:view>
> </html>

however, no need for extra <html>, as the tr:document generates that.

Please try this:

create a foo.xhtml file:

<tr:document title="Hello"
  xmlns="http://www.w3.org/1999/xhtml";
  xmlns:ui="http://java.sun.com/jsf/facelets";
  xmlns:h="http://java.sun.com/jsf/html";
  xmlns:f="http://java.sun.com/jsf/core";
  xmlns:tr="http://myfaces.apache.org/trinidad";>

       <tr:form>
       </tr:form>
</tr:document>

and launch it (accessing via browser)

-check web.xml and faces-config
(Please take a look at a working example and try to port over your stuff.)

-Matthias

>
> Could it be a version thing? I'm puzzled by the invalid tag at line 1
> error.  I see I am using JSF Facelets 1.1.11 (which I think is JSF 1.1) and
> MyFaces 1.2.2 and trinidad 1.2.11.  I wonder whether I should be using a
> later version of facelets, but I this is the one that came when I used a
> Netbeans Maven archetype for facelets and JSF.
>
> Thanks
> Shaun
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to