linked linked linkedin whatsapp remove
Feedback

Salesforce-Development Quiz Salesforce-Development

A Custom Component named "myCustomComponent" is created and has the following code:

 <apex:component>

                       <apex:outputText value="This is a custom component."/>

 </apex:component>

Which of the following code snippets depicts the correct way to call the above custom component in a VisualForce page, provided, both of these are defined in the same namespace?

apex:page standardController="Account"> <c:myCustomComponent/> </apex:page>
<apex:page standardController="Account"> <apex:myCustomComponent/> </apex:page>
<apex:page standardController="Account"> <apex:component name="myCustomComponent" /> </apex:page>

Answer:
apex:page standardController="Account"> <c:myCustomComponent/> </apex:page>

Note: This Question is unanswered, help us to find answer for this one

Related Salesforce-Development Questions and Answers: