Why can't I iterate through a list of a Wrapper class in Salesforce Visualforce?
问题 I am trying to iterate through a list of records inside a wrapper class and show them on a Visualforce page. The custom object is called Campaign_Products__c, and the wrapper class is meant to show if the product has been selected by the user to add to a "cart". Apex Controller code (extraneous bits removed): public with sharing class CONTROLLER_Store { ... public List<productOption> cpList { get; set; } public class productOption { public Campaign_Product__c product; public Boolean inCart;