0

I get the 18 digit id for a contact in an html table. Using the dataTable it returned the contact name as a hyperlink. I'd like to do the same on the html table so as to not introduce more view state overhead by adding a dataTable back into the mix (there are lots of tables on this page.)

This is the row:

<td>{!s.Key_Broker_Contact_LU_PS__c}</td>

where s is a query variable .

1 Answer 1

1

You can use the apex:outputField to get this behavior:

<td><apex:outputField value="{!s.Key_Broker_Contact_LU_PS__c}" /></td>
1
  • Excellent. Works . I've been using outputText on several fields in the html table , totally overlooked this. Thanks !
    – rickmac
    Commented Nov 14, 2017 at 20:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .