[
https://issues.jboss.org/browse/JBPM-2992?page=com.atlassian.jira.plugin....
]
Jay Liu updated JBPM-2992:
--------------------------
Description:
due to the EnvironmentBindings.java, it is not possible to execute script like below
(javascript):
var b = "value b";
var c = b;
scriptEngine will report error like
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "b" is not
defined. (<Unknown source>#4) in <Unknown source> at line number 4
because EnvironmentBindings never accept new variable passed to it.
was:
due to the EnvironmentBindings.java, it is not possible to execute script like below
(javascript):
{code:borderStyle=solid}
var b = "value b";
var c = b;
{code}
scriptEngine will report error like
{quote}
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "b" is not
defined. (<Unknown source>#4) in <Unknown source> at line number 4
{quote}
because EnvironmentBindings never accept new variable passed to it.
execute multiple statements with variable passing in script tag
---------------------------------------------------------------
Key: JBPM-2992
URL:
https://issues.jboss.org/browse/JBPM-2992
Project: jBPM
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.4
Reporter: Jay Liu
Labels: script
Original Estimate: 2 hours
Remaining Estimate: 2 hours
due to the EnvironmentBindings.java, it is not possible to execute script like below
(javascript):
var b = "value b";
var c = b;
scriptEngine will report error like
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "b" is not
defined. (<Unknown source>#4) in <Unknown source> at line number 4
because EnvironmentBindings never accept new variable passed to it.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira