Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tiles - using a putlist to include multiple jsps  RSS feed

jack zeil
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!