Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <apex:pageBlockSectionItem >
- <apex:outputText >Match Filter</apex:outputText>
- <apex:selectList value="{!crit.reportingMatch}" size="1">
- <apex:selectOptions value="{!crit.reportingMatchPicklist}"/>
- </apex:selectList>
- </apex:pageBlockSectionItem>
- public with sharing class massOppController {
- public massOppCriteria Crit{get; set;}
- // Assigning filterRec.Match_Filter__c value(either 0 or 1) to crit.reportingMatch
- crit.reportingMatch = String.valueOf(filterRec.Match_Filter__c);
- public String reportingMatch {get;set;}
- public static LIST<SelectOption> getReportingMatchPickList() {
- List<SelectOption> reportingMatchPickList = new List<SelectOption>();
- reportingMatchPickList.add(new selectoption('', '- Reporting Match Filter -'));
- reportingMatchPickList.add(new selectoption('0', '0'));
- reportingMatchPickList.add(new selectoption('1', '1'));
- return reportingMatchPickList;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement