cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: JXTG: from flow vs directly from sitemap
Date Mon, 21 Feb 2005 12:05:46 GMT
Ellis Pritchard wrote:
> Leszek Gawron wrote:
> 
>> Ellis Pritchard wrote:
>>
>>> AFAICS (looking at the code) the 'java' Package object which you are 
>>> implicitly using when you do the ${java.util.HashMap()} is only set 
>>> up (and thus available to JXTemplate) if the FOM JavaScript 
>>> interpreter is called first in the context of the request. Thus this 
>>> facility is not set up generically for JXTemplates, only JXTemplates 
>>> called from a flow.
>>
>>
>> Could you point me the direct code location?
>>
> Multiple locations (2.1.6 dist):
> 
> Start with JXTemplateGenerator:setContexts() 2237
> FOM_JavaScriptFlowHelper:getJavaPackage() 86
> FOM_JavaScriptFlowHelper:setJavaPackage() 94
> FOM_JavaScriptInterpreter:setupView() 882
> or
> AO_FOM_JavaScriptInterpreter:setupView()  773
> 
> Isn't Eclipse wonderful? ;)
Thank you. I got a little bit stucked in the complexity of flowscript 
scope preparation. Got it now.


-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message