Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Tiles putList question

Rick Mangi

2006-12-22

Replies:

Hello list,

I am trying to use a putList in tiles to insert a list of pre-defined
tile definitions.

<definition name="spa.page" path="/tiles/spaPage.jsp">
<put name="body.content"
     value="/tiles/spaDetails/displayTile.jsp" />
   
   <putList name="header.content">
     <add value="details.metatags" type="definition"
/>
     <add value="details.headerScript"
type="definition" />
   </putList>
</definition>

<definition name="details.metatags"
   path="/tiles/spaDetails/display/metatags.jsp"
 
controllerClass="com.spafinder.cms.control.spaDetails.metatagsTileContro
ller" />
   
<definition name="details.headerScript"
path="/tiles/spaDetails/display/headerScript.jsp"/>


I've tried a number of ways to render the two tiles from the list on my
final page, but I am only able to get the string "details.metatags" and
"details.headerScript" not the actual tiles themselves. Is this
something that is supported?



Thank you for your help.

Rick Mangi





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.