use of the empty @element macro

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

use of the empty @element macro

Atul Vani
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.
Reply | Threaded
Open this post in threaded view
|

Re: use of the empty @element macro

Jacques Le Roux
Administrator
Hi Atul,

http://freemarker.org/docs/xgui_declarative_details.html

Jacques

From: "Atul Vani" <[hidden email]>

> 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.
>

Reply | Threaded
Open this post in threaded view
|

Re: use of the empty @element macro

Atul Vani
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" <[hidden email]>
>> 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.
>>
>