Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tiles - using a putlist to include multiple jsps

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic