• jhon aleex
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
User-added image
<apex:page controller="wrapper3cls" contentType="text/xml">
    <apex:form >
        <apex:pageblock >
            <apex:pageblocktable value="{!lstwrap}" var="awrap">
            <apex:column headerValue="Contacts" >
                    <apex:repeat value="{!awrap.lst}" var="c">
                        <apex:commandLink value="approve" rendered="{!if((awrap.acc.name=='GenePoint'),true,false)}" action="/apex/displaypage?id='+rId"/>
                        <apex:param name="rId" value="{!c.Id}" assignTo="{!rId}"/>
                    </apex:repeat>
            </apex:column>
                <apex:column value="{!awrap.acc.name}"/>
                <apex:column value="{!awrap.acc.phone}"/>
                <apex:column value="{!awrap.acc.fax}"/>
            </apex:pageblocktable>
        </apex:pageblock>
    </apex:form>
</apex:page>
  • February 23, 2015
  • Like
  • 0