Login  Register

Re: Users - Where/how is ofbizCurrency FTL macro defined?

Posted by BJ Freeman on Jun 02, 2006; 3:23am
URL: http://ofbiz.116.s1.nabble.com/Users-Where-how-is-ofbizCurrency-FTL-macro-defined-tp139658p139659.html

each ftl has  bsh file in the action folder.
if you are using screens you can include the bsh as a script in the
action section.
don't have eclipse open to get an example but they are around.


Vinay Agarwal sent the following on 6/1/06 3:41 PM:

> Hello,
>
>  
>
> I couldn't find ofbizCurrency macro definition in any FTL file. The only
> thing that looks like its declaration is in
> base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java as follows:
>
> ftlTransforms.put("ofbizCurrency",
> loader.loadClass("org.ofbiz.webapp.ftl.OfbizCurrencyTransform").newInstance(
> ));
>
>  
>
> Is this its declaration?
>
> Is this the way to define global FTL macros?
>
>  
>
> Thanks in advance,
>
> Vinay Agarwal
>
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users