Good observation Sven - but no, I didn't forget.
HTML is my default namespace, I just forgot to copy the t:tree2 Toma
prefix in the question.
Sorry about that.
(Eclipse would have complained if that were the error!)
-Wolf


On Jan 21, 2008 3:57 PM, Rottstock, Sven <[EMAIL PROTECTED]> wrote:
> Have you defined Tomahawk as your default namespace in your navigation menu? 
> Or why is the namespace prefix missing for tree2?
>
> Cheers
>
> Sven
>
> -----Ursprüngliche Nachricht-----
> Von: Wolf Benz [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 21. Januar 2008 14:30
> An: MyFaces Discussion
> Betreff: Trinidad + Facelets + Tomahawk Tree2
>
>
> Hi List,
>
> I use this combination: MF 1.2.1 SNAPSHOT - Trinidad 1.2.5 + latest Tomahawk 
> + Facelets.
>
> For my page templating, I do as explained here:
> http://wiki.apache.org/myfaces/StreamingAddResource,
>
> <html xmlns.... // all the namespace declarations
>
> <f:view>
> <t:document>
> <t:documentHead>
> <title>the title</title>
> </t:docmentHead>
> <t:documentBody>
> // my body where all the ui:inserts happen, e.g. my "navigation" menu 
> </t:documentBody> </t:document> </f:view>
>
> </html>
>
> The "navigation" itself is very simple:
> it's setup is:
>
> <html // aml the xmlns'es
>     <!-- No f:view etc: all covered in the facelets template-->
>
> <ui:composition>
>   <tr:panelGroup>
>       <tree2>
>        <f:facet: name="root">
>          ...
>       </f:facet>
>       </tree2>
>   </tr:panelGroup>
> <ui:composition>
>
> The problem is: only   </tr:panelGroup> is rendered: of the tree2,
> nothing is rendered.
> ( & I didn't forget to declare the facelets view handler in the web.xml and 
> the trinidad core as default renderkit id in the
> faces-config)
>
> It has certainly to do with either the combination of Toma + Facelets
> + Trini, OR the adding of the t:document etc, as before(html tags for
> html-head and body) all worked fine.
>
> --> Anyone an idea of smth I could try to make it work?
>
> -Wolf
>

Reply via email to