[
https://jira.jboss.org/jira/browse/JBPM-1752?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-1752:
-----------------------------------
if we do this, this should be done with new tag.
<x>sometext</x> is parsed the same as <x><string
value="sometext"/></x>
in the intended purpose of the xml syntax, we should add a new tag eval like this
<x><eval expr="#{someObject.x}"/></x>
having that said. This is a new feature, something we don't pursue on 3.x.
That's why I want it to be closed.
Let's fix this in jPDL 4.0 and resolve this issue with deferred
Expression Evaluation in ActionHandler Properties
-------------------------------------------------
Key: JBPM-1752
URL:
https://jira.jboss.org/jira/browse/JBPM-1752
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core Engine
Reporter: Alejandro Guizar
Assignee: Alejandro Guizar
Fix For: jBPM 3.3.0 GA
The parameters for an ActionHandler should be able to use expressions in it, so you could
write
<action class="...">
<x>#{someObject.x}</x>
</action>
This could be done in the FieldInstatiator class (around line 67 we have
"setPropertyValue(Class clazz, Object newInstance, String propertyName, Element
propertyElement)"), but the execution context is not available there.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira