You need to sign in to do that
Don't have an account?
ETF
This looks nice and is much more readable, but the problem is that the detail tab has duplicate fields displayed - any required field is displayed at its layout location as well as at the end of the section. This is happening with both custom and regular objects.
Duplicate field display when including apex:detail inside apex:tab
We started using tabbed VF pages using code similar to the following:
Code:
<apex:page standardController="Contact" showHeader="true" tabStyle="Contact" > <apex:tabPanel switchType="client" selectedTab="Details" id="theTabPanel"> <apex:tab label="Contact Details" name="Details" id="tabdetails"> <apex:detail relatedList="false" title="true"/> </apex:tab> <apex:tab label="Notes and Attachments" name="NotesAndAttachments" id="tabNoteAtt"> <apex:relatedList subject="{!Contact}" list="NotesAndAttachments" /> </apex:tab> </apex:tabPanel> </apex:page>
This looks nice and is much more readable, but the problem is that the detail tab has duplicate fields displayed - any required field is displayed at its layout location as well as at the end of the section. This is happening with both custom and regular objects.
Any idea why this is happening?
Thanks!
It doesn't seem related, but if there are relatedList tags on the page, removing the subject fixes this problem - from <apex:relatedList subject="{!Contact}" list="" /> to <apex:relatedList list="" /> .
Message Edited by vfund on 12-02-2008 07:16 AM