[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-05-02 Thread kukeltje
can you make a full but small unittest with everything embedded and post that here View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227733#4227733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227733 ___

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-05-02 Thread swatis
yes i get spaces instead of value after invoking this method View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227667#4227667 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227667 __

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-30 Thread kukeltje
and this does not work? Or does it now? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227530#4227530 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227530 ___ jboss-user mail

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-30 Thread swatis
I got what he said thats what I have used | String evaluate(String expression) { | if (expression==null) { | System.out.println("exp is null"); | return null; | } | VariableResolver variableResolver = JbpmExpressionEvaluator.getUsedVariabl

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-30 Thread jbarrez
anonymous wrote : I think you are understanding 100% what Ronald is explaining: And this should be ofc 'not understanding 100%' ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227485#4227485 Reply to the post : http://www.jboss.org/index.html?module=bb

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-30 Thread jbarrez
I think you are understanding 100% what Ronald is explaining: in you Action Handler class implementation, you can simply use the jBPM ExpressionEvaluator and try to get the variable from this object using the string you use between the #{}. This way, you can use your debugger, system.out, ... w

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-30 Thread swatis
yes thats what expected right. but its not happening... :(... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227483#4227483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227483

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-29 Thread kukeltje
by reading what I stated before. Your variable contains the string you passed to it, including the #{.} and by parsing it with the jBPM EL resolver it will be filled. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227401#4227401 Reply to the post : htt

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-28 Thread swatis
No, that I know. I can use getContext().getVariable() to get the variables used in process instance. But here my question is how can I use varaibles in text content of element #{taskName} I mean in subject element or any other element what is way to access variables? View the original post : h

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-28 Thread kukeltje
in the actionclass run the 'subject' variable though the jBPM el parser. See unittests in the sourcecode how that can be done View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227183#4227183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti