Hi friends,
I wish successes to everybody!
My question is such:
When i change the value of the following code (value=”0″) that is shown in the situation to checked
But when i click the submit button nothing is generated so how to get my page on checked state?
[U]JSP side:
<html-el:checkbox name=”scriptGeneratorForm”
property=”classPropertyList[${ctr}].selected”
styleId=”classPropertyList[${ctr}].selected” value=”1″
tabindex=”1″/>
[U]Program side:
List<ClassProperty> mainList = new ArrayList<ClassProperty>();
for (int i = 0; i < classPropertyList.size(); i++) {
ClassProperty classProperty = (ClassProperty) classPropertyList.get(i);
if (classProperty.getSelected() == 1) {
mainList.add(classProperty);
}
}
Thanks beforehand!