I know there have been a few Tiles related question recently, but
having read them I still can't figure out how to solve my problem.

At current I'm using:
 <tiles:insert component="/WEB-INF/pgs/msgs.jsp"/>
... within a few of my JSPs.  The position of this component within
the document changes for each JSP file so I can not create a new
layout file for it.

This is my current tiles-def file:
 <definition name=".pub.welcome" path="/WEB-INF/layout.jsp">
   <put name="header" value="/WEB-INF/pgs/header.jsp"/>
   <put name="content" value="/WEB-INF/pgs/welcome.jsp"/>
 </definition>

I'd like to be able to add an extra line to the above base definition
(.pub.welcome) along the lines of:
 <put name="msgs" value="/WEB-INF/pgs/msgs.jsp"/>
... and then be able to insert that page within a number of my
(content) JSP files.

I've tried using <tiles:insert attribute="msgs"/> but it doesn't work. :-(

Can anyone suggest a method that might work?

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to