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
Debbie BraunDebbie Braun 

Calling component in VF apex and it changes to lowercase?

Hello,
I have a component MyVFpage with namespace prefix MyVFpage_SF I am trying to create a new VF page for my Projects tab, but everytime I create my VF page and save the page it turns MyVFpage into myvfpage and tells me I need to create the component myvfpage. Why?

code:
<apex:page standardController="Projects" docType="html-5.0" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false">
    <c:MyVFpage />
</apex:page>

once saved returns:

Error: Component c:myvfpage does not exist[Quick Fix] Create Component myvfpage


Is there something I am missing? 
 
Best Answer chosen by Debbie Braun
Alba RivasAlba Rivas
Hi Debbie,

Try indicating the component namespace:
 
<MyVFPage_SF:MyVFpage />

Regards!

All Answers

Alba RivasAlba Rivas
Hi Debbie,

Try indicating the component namespace:
 
<MyVFPage_SF:MyVFpage />

Regards!
This was selected as the best answer
Debbie BraunDebbie Braun
Alba, Thank you so much. Worked like a charm. Now to figure out how to change the size of the VF page inside my page layout.