apex:page title attribute does not work when showHeader is false
Last updated 2022-02-10 ·Reference W-1737070 ·Reported By 6 users
Summary
Page title is not rendered if apex:page has showHeader set to false.
Repro
Create and render this page:
<apex:page showHeader="false" title="I want my Title!">
This page has showHeader false, and a title defined in the apex:page element.
</apex:page>
It is rendered with no explicit title.
Workaround
Hardcode the title:
<apex:page showHeader="false" applyBodyTag="false" docType="html-5.0">
<head>
<title> My Working Title </title>
</head>
<body>
This page has showHeader false, and a title defined in the explicit header, and is html-5
</body>
</apex:page>
Reported By (6)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.