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
raysfdc1988raysfdc1988 

How link visualforce page to records desplaying in another page

<apex:page standardController="Deliverables__c" recordSetVar="Deliverables" tabstyle="Deliverables__c" sidebar="false">
  <apex:pageBlock >
    <apex:form >
     <apex:dataTable value="{!Deliverables}" var="o" id="scoringTable" cellpadding="4" width="100%">
                        <apex:column >
                        <apex:facet name="header">Owner Id</apex:facet>
                           <apex:outputLink value="apex/delverydetails/!{o.id}">{!o.Name}</apex:outputLink>
                        </apex:column>
                        </apex:dataTable>
    
       
    </apex:form>
  </apex:pageBlock>
</apex:page>

Here i want display deliverabledetailpage ofter clicking on list of records.
devliverable is master object of deliverabledetails object....Pl help me write a controller
Amritesh SahuAmritesh Sahu
Hi,

I hope this helps you.
<apex:dataTable value="{!Deliverables}" var="o" id="scoringTable" cellpadding="4" width="100%">
    <apex:column >
       <apex:facet name="header">Deliverables Name</apex:facet>
       <apex:outputLink value="/{!o.id}">{!o.Name}</apex:outputLink>
    </apex:column>
</apex:dataTable>
Replace your datatable with this one.
This code shows a list of Deliverables. The Deliverables Name links to the detailpage.

Thanks & Regards.

raysfdc1988raysfdc1988
thanks Amritesh,

Lemme explane it properly

There are two objects 1.Deliverable(master) and DeliverableDetails(child of Deliverable)
I have created two VF pages 1. list of deliverables of (deleverable object)
2.Pdf(deliverableDetails ofject)

Now If i click on list of deliverable list  then i shold display  a deliverableDetailspage(child object Page)
Amritesh SahuAmritesh Sahu
Then you should pass the ID of the Deliverable Object to the "deliverableDetailspage". 
<apex:outputLink value="{!$Page.deliverableDetailspage}?id={!o.id}">{!o.Name}</apex:outputLink>
Put this in the first VF.
What u want to display in 2nd vf. Can u share the code of 2nd vf.

raysfdc1988raysfdc1988
<apex:page standardController="Deliverables_Details__c" renderAs="pdf" applyBodyTag="false">

    <body>
        <center>
        <h1>Deliverable Details!</h1>
    
        <apex:panelGrid columns="1" width="100%">
        <h2> Deliverable Name </h2>
            <apex:outputText value="{!Deliverables_Details__c.Description__c}" />
             <h2> Description </h2>
             <apex:outputText value="{!Deliverables_Details__c.Description__c}"/>
            <apex:outputText value="{!NOW()}"></apex:outputText>
        </apex:panelGrid>
        </center>
    </body>
</apex:page>
raysfdc1988raysfdc1988
hi this is second page..

Deliverables__c"  is master of Deliverables_Details__c, May be i need to write controller to get a id of related child record,

Please give solution.

Thank you