You need to sign in to do that
Don't have an account?
Suresh Raghuram
pass the html input checkbox values to the controller from Vf Page
<apex: repeat value="{!WrapperList}" var="rec">
<input type="checkbox" id="chkbx"/>
</apex:repeat>
instead of the following code
<apex: repeat value="{!WrapperList}" var="rec">
<apex:inputCheckbox value={!rec.selected}" id="select"/>
</apex:repeat>
Here my question is how can I pass the checkbox values to the wrapper class list.
<input type="checkbox" id="chkbx"/>
</apex:repeat>
instead of the following code
<apex: repeat value="{!WrapperList}" var="rec">
<apex:inputCheckbox value={!rec.selected}" id="select"/>
</apex:repeat>
Here my question is how can I pass the checkbox values to the wrapper class list.
Hi Suree,
Can you elaborate a bit, on what do you mean by "instead of this code", do you mean you are using the code with inputCheckBox and it is not passing values to the controller ? To be able to help you, It would be good if you can state your requirement, and let us know what exactly is not working.
To do mass update I added this checkbox to a wrapper class list type.
There after using this html input I am into hard time to access this back in the controller class.
with out using the html input, I made my apex table to accept the apex checkbox wrapping it with a output panel whose layout-"none"