You must surround the include with a f:subview. regards Thomas
On 2/1/06, Marko Huebler <[EMAIL PROTECTED]> wrote: > Hi, > > I have some problems using the t:panelnavigation tag: > > In the jsp below a file is included which contains a panelnavigation2 menu. > The strange thing is, that the "<t:outputText value="xyz" />" is rendered > BEFORE the menu. The file menu.jsp does not contain any html, body, view or > subview tags. Is there a reason for that? > If I nest the "<[EMAIL PROTECTED] file="menu.jsp" %>" in a subview tag, the > output > is rendered in the correct order - but - the panelnavigation2 menu looses > all the styles (only ordinary html links remain...). So, is it not possible > to have a panelnavigation2 menu in a subview? > Some hints would be nice... > > Thanks & regards, > Marko > > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> > <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> > > <html> > <[EMAIL PROTECTED] file="inc/head.inc"%> > <body> > <f:view> > <[EMAIL PROTECTED] file="menu.jsp" %> > <t:outputText value="xyz" /> > </f:view> > </body> > </html> > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

