All -

I am in the process of cleaning up my code to eliminate warning messages, 
and I am stuck on this one. I am using a logic:iterate to display a bean and 
I get this message in conjunction with it:

JavaCompile: The local variable 'results' is never used.

Here is a snippet containing 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="#ccccff" evenColor="#ffffff">
<td>&nbsp;</td>
<td>
<html:link page='<%="/do/NameSearch/Details?selectedClient="+myIndex %>' >
<bean:write name="results" property="clientName"/>
</html:link>
</td>
<td><bean:write name="results" property="address"/></td>
<td><bean:write name="results" property="city"/></td>
<td><bean:write name="results" property="state"/></td>
<td><bean:write name="results" property="clientBirthdate"/></td>
<td><bean:write name="results" property="ssn"/></td>
</dhshtml:row>
</pg:item>
</logic:iterate>

If anyone knows why I am getting this message and can tell me how to get rid 
of it, I would be most appreciative.

I am using WebSphere Studio Application Developer 4.x with Struts 1.02.

Thanks in advance,

mark n.

_________________________________________________________________
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