All -

I am trying to get the index of the current row inside an iterate tag so 
that a link on that row properly identifies itself to the subsequent action 
class. However, all I get is a Class Not Found error pointing to the 
collection I am iterating.

Here is my code:

<logic:iterate id="results" name="nameSearchResults" scope="session"    
type="dhs.vcm.vis.form.NameSearchResultsForm">
<pg:item>
<dhshtml:row oddColor="#9999ff" evenColor="#ccccff">
<td>&nbsp;</td>
<td>
<html:link page='<%= "NameSearch/Details?selectedClient=" +   
nameSearchResults.getIndex() %>' >
<bean:write name="results" property="clientName"/>
</html:link>
</td>
<td><bean:write name="results" property="clientAddress"/></td>
<td><bean:write name="results" property="clientCity"/></td>
<td><bean:write name="results" property="clientState"/></td>
<td><bean:write name="results" property="clientBirthdate"/></td>
<td><bean:write name="results" property="clientSSN"/></td>
</dhshtml:row>
</pg:item>
</logic:iterate>

I have tried using both "nameSearchResults" and "results" followed by the 
getIndex() call.

What am I screwing up?

TIA,
/\/\ark

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to