You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2004/09/02 20:04:23 UTC

Tiles in Rows and Columns

I saw your reply on the struts-user@jakarta.apache.org
forum.  I have three rows.  The second rows has two
columns.

I am still very confused.  My code displays every
single piece of all tiles I have; but, my code does
not display columns in the second row.  Here is the
Frame.jsp which defines rows and columns:

<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<html:html>
<HEAD>
<html:base/>

<TITLE><bean:message key="app.title"/></TITLE>
</HEAD>
<BODY>
<TABLE>
   <TR>
      <tiles:get name="upperbar"/>
   </TR>
   <TR>
      <TD>
         <tiles:get name="sidepane"/>
      </TD>
      <TD>
         <tiles:get name="content"/>
      </TD>
   </TR>
   <TR>
      <tiles:get name="lowerbar"/>
   </TR>
</TABLE>
</BODY>
</html:html>

and my tiles-def.xml looks like:

<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles
Configuration//EN"
      
"http://jakarta.apache.org/struts/dtds/tiles-config.dtd">

<tiles-definitions>
    <definition name=".frame.Base"
path="/frame/common/layouts/Frame.jsp">
      <put name="upperbar" 
value="/frame/common/upperbar.jsp"/>
      <put name="sidepane" 
value="/frame/common/sidepane.jsp"/>
      <put name="content"   value="${content}"/>
      <put name="lowerbar" 
value="/frame/common/lowerbar.jsp"/>
    </definition>
    <definition name=".frame.Home"
extends=".frame.Base">
      <put name="content"  
value="/frame/content/home.jsp"/>
    </definition>
</tiles-definitions>


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org