AnsweredAssumed Answered

ALFRESCO SURF PAGES

Question asked by tushar115 on May 25, 2016
Latest reply on May 26, 2016 by steven.okennedy
HI, I WANT toi understand below given ftl codes.  here why we use <@ markup> directive?  how the bindings done between  components and  region?


<#include "/org/alfresco/include/alfresco-template.ftl" />
<@templateHeader></@>
<@templateBody>
   <@markup id="alf-hd">
   <div id="alf-hd">
      <@region scope="global" id="share-header" chromeless="true"/>
   </div>
   </@>
   <@markup id="bd">
    <div id="bd">
        <h1>This is just a test page. Hello World!</h1>
    </div>
   </@>
</@>
<@templateFooter>
   <@markup id="alf-ft">
   <div id="alf-ft">
      <@region id="footer" scope="global" />
   </div>
   </@>
</@>

Outcomes