function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AndyuxAndyux 

visualforce turn field into link

I have a visualsforce page for custom object ssr with one related obejct, opportunity. I can display the related opportunity {!ssr__c.Opportunity__r.Name}. Note i just need to display, no inlined edit on this one.
How could i turn that display into a link back to the Opportunity? 
Here is the beggining of VF page - only one Opportunity per page, this is not a list/colums.
<apex:page title="ssr" showHeader="True" sidebar="false" standardController="ssr__c" >
<apex:form >
<apex:pageBlock title="ssr" mode="inlineEdit">
 <apex:pageBlockButtons > 
    <apex:commandButton value="Save" action="{!save}" id="saveButton" style="display: none;" />
    <apex:commandButton value="Cancel" action="{!cancel}" id="cancelButton" style="display: none;" />
</apex:pageBlockButtons>


<table width="1200" border="0" align="center" cellpadding="4" cellspacing="0">
  <tbody>
    <tr>
      <td width="150" bgcolor="#BDD7E7"><strong>Opportunity</strong></td>
      <td colspan="3" bgcolor="#C9D2E2"><strong>{!ssr__c.Opportunity__r.Name}</strong></td>

etc


 
Best Answer chosen by Andyux
AndyuxAndyux
<apex:outputLink value="/{!ssr__c.Opportunity__r.id}">{!StrategicSales__c.Opportunity__r.Name}</apex:outputLink>