you look like your still in ver 4.0 code.
I suggest you check out he newest in a seperate folders then migrate any
customm code. there are a lot of changes since 4.0.
the first being running java jdk 1.5 or higher.

madppiper sent the following on 11/6/2008 8:48 AM:
> hmm,
> 
> the file doesn't exist in my trunkversion (13595), do i need to upgrade for
> that file?
> 
> 
> 
> Adrian Crum-2 wrote:
>> If the CMS classes are in the OFBiz classpath, then you can add transforms
>> to the framework/webapp/config/applicationTransforms.properties file and
>> OFBiz will load them automatically.
>>
>> -Adrian
>>
>>
>> --- On Thu, 11/6/08, madppiper <[EMAIL PROTECTED]> wrote:
>>
>>> From: madppiper <[EMAIL PROTECTED]>
>>> Subject: FreemarkerWorker Expression definition
>>> To: [email protected]
>>> Date: Thursday, November 6, 2008, 3:55 AM
>>> I am trying to integrate a different cms to ofbiz, which
>>> also runs on
>>> freemarker files. The basic idea is to share the different
>>> ftls (at least
>>> the ones generated by the cms). I could setup the cms
>>> (magnolia) just fine
>>> and I could easily access the magnolia ftl files just fine
>>> from within
>>> ofbiz. However, of course, Ofbiz does not read the
>>> freemarker expressions as
>>> i hoped it would (up to that point i did not realize that
>>> freemarker
>>> expressions need to be defined within java classes prior
>>> usage) and I ended
>>> up receiving errors in return.
>>>
>>> So much for the background... now: I was thinking that
>>> since I do have
>>> access to the cms and I could easily access the included
>>> java files,
>>> wouldn't it be possible to initiate the java classes
>>> from within the
>>> FreemarkerWorker.java file and add the needed expressions
>>> to the very same?
>>>
>>>
>>>
>>>
>>> If I do understand the matter correctly, expressions are
>>> added by the
>>> following statement from within FreemarkerWorker:
>>>
>>>   ftlTransforms.put("ofbizUrl",
>>> loader.loadClass("org.ofbiz.webapp.ftl.OfbizUrlTransform").newInstance());
>>>  
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/FreemarkerWorker-Expression-definition-tp20359714p20359714.html
>>> Sent from the OFBiz - User mailing list archive at
>>> Nabble.com.
>>
>>       
>>
>>
> 

Reply via email to