> -----Original Message----- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 12:41 PM > To: Struts Users Mailing List > Subject: RE: Tiles in Rows and Columns > > > It does not work. There are three rows. The second row > has two columns. > > I am able to display the first row, "the column on my > right hand side in the second row", and the third row. > The column on my left hand side in the second row is > not shown.
Okay, what happens when you comment out the tiles stuf, and just put some test text in the table? If that works ( and I think it will), then you know it's not on the Frame.jsp page you have problems. One of the little tricks I use when developing tiles is to have at the top and bottom of each jsp page: <!-- Start /path/to/page.jsp --> blah <!-- End /path/to/page.jsp --> That way I can at least tell if the page is being included. This helps mostly when you're looking at what is being generated in the browser. Everything looks like it should be working.. so I'm wondering what is exactly is ending up on the page when you view source. > > Here is the Frame.jsp which defines the layout: > code: > ________________________________________ > > <%@ taglib uri="/tags/struts-tiles" prefix="tiles" %> > <html:html> > <HEAD> > <html:base/> > > <TITLE><bean:message key="app.title"/></TITLE> > </HEAD> > <BODY> > <TABLE> > <TR> > <TD COLSPAN="2" ALIGN=center> > <tiles:get name="upperbar"/> > </TD> > </TR> > <TR> > <TD> > <tiles:get name="links"/> > </TD> > <TD> > <tiles:get name="content"/> > </TD> > </TR> > <TR> > <TD COLSPAN="2" ALIGN=center> > <tiles:get name="lowerbar"/> > </TD> </tr> > </TABLE> > </BODY> > </html:html> > ________________________________________ > > > My tiles-def.xml looks like: > code: > ________________________________________ > > <!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="links" > value="/frame/common/links.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> > ________________________________________ > > > The links.jsp (the one that is now shown) looks like: > code: > ________________________________________ > > <B>WELCOME TO HSIN-CI</B> > <BR> > <BR> > <BR> > <BR> > <TABLE> > <TR> > <TD aligh=left> > <B>Member Tools</B> > </TD> > </TR> > </TABLE> > <BR> > <TABLE> > <TR> > <TD><BR></TD> > <TD align=left> > Update My Account > </TD> > </TR> > <TR> > <TD><BR></TD> > <TD align=left> > Required Information > </TD> > </TR> > <TR> > <TD><BR></TD> > <TD aligh=left> > Additional Information > </TD> > </TR> > <TR> > <TD><BR></TD> > <TD align=left> > Asset Information > </TD> > </TR> > </TABLE> > ________________________________________ > > > And the home.jsp looks like: > code: > ________________________________________ > > <%@ taglib uri="/tags/struts-html" prefix="html" %> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %> > <%@ taglib uri="/tags/struts-logic" prefix="logic" %> > <%@ taglib uri="/tags/request" prefix="req" %> > > <TR> > <TD ALIGN=center> > <H2>HSIN-CI ALL MEMBERS PAGE</H2> > </TD> > </TR> > > <TR> > <TD class="input"> > <html:link forward="logon">Sign in</html:link> > </TD> > </TR> > > <TR> > <TD class="input"> > <html:link forward="logon">Register</html:link> > </TD> > </TR> > ________________________________________ > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > -----Original Message----- > > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, September 02, 2004 11:50 AM > > > To: Struts Users Mailing List > > > Subject: RE: Tiles in Rows and Columns > > > > > > > > > What is your suggestion? > > > > Sorry, at first glance, it looks like you're missing > > some very necessary <td></td> tags, so I added > > those. See the text, what I added will be in > > lowercase. > > > > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Caroline Jen > > [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, September 02, 2004 11:04 AM > > > > > To: [EMAIL PROTECTED] > > > > > Subject: Tiles in Rows and Columns > > > > > > > > > > > > > > > I saw your reply on the > > > > [EMAIL PROTECTED] > > > > > 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> > > > > <td colspan="2" align="center"> > > > > > <tiles:get name="upperbar"/> > > > > </td> > > > > > </TR> > > > > > <TR> > > > > > <TD> > > > > > <tiles:get name="sidepane"/> > > > > > </TD> > > > > > <TD> > > > > > <tiles:get name="content"/> > > > > > </TD> > > > > > </TR> > > > > > <TR> > > > > <td colspan="2" align="center"> > > > > > <tiles:get name="lowerbar"/> > > > > </td> > > > > > </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: > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > > http://mail.yahoo.com > > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > 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]