I switched my code to the following jstl tags as suggested. The first part
works with no problem, but I get no output from the tile attempt except for
the layout being applied with the word "testing". Do I need to use
<tile:importAttribute/> or some other tag to make the quote bean accessible
from the tile?
<c:forEach var="quote" items="${quoteForm.quoteValues}">
<!-- no tile used -->
<table>
<tr>
<td>
<c:out value="${quote.offerPriceLightValue.sizeValue.size}"/>
</td>
</tr>
</table>
<!-- tile attempt -->
<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>
And have quote.jsp as follows:
<table>
<tr>
<td> testing
<c:out value="${quote.offerPriceLightValue.sizeValue.size}"/>
</td>
</tr>
</table>
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 3:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Tiles scope headache assistance needed.
From: "Jason Long" <[EMAIL PROTECTED]>
> Where are all the Tiles gurus? I asked this question in less detail about
a
> month ago and I still have not made any progress in this matter. Please
see
> original message below.
You would probably get more help if you were using JSTL's <c:forEach> and
<c:out> instead of <logic:iterate> and <bean:write>. The difference may be
irrelevant for this particular question, but I doubt I'm alone in skipping
right over most questions that use the 'classic' Struts tags without
expressions.
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]