Another Salesforce blog!!!

Salesforce, Apex

overriding standard page


<apex:page standardController="name_of_the_object__c" id="gp">
 
    <apex:detail subject="{!name_of_the_object__c.Id}" relatedList="true" inlineEdit="true" id="detailgp"/>  
    <apex:includeScript value="{!$Resource.JQuery}"/>
    <script>
        var j$ = jQuery.noConflict();
        j$("iframe").each(function(){
            j$(this).load(function() {
                j$(this).height( j$(this).contents().find("body").height() );
            });
        });
    </script>
</apex:page>

Leave a Reply

Your email address will not be published. Required fields are marked *

*