Ray,

What architectural problems prevent you from either using a TilesAction,
instead of a regular action, or a tiles controller to look those things up
and set them for you so the page doesn't need to be 'that smart?'

Regards,
David

-----Original Message-----
From: Ray Madigan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 5:01 PM
To: Struts Users Mailing List
Subject: [Tiles]


I have beat this situation to death without coming up with an answer.

I want to create a tile layout that includes a composed tile in the layout
definition.

Any suggestions would be appreciated

It needs to look like

  <table border="0" width="100%" cellspacing="5">
  <tr><td colspan="2">
          <tiles:insert attribute="header" />
      </td>
  </tr>

  <tr><td width="140" valign="top">
**        <tiles:insert page='/src/${Foo.answer}/nav.jsp'/>

OR        <c:set var='navi' value='/src/${Foo.answer}/nav.jsp'/>
**        <!-- <c:out value='${navi}'/> outputs the correct page -->
**        <tiles:insert attribute='navi'/>
**        <!-- navi is in the wrong scope? ->
      </td>
      <td valign="top"  align="left">
          <tiles:insert attribute='body' />
      </td>
  </tr>

  <tr><td colspan="2">
          <tiles:insert attribute="footer" />
      </td>
  </tr>

  </table>


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


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

Reply via email to