where are defined macros : ofbizUrl, ofbizContentUrl

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

where are defined macros : ofbizUrl, ofbizContentUrl

sqlien
Hi,

I want to know where are defined macros: ofbizUrl, ofbizContentUrl and all macros related to CMS application

Regards
Reply | Threaded
Open this post in threaded view
|

Re: where are defined macros : ofbizUrl, ofbizContentUrl

Adrian Crum
If you are referring to the Freemarker transforms, you can locate them through the following
properties files:

framework/webapp/config/frameworkTransforms.properties
framework/webapp/config/applicationTransforms.properties

-Adrian

sqlien wrote:

> Hi,
>
> I want to know where are defined macros: ofbizUrl, ofbizContentUrl and all
> macros related to CMS application
>
> Regards
>

Reply | Threaded
Open this post in threaded view
|

Re: where are defined macros : ofbizUrl, ofbizContentUrl

sqlien
 But these files does not exists !
Adrian Crum wrote
If you are referring to the Freemarker transforms, you can locate them through the following
properties files:

framework/webapp/config/frameworkTransforms.properties
framework/webapp/config/applicationTransforms.properties

-Adrian

sqlien wrote:

> Hi,
>
> I want to know where are defined macros: ofbizUrl, ofbizContentUrl and all
> macros related to CMS application
>
> Regards
>
Reply | Threaded
Open this post in threaded view
|

Re: where are defined macros : ofbizUrl, ofbizContentUrl

Bilgin Ibryam
The files should be there!
Anyway, here is the content of frameworkTransforms.properties You can see the java classes responsible for each transform:

ofbizUrl=org.ofbiz.webapp.ftl.OfbizUrlTransform
ofbizContentUrl=org.ofbiz.webapp.ftl.OfbizContentTransform
ofbizCurrency=org.ofbiz.webapp.ftl.OfbizCurrencyTransform
ofbizAmount=org.ofbiz.webapp.ftl.OfbizAmountTransform
setRequestAttribute=org.ofbiz.webapp.ftl.SetRequestAttributeMethod
renderWrappedText=org.ofbiz.webapp.ftl.RenderWrappedTextTransform
menuWrap=org.ofbiz.widget.menu.MenuWrapTransform

Bilgin Ibryam
Reply | Threaded
Open this post in threaded view
|

Re: where are defined macros : ofbizUrl, ofbizContentUrl

BJ Freeman
In reply to this post by sqlien
What version of SVN are you using?

sqlien sent the following on 10/1/2007 12:41 AM:

>  But these files does not exists !
>
> Adrian Crum wrote:
>> If you are referring to the Freemarker transforms, you can locate them
>> through the following
>> properties files:
>>
>> framework/webapp/config/frameworkTransforms.properties
>> framework/webapp/config/applicationTransforms.properties
>>
>> -Adrian
>>
>> sqlien wrote:
>>
>>> Hi,
>>>
>>> I want to know where are defined macros: ofbizUrl, ofbizContentUrl and
>>> all
>>> macros related to CMS application
>>>
>>> Regards
>>>
>>
>>
>