Jonathan Smith ha scritto:
ok when i do this
<tiles:insert definition="debug2"flush="true"></tiles:insert>
with this as the definition
<tiles-definitions>
<definition name="debug2" path="debug2.jsp">
<put name="header" type="template"
value="/debug/debug-header.jsp" />
</definition>
<definition name="header" value="/debug/debug-header.jsp" />
</tiles-definitions>
I get this
javax.servlet.ServletException: /debug2.jsp(4,0) Attribute definition
invalid for tag insert according to TLD
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:267)
what am i doing wrong?
It's not your fault :-) Notice that Tiles 2 is under heavy development.
For example you have a snapshot where <tiles:insert> tag is still there,
while in the SVN repository, that tag is not there anymore, because it
is splitted in three.
http://struts.apache.org/struts-sandbox/tiles/faq.html#insert
Ciao
Antonio