0

I have a couple visualforce pages that show a title in my browser 'Documentations' that I can't figure out why.

Here's an example of one page:

<apex:page standardController="Opportunity"  showHeader="true" sidebar="false" title="Prospect">  


     <style>
      .activeTab {background-color: #236FBf;  color:white; background-image:none}
      .inactiveTab { background-color: white; color:black; background-image:none}
   </style>
   <apex:tabPanel switchType="client" selectedTab=" tabdetails" id="OpportunityTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab">   


    <apex:tab label="Details" name="OpportunityDetails" id="tabdetails">
         <apex:detail relatedList="false" title="true"/>
      </apex:tab>


   <apex:tab label="Approval Process" name="Approval" id="tabApproval">
         <apex:relatedList list="ProcessSteps" ></apex:relatedList>

      </apex:tab>


       <apex:tab label="Activity History" name="Activities" id="tabActivities">
         <apex:relatedList list="activityhistories" ></apex:relatedList>

      </apex:tab>


    <apex:tab label="Chatter Feed" name="Feed" id="Feed">
          <chatter:feed entityId="{!Opportunity.Id}"/>
      </apex:tab>

    <apex:tab label="Connecitvity" name="Comm" id="Comm">
          <apex:include pageName="OppCommRoutingMDConnect"/>
      </apex:tab>

  </apex:tabPanel>
</apex:page>

The pic is how it shows in a browser tab. Any idea why it doesn't show my title? enter image description here

  • Have you renamed "Opportunity" to "Documentation" in your org? – BarCotter Jan 23 '15 at 14:57
  • Is there any chance that this page is simply in a frame and another page is still the main page? – dphil Jan 23 '15 at 14:57
  • What API version is the page set to? – BarCotter Jan 23 '15 at 15:01
  • The API is 32. No, this is the main page. I am using it instead of regular view on the Opportunity page. There is an include page in this, but it is not called Documentations. – jaw999 Jan 23 '15 at 15:23
  • 2
    Did you look at the HTML of the page to see if that gives you any indication as to where it's coming from? Is there a <HEAD> and <TITLE> element in there? – BarCotter Jan 23 '15 at 15:34
1

I found the correct dependent page and removing the title from that fixed the issue. Sorry. I do think it is odd that a dependent page's title will overwrite the main page's title.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.