File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes tiles - using a putlist to include multiple jsps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles - using a putlist to include multiple jsps" Watch "tiles - using a putlist to include multiple jsps" New topic
Author

tiles - using a putlist to include multiple jsps

jack zeil
Greenhorn

Joined: Dec 01, 2006
Posts: 1
I have code like this this is my tiles-defs.xml

<putList name="popups">
<add value="/jsp/popups/edit.jsp"/>
<add value="/jsp/popups/login.jsp"/>
<add value="/jsp/popups/rights.jsp"/>
<add value="/jsp/popups/skills.jsp"/>
</putList>

I would like to include the content of each of the jsps in the putlist on my page. How do I do that?

I cant name them and include them the normal way
<tiles:insert attribute="theName"/>
becaues the names and number of popups would change from page to page.

Thanks
Jack
 
wood burning stoves
 
subject: tiles - using a putlist to include multiple jsps