cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ellis Pritchard <el...@nukinetics.com>
Subject Re: JXTG: from flow vs directly from sitemap
Date Mon, 21 Feb 2005 11:53:35 GMT
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? ;)

Ellis.


Mime
View raw message