Guest User

Untitled

a guest
Feb 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public List<Options> getProductOptionTest() {
  2. List<Options> productOptionTest = [SELECT Name, Feature FROM Options WHERE id in (SELECT Option FROM Subscriptions WHERE DeviceId__c = :DeviceId)];
  3. return productOptionTest;}
  4.  
  5. <apex:pageBlockTable value="{!productOptionTest}" var="test">
  6. <apex:column value="{! test.Name }" headerClass="headerStyle" />
  7. <apex:column value="{! test.Feature }" headerClass="headerStyle" />
Add Comment
Please, Sign In to add comment