AnsweredAssumed Answered

How to call a soy template in my plugin without make use of any ftl

Question asked by jeevan1 on Apr 21, 2014
Latest reply on May 7, 2014 by bergerle

Hi All,

I have the '' file in my global theme folder under '/template'


and the content of that soy file is as below


{namespace examples.simple}


* Greets Hello World by default.


{template .helloName}

    Hello , World !!!!!!



Now where can i call this template using  'examples.simple.helloName' for display


My struts.xml file has <result name="success" type="freemarker">/template/helloWorld-Page.ftl</result>

but now i want this to be changed to <result name="success" type="soy">/template/</result>



I would like to ask you how should be my which will call this  '.helloWorld' soy template.

Is a soy template can be used to render a preview for plugin. if so how?

Can anyone help on this?