How to find out which checkboxes have been selected on the next page in VisualForce?
I have a data table which iterates through a custom object and generates checkboxes. On the second page, I want to determine which of these checkboxes have been selected. In the VisualForce page: Age <apex:inputText value="{!age}" id="age" /> <apex:dataTable value="{!Areas}" var="a"> <apex:column > <apex:inputCheckbox value="{!a.name}" /> <apex:outputText value="{!a.name}" /> </apex:column> </apex:dataTable> In the Controller: public String age {get; set; } public List<Area_Of_Interest__c> getAreas() { areas = [select id, name from Area_Of_Interest__c]; return areas; } On my second page, I can