Created
April 10, 2017 08:58
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:component access="global" controller="OppsWithMatches"> | |
<apex:attribute name="accountIdValue" type="String" description="This is the Id of the account" assignTo="{!accountId}" access="global" /> | |
<table class="table"> | |
<thead> | |
<tr> | |
<th>Opportunity Name</th> | |
<th>Opportunity Description</th> | |
<th>Opportunity Amount</th> | |
</tr> | |
</thead> | |
<tbody> | |
<apex:repeat value="{!Opps}" var="pos"> | |
<apex:repeat value="{!pos.Matches__r}" var="match"> | |
<tr> | |
<td>{!pos.Name}</td> | |
<td>{!match.Name}</td> | |
<td>{!match.Email__c}</td> | |
</tr> | |
</apex:repeat> | |
</apex:repeat> | |
</tbody> | |
</table> | |
</apex:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment