Irv Salisbury ha scritto:
First, is this the appropriate list for tiles questions? If not,
sorry, and
can someone tell me a better one...
Yes it is! But just a note: next time put a "[tiles]" prefix in your
subject field.
I have the following two defintions in my tiles-def.xml file:
<definition name=".tiles.basePage" path="/pages/tiles/basePage.jsp">
<put name="additionalHead" value="/pages/tiles/empty.jsp" />
<put name="body" value="/pages/tiles/empty.jsp" />
<put name="footer" value="/pages/tiles/footer.jsp" />
<put name="pageName" value="This will be your page name"/>
</definition>
<definition name=".tiles.index" extends=".tiles.basePage">
<put name="pageName" value="index"/>
<put name="additionalHead" value="/pages/indexHead.jsp" />
<put name="body" value="/pages/indexBody.jsp"/>
</definition>
In the first definition, I have a footer attribute I am using. However,
inside the /pages/indexBody.jsp of the second definition (which
extends the
first) I want to do a <tiles:insert attribute="footer"/> It is
complaining
that it can't find it.
First of all you can <put> attributes only in the first level. See this
thread:
http://www.mail-archive.com/user%40struts.apache.org/msg51618.html
Anyway, why don't you put <tiles:insert attribute="footer" /> in your
basePage.jsp?
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]