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
rcravenrcraven 

Missing icon in apex:sectionHeader

The apex:sectionHeader tag displays prefectly when the apex:page, showHeader="true".  However, when showHeader="false" the apex:sectionHeader is missing the related icon?
 
I've tried using the apex:page, standardStylesheets="true" attribute to no avail.

Note the apex:page is being displayed from a custom object button.

Can anyone confirm whether or not this is a bug?

Devendra@SFDCDevendra@SFDC

 

I am not sure it is bug or not.

 

But when you use showHeader=false and the link of standard icon associated with the Custom Object Tab break down, which causing No image on section header.

 

If custom tab has Custom style then you can remove header and use tabStyle property to display associated icon on section header.

 

Try this code,

 

<apex:page tabstyle="City__c" showHeader="false" >
<apex:sectionHeader title="ABC"/>
</apex:page>

 

 

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.