Hi,

I have a setter in the JSP such as

<nested:iterate property="abcdList" indexId="id" >
<jsp:setProperty property="displayIndex" name="abcdForm" value="<%=id%>"/>

In javascript:
var p = document.forms['abcdForm'].displayIndex;

Note:The setter for displayIndex is int type.

The value that I get in javascript is always "0" and not the actual index say "9" if abcdList size is "9"

What could be wrong here.

Thanks
Ash