You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jeffrey Porter <PO...@WMGMAIL.wmg.warwick.ac.uk> on 2005/11/04 17:20:09 UTC
myFaces & Tiles - Illegal to flush within a custom tag
Hello all again,
This may not be the right place to ask, but I will anyway.
I've got some pages that are JSF/MyFaces pages & I want to use some
Tiles insert statements.
When I do I get the error...
javax.servlet.ServletException: Can't insert page '/test.jsp' : Illegal
to flush within a custom tag
This works...
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<html>
<body>
<tiles:insert page="/test.jsp" flush="true"/>
<f:view>
... // cant place tiles: in here
</f:view>
</body>
</html>
This doesn't...
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<html>
<body>
<f:view>
<tiles:insert page="/test.jsp" flush="true"/>
</f:view>
</body>
</html>
Any idea people? Or tips on where to look for an answer.
Thanks
Jeff.
Tools...
struts-1.2.7
myfaces-1.1.1.zip
<http://www.mirrorservice.org/sites/ftp.apache.org/myfaces/binaries/myfa
ces-1.1.1.zip>