function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Table records selection Checkbox

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12">



I am overriding the "Add Product" button with a VF Page. What will be the easiest way to determine which Products were selected. I know that one option is to trace all  <apex:inputCheckbox> tags using ids and retrieve values (record id) of these checked using a JS script but I am wondering if there is an easier way to implement that using a VF component. I thought of using selectCheckbox but the problem is that it only associate a value and a label.


Any help will be appreciated.