Use of macros

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Use of macros

Bejoy Zac
Can anybody tell me the usage of macros in ftl.
How to create a macro? How to use in ftl?

I want to create a macro to change the date format according to the locale How can I proceed ?

Thanks & Regards,
Bejoy
Reply | Threaded
Open this post in threaded view
|

Re: Use of macros

G.Venkata Phanindra
Hi,
Macro is similar to functions ... we can pass the parameters and do some
Blogic and get the
The following link may hep u ..
http://freemarker.sourceforge.net/docs/dgui_misc_userdefdir.html

Regards
Phani

On 4/24/07, Bejoy Zac <[hidden email]> wrote:

>
>
> Can anybody tell me the usage of macros in ftl.
> How to create a macro? How to use in ftl?
>
> I want to create a macro to change the date format according to the locale
> How can I proceed ?
>
> Thanks & Regards,
> Bejoy
> --
> View this message in context:
> http://www.nabble.com/Use-of-macros-tf3636387.html#a10154318
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


--
G.Venkata Phanindra
Mob:: 9849852989
Reply | Threaded
Open this post in threaded view
|

Re: Use of macros

BJ Freeman
In reply to this post by Bejoy Zac
if you look in the web-inf/action sections you will see bsh files used
for macros. they have the same name as the ftl file.

Bejoy Zac sent the following on 4/23/2007 8:48 PM:
> Can anybody tell me the usage of macros in ftl.
> How to create a macro? How to use in ftl?
>
> I want to create a macro to change the date format according to the locale
> How can I proceed ?
>
> Thanks & Regards,
> Bejoy