You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Atul Vani <at...@hotwaxmedia.com> on 2010/03/23 11:49:43 UTC
use of the empty @element macro
hello everybody,
while i was browsing ftl files to dig some information about macros
i found that the following files:-
/ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/content/ftl
/ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/topic/ftl
/ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/tree/ftl
etc
contain an empty macro
<#macro @element>
</#macro>
i was wondering why is it placed there and what is its use.
Re: use of the empty @element macro
Posted by Atul Vani <at...@hotwaxmedia.com>.
Thanks Jacques,
Those links were of great help.
Jacques Le Roux wrote:
> Hi Atul,
>
> http://freemarker.org/docs/xgui_declarative_details.html
>
> Jacques
>
> From: "Atul Vani" <at...@hotwaxmedia.com>
>> hello everybody,
>>
>> while i was browsing ftl files to dig some information about macros
>> i found that the following files:-
>>
>> /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/content/ftl
>>
>> /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/topic/ftl
>>
>> /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/tree/ftl
>> etc
>>
>> contain an empty macro
>>
>> <#macro @element>
>> </#macro>
>>
>>
>>
>> i was wondering why is it placed there and what is its use.
>>
>
Re: use of the empty @element macro
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Atul,
http://freemarker.org/docs/xgui_declarative_details.html
Jacques
From: "Atul Vani" <at...@hotwaxmedia.com>
> hello everybody,
>
> while i was browsing ftl files to dig some information about macros
> i found that the following files:-
>
> /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/content/ftl
> /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/topic/ftl
> /ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/data/tree/ftl
> etc
>
> contain an empty macro
>
> <#macro @element>
> </#macro>
>
>
>
> i was wondering why is it placed there and what is its use.
>