You need to sign in to do that
Don't have an account?
dev401has
set the checkbox values in visual force page
Hi
I have a list of account. I want checkboxes in front of them and they should be checked if there are related opportunities in that account.
I have created a map of Id, Boolean. i want that to set in visualforce page.
I dont know what to mention in Apex:Page block table Value and in Input checkbox value.
This is can be done using a Wrapper class method.
For example if your using the Account Object then you have to write a wrapper class for the Account in Apex code.
Have a look at the following link i think this is your need.
http://wiki.developerforce.com/index.php/Checkbox_in_DataTable
I'm new to coding and I was looking for such example.Thank's a lot for sharing.