Try flush="false". When Tiles was originally developed, you had to flush the
response buffer, but nowadays it is mostly illegal to do so.
Also, it's not necessary to have an empty body in the tiles:insert tag.
david
2006/11/7, Jonathan Smith <[EMAIL PROTECTED]>:
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?
_________________________________________________________________
Add a Yahoo! contact to Windows Live Messenger for a chance to win a free
trip!
http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline