Hello List,

Please take a look at the following example. I know I can't use a
tiles:insert tag within a tiles:put tag, but how can I keep all the tile
assignments within one file? I want to know what tiles are assigned to
column1 and column2 w/o having to open up body2Column.jsp.

This is a simple example, but it gets to be a pain with complicated
pages that have 3 and sometimes 4 layouts within them, and hundreds of
content tiles and different layouts. It's a big project.

Many Thx. - Eric

<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<tiles:insert page="/layouts/pageStacked.jsp" flush="true">  

  <tiles:put name="header"      value="/tiles/common/header.jsp" />     
  <tiles:put name="body"        value="/layouts/body2Column.jsp">

        <!-- <tiles:insert page="/layouts/body2Column.jsp" flush="true">
-->
          <tiles:put name="column1" value="/tiles/common/navRHS.jsp" />

          <tiles:put name="column2"
value="/tiles/index/mainShowcase.jsp" />
        <!-- </tiles:insert> -->

  </tiles:put>     
  <tiles:put name="footer" value="/tiles/common/footer.jsp" />     

</tiles:insert>


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

Reply via email to