i am having a set of check boxes in my
jsp. all those r represented by one
string array property ( "hqcs" is of String array type )of my action form.
and part my jsp is:
-------------------
<logic:iterate id="row" name="paForm" property="hqcs" indexId="ctr">
<%
int i=ctr.intValue();
String str =Integer.toString(i);
%>
<tr>
<td nowrap>
<html:multibox styleClass="selbox" name="paForm" property="hqccheck" value='<%=str%>'
</logic:iterate>
part MY ACTION class code is:
------------------------
hqcchk = paForm.getHqccheck();
if(hqcchk !=null ){
for (int i = 0; i < hqcchk.length; i++) {
System.out.println("hqcchk[i] :"+hqcchk[i]);
if(hqcchk[i]!="")
selhqc.add(hqc.get(Integer.parseInt(hqcchk[i])));
}
}//if
----------------------
upto now i hav no problem with this code. it is working fine.
But now those check boxes should be in disabled mode. for that i hav put disabled="true" in <html:multibox > tag. Then in action class i m getting null with
hqcchk = paForm.getHqccheck();
this statement.
wat is the problem if i put disabled=true;
How to get disabled checkbox values in action class.
anyone can help me in this regard.
thank you a lot.