The page you are looking at now is at this URL: http://pastoid.com/aqz
This paste was last updated on March 4, 2009 at 9:29 am.
public class webdev { public class newAP { public Opportunity opp {get;set;} public String role {get; set;} public newAP() { opp = new Opportunity(); } } public List<newAP> apList {get; set; } {apList = new List<newAp>(); } public webdev() { apList.add ( new newAP() ); apList.add ( new newAP() ); apList.add ( new newAP() ); } public PageReference savePartnerData() { PageReference opptyPage = new PageReference('http://www.google.com/?newid=' + apList.get(1).opp.AccountId); return opptyPage ; } public List<SelectOption> getRoles() { List<SelectOption> options = new List<SelectOption>(); PartnerRole[] partnerRole = [Select MasterLabel from PartnerRole where CreatedById <> null]; options.add(new SelectOption('--None--','--None--')); for(Integer i=0;i<partnerRole.size();i++) { options.add(new SelectOption(partnerRole[i].MasterLabel,partnerRole[i].MasterLabel)); } return options; } }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 4 |
| search.live.com | 1 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This