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.



Reply via email to