Hi again, I'm trying to use a listener to de-couple a common behaviour for some participants.
As I already commented above, I need every participant to behave in a special manner when param :navi is present. I would like "navi" to be a param because params get removed when the workitem is delivered back to the engine. The thing is that the participant invoked by the listener gets a workitem that does not contain the params of the participant that triggered the listener, so it isn't able to do anything with "navi stuff". I thought a different approach. As every participant inherits from LocalParticipant and must implement the "consume" method, I guess I could do some kind of MixIn module or something that every participant may or may no include in order to process that :navi param. That way, a participant that executes the "consume" method, will call first a common "consume" method to process :navi param (the common behaviour) and then the "real" consume method gets executed. Does this sound well? Do you think there is a better way to deal with this situation? Thank you very much for the help and tips. Best regards, Gonzalo. -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
