[jboss-dev-forums] [Design of JBoss jBPM] - Expression Evaluation in ActionHandler Properties

camunda do-not-reply at jboss.com
Mon Jun 16 03:25:48 EDT 2008


Hi!

Another requirement I am facing quite often is, that 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 are right "setPropertyValue(Class clazz, Object newInstance, String propertyName, Element propertyElement)"), but there I don't have the jbpmContext available...

What do you guys think? Skip it and tell the people they should do the evaluation themselves in the ActionHandler (basically that is my recommendation at the moment)?

Or support it out the box? Ideas how to implement it then?

Cheers
Bernd

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158254#4158254

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158254



More information about the jboss-dev-forums mailing list