Thanks Robert.
Your suggestion was helpful.
Another key is to use varStatus='status' and the corresponding ${status.index} to
reference the
objects in the form array:
<!--SAVED SEARCHES-->
<c:when test='${not empty
sessionScope.savedSearchesUpdateForm.savedSearchBriefs}'>
<c:forEach items = '${sessionScope.savedSearchesUpdateForm.savedSearchBriefs}'
var='savedSearchBrief' varStatus='status'>
<tr>
<td colspan="2"></td>
<td colspan="8" align="right" class="sectionCell">
<span class="sectionLabel">
<fmt:message key="savedSearchesUpdate.delete"/>
</span>
<html-el:checkbox
property="savedSearchBriefs[${status.index}].deleteFlag"/>
</td>
<td colspan="26" class="sectionCell">
<span class="sectionLabel">
<fmt:message key="savedSearchesUpdate.rename"/>
</span>
<html-el:text property="savedSearchBriefs[${status.index}].searchTitle"
size="40"/>
</td>
</tr>
</c:forEach>
</c:when>
--- Robert Taylor <[EMAIL PROTECTED]> wrote:
> Mike, you will have to expose the form like:
>
> <c:set var="form" value="${myForm}"/>
>
> ...where "myForm" is its name defined in the struts-config file.
>
> If its DynaXXXXForm then you have to expose the form map:
>
> <c:set var="form" value="${myForm.map}"/>
>
> Once you do this, you can use JSTL to access and render values:
>
> <c:out value="${form.someProperty}"/>
>
> or
>
> <c:out value="${form.some.nestedProperty}"/>
>
>
> robert
>
> > -----Original Message-----
> > From: Mike Duffy [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 25, 2004 4:46 PM
> > To: Struts Users Mailing List
> > Subject: Using JSTL Instead of Nested Tags
> >
> >
> > I'm trying to convert an application from Struts display tags to JSTL (still using
> > Struts as
> the
> > MVC).
> >
> > I am having some difficulty converting nested tags to JSTL.
> >
> > Can anyone offer any guidance?
> >
> > Thanks.
> >
> > Mike
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Finance Tax Center - File online. File on time.
> > http://taxes.yahoo.com/filing.html
> >
> > ---------------------------------------------------------------------
> > 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!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]