Hi,
I have a scenario where I need to set the value of a variable which is present in a ArrayList which is part of the
struts form, in javascript. So I have a class called FeaturesVO which has a boolean called
locked. Now on the struts form I have an ArrayList of FeatureVO objects. I am using logic:iterate to iterate through the list on the
JSP, checking the value of
locked and displaying the corresponding image for each FeatureVO. Now the image for each FeatureVO row needs to act as a toggle for its
locked value. So if I click on a image which corresponds to a FeatureVO which has its
locked value = false, then it should change the value of
locked to true. This I need to do without refreshing the page. Can someone please help me with this?
Regards,
Dino