|
Hi, I’ve downloaded the
below tiles demo posted by Matthias-Wessendorf
in this thread : http://forum.java.sun.com/thread.jspa?threadID=565558&start=0&tstart=0
. http://www.apache.org/~matzew/myfacesTilesSample.war I tried it with MyFaces 1.07b and ran into an issue with
defining tiles in the jsp directly without declaring a definition in the
tiles.xml. Here is the root tile from which all the other demo tiles
extend, tiles.jsp: <%@ taglib
prefix="t" uri="/WEB-INF/struts-tiles.tld" %> <t:definition
id="layout.standard" page="/template.jsp"
scope="request"> <t:put name="header"
value="/header.jsp" /> <t:put name="menu"
value="/menu.jsp" /> <t:put name="footer"
value="/footer.jsp" /> </t:definition> I received the ‘Cannot find tiles definition for…”
error. To get the demo to work, I had to define everything in
tiles.xml. Is it expected to only use tiles declared in tiles.xml with
myFaces? Lorinda |
- RE: defining tiles in .jsp's and not in tiles.xml Lorinda Swick
- RE: defining tiles in .jsp's and not in tiles.xml Matthias Wessendorf

