You need to sign in to do that
Don't have an account?

Using outputlink in repeat block
Can anyone help in below code where i have used the output link under repeat block but its not showing the link.
<apex:pageBlockTable value="{!sObjectList}" var="res" id="pg">
<apex:repeat value="{!objectFields}" var="field">
<apex:outputLink title="xyz" value="/apex/payer">
link
</apex:outputLink>
<apex:column value="{!res[field]}"/>
</apex:repeat>
</apex:pageBlockTable>
<apex:pageBlockTable value="{!sObjectList}" var="res" id="pg">
<apex:repeat value="{!objectFields}" var="field">
<apex:outputLink title="xyz" value="/apex/payer">
link
</apex:outputLink>
<apex:column value="{!res[field]}"/>
</apex:repeat>
</apex:pageBlockTable>
If you only want one of these links on the page you should place it outside the pageblocktable.
<apex:repeat value="{!objectFields}" var="field">
<apex:column>
<apex:outputLink title="xyz" value="/apex/payer">
link
</apex:outputLink>
</apex:column>
<apex:column value="{!res[field]}"/>
</apex:repeat>
</apex:pageBlockTable>