5 Replies Latest reply on Dec 18, 2013 8:55 AM by Ryan Rutan

    Where does skin variable in ftl come from

    charyorde

      Hi,

       

      In a lot of Jive ftl files, I find codes like this:

       

      <#assign tipsProvider = skin.tipsProvider />
      
      <#if activity.type == "liked">
        <#assign template = skin.recentActivity.getDetailedTemplateName(activity.jiveObject.objectType)!/>
      <#else>
        <#assign template = skin.recentActivity.getDetailedTemplateName(objectType)!/>
      </#if>
      
      

       

      Seems to me that it's referencing SkinUtils but I'll like to know where or what bean or java object the variable 'skin' originates from.

       

      I've looked into all available ftl macros. No luck yet.

       

      Thanks for helping out.