hi,
I'm newbie in jBPM and i need some help.
I have designed some process and realized that they include almost same nodes. But, sequence is different or context variables don't have same name.
I don't want to write a class associated to a node in a process, and write another class associated to the same node, but in another process, which differs from the previous one only by the name of the context variable that it uses.
In the best way,this is what I want to achieve:write a class associated to a node, and uses this node in other process definition without have to change the code.
Is there a pattern to handle this situation?
Thanks.[/img]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046796#4046796
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046796
Replying to myself again:
MyFaces does a similar thing:
| if (List.class.isAssignableFrom(valueType)) {
|
| // do something
|
| }
|
| if (!valueType.isArray())
| {
| throw new IllegalArgumentException("ValueBinding for UISelectMany : "+getPathToComponent(component)+" must be of type List or Array");
| }
|
So, please close Bug 1302 as unfixable.
Regards
Felix
P.S.: Will update JIRA with a link to the is thread.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046792#4046792
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046792