Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
DependentPicklistController
SUBMITTED BY:
Guest
DATE:
Jan. 22, 2014, 12:12 p.m.
FORMAT:
Text only
SIZE:
386 Bytes
Raw
Download
Tweet
HITS:
4647
Go to comments
Report
public class DependentPicklistController{
public List<Account> accounts {get;set;}
public List<Contact> contacts {get;set;}
public DependentPicklistController(){
accounts = [select id, name, (select id from contacts) from account limit 1000];
contacts = [select id,accountid, name from contact where accountid !=null limit 1000];
}
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus