Ok, you just made me realize my dumb mistake. Thanks for the help!
~ Keith
-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 8:42 PM
To: Struts Users Mailing List
Subject: Re: logic:iterate id?
Seems that you're trying to write out
When you use the logic:iterate tag, do you have to define the id that
stores the result of the iteration before the tag?
My code is:
logic:present name=entries property=mcEntries
logic:iterate id=mc name=entries property=mcEntries
type=com.moog.us.eos.beans.MCentry
bean:write name
Seems that you're trying to write out a property instead of the bean.
Try this...
logic:iterate id=mc name=entries property=mcEntries
type=com.moog,us.eos.beans.MCEntry
bean:write name=mc property=oldDept /
bean:write name=mc property=oldMatch /
bean:write name=mc property=newDept
the code in question:
logic:iterate id=results
name=nameSearchResults
scope=session
type=dhs.vcm.vis.form.NameSearchResultsForm
indexId=myIndex
pg:item
dhshtml:row oddColor=#ff evenColor=#ff
tdnbsp;/td
td
html:link page='%=/do/NameSearch
4 matches
Mail list logo