anonymous wrote : 1) how can my action class signal which transition to take
(e.g. "go north)?
It shouldn't, actions in classes should not end the nodes themselves and take a
transition
anonymous wrote : 1b) As I understand it my action class will be called when
end() is called, right?
yes
anonymous wrote : 1c) so how can the action class determine which path to
take, can I still call end("go north")?By implementing some logic, use a
businessrule, ask a clairvoyant....
anonymous wrote : 2a) the setting of variables, e.g. "memberVarInActionClass1",
can they only be contants defined in the xml?
No, it could be just a string which you use as a reference to a real
procesvariable. Be creative, lost of possibilities and not many wrong ones
anonymous wrote : 2b) Or could I for example say in the process definition
that I want this member variable to be set to the same value as some variable
in the process instance? (so that the action class does not need to fetch the
processinstance variables himself...)
No not directly, but as mentioned in the previous question, you could use it as
a string and use that to fetch the value of the processvariable in the
actionhandler
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935032#3935032
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935032
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user