Activity Forums Salesforce® Discussions What is difference between the apex:include and Salesforce visualforce component ?

  • PRANAV

    Member
    September 22, 2016 at 5:25 am

    Hi Mohit,

    • <apex:include> is used when you want to insert that page as it is in your current page. The entire contents of that page is copied in your current page.
    • <apex:component> is defining a component before using it. In simple words, lets  say you define that 'myValue' component is a string type but the value to that string will be assigned in the destination page.

    Hope this helps you.

    Thanks

     

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos