Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

How to check the check box by default in visual force page

Be First!
by April 14, 2012 APEX, Visual Force
Apex Class:

public class checkcontact {
public list con {get;set;}
public boolean cc{get;set;}
public checkcontact() {
con=new list();
cc=true;
con=[select name,email from contact];
}
public void change() {
if(cc==false)
cc=true;
else
cc=true;
}
}
VisualForce Page:
 
Name
Email
{!conlist.Email}

(486)

Previous
Next

Leave a Reply