> From: Raman Garg [mailto:[EMAIL PROTECTED] 
> Thanks for your reply... BUT
> it take the default value="on"  when I do the way as you were 
> telling me.
> I want to put the value="232" where 232 is the id value 
> corresponding to my record.

Can you post the iterate tag along that's outside the checkbox?  That
may help someone edit it to do what you're asking.  Call me lazy... I
won't write it for you but I'll fix it so it works. ;)

An example using JSTL and Struts-EL that may help:

<c:forEach items="${accountMap}" var="acct" >
     <html-el:checkbox property="accounts" value="${acct.key}"/> 
    <c:out value="${acct.key}"/>&nbsp;
    <br/>
</c:forEach>

If you're after the sequential numbers of the iteration, forEach has a
"varStatus" attribute that will expose the number.  The iterate tag
probably does, too.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management  

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

Reply via email to