quote.list.item is defiened as follows: <definition extends=".table.holder" name=".quote.list.item"> <put name="title" value="Test Box"/> <put name="content" value="/WEB-INF/jsp/tiles/actions/quote/list.item.jsp"/> </definition>
".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows <c:forEach var="quote" items="${quoteForm.quoteValues}"> "quoteForm" is in session scope. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -----Original Message----- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > <c:forEach var="quote" items="${quoteForm.quoteValues}"> > <!-- no tile used --> > <table> > <tr> > <td>${quote.offerPriceLightValue.sizeValue.size}</td> > </tr> > </table> > <!-- tile attempt to wrap with holder for delineation --> > <tiles:insert definition=".quote.list.item" flush="false"> > <tiles:put name="quote" beanName="quote"/> > </tiles:insert> > </c:forEach> > > I would like to define the following tile definition: > > <definition extends=".table.holder" name=".quote"> > <put name="content" value="/quote.jsp"/> > </definition> you must be leaving something out of your email, cos this tile is named .table.holder, but the jsp above is inserting a tile named ".quote.list.item". > And have quote.jsp as follows: > > <table> > <tr> > <td>${quote.offerPriceLightValue.sizeValue.size}</td> > </tr> > </table> you need to put the <tiles:importAttribute> in quote.jsp. that exposes the bean referenced by <tiles:put> in the calling jsp. --------------------------------------------------------------------- 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]