My visualforce code below...
THANKS in advance...<apex:page cache="true" expires="600" standardController="Customer_s_Price_List__c" extensions="Plasma_controller_SFDC1" showHeader="false" tabStyle="account">
<apex:sectionheader title="Customer Price -" subtitle="{!Customer_s_Price_List__c.Account__c}"/>
<chatter:feedwithfollowers entityId="{!Customer_s_Price_List__c.Id}"/>
<apex:form >
13 respuestas

Hi Javier At first you need create new property in your extension
After that you need add code to constructor, or if constructor not created, create it. your constructor must have name Plasma_controller_SFDC1public String acctName {get; set}
and after this use {!acctName} insted of {!Customer_s_Price_List__c.Account__r.name}As a common practice, if your question is answered, please choose 1 best answer. But you can give every answer a thumb up if that answer is helpful to you.Thanks,Alexpublic Plasma_controller_SFDC1() {
// your code here
acctName = [SELECT Id, Name FROM Account WHERE Id = :ApexPages.currentPage().getParameters().get('accid')].Name;
}