It’s Friday. It’s my only excuse.

 

Solved by…

 

<tiles:insert page="/test.jsp" flush="false"/>

 

(don’t know how I missed that – blonde moment.)

 

sorry

jeff

 

-----Original Message-----
From: Jeffrey Porter [mailto:[EMAIL PROTECTED]
Sent: 04 November 2005 16:20
To: MyFaces Discussion
Subject: 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

Reply via email to