You need to sign in to do that
Don't have an account?
raysfdc1988
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
<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
I hope this helps you.
Replace your datatable with this one.
This code shows a list of Deliverables. The Deliverables Name links to the detailpage.
Thanks & Regards.
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)
Put this in the first VF.
What u want to display in 2nd vf. Can u share the code of 2nd vf.
<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>
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