Re: [OSWorkflow] Adding workflow instance reference to transientVars
Hani Suleiman <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
Declare your action as an entity in another xml file, and then include it multiple times, which should work I think. I still don't see the logic behind having a function that performs an action though, and still insist that it's a bad idea! On Wednesday, June 25, 2003, at 01:31 AM, Walter Chang wrote: > i agree that it should be use with caution but there are things that i > want to do absolutely require it. for instance, i coded a class > called DoAction that given an actionId as <arg>, it would execute that > action (i was trying to reuse/execute actions defined in > global-actions in workflow definition, not just in jave code). of > course i could duplicate the same code that is in > AbstractWorkflow.doAction, but why ? > > Hani Suleiman wrote: > >> Oh, you mean the AbstractWorkflow class? Why? What would this gain >> you? I think it would add the potential for a LOT of bad things (eg, >> what if a function calls an action which calls the function?) If >> you're needing this, then I think you likely have a pretty bad >> design...It IS possible via BasicWorkflow, but highly discouraged. >> >> On Wednesday, June 25, 2003, at 12:21 AM, Walter Chang wrote: >> >>> 'entry' is a reference to WorkflowEntry, through that, i still not >>> able to get to Workflow instance. >>> >>> Hani Suleiman wrote: >>> >>>> Isn't it already in there, with key 'entry'? >>>> >>>> On Tuesday, June 24, 2003, at 11:47 PM, Walter Chang wrote: >>>> >>>>> how about adding workflow instance reference to transientVars? >>>>> this way, functions, conditions, etc. can get to it without having >>>>> to add it to inputs map when initializing workflow. >>>>> >>>>> walter >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: INetU >>>>> Attention Web Developers & Consultants: Become An INetU Hosting >>>>> Partner. >>>>> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >>>>> Commission! >>>>> INetU Dedicated Managed Hosting >>>>> http://www.inetu.net/partner/index.php >>>>> _______________________________________________ >>>>> Opensymphony-developers mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/opensymphony- >>>>> developers >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: INetU >>>> Attention Web Developers & Consultants: Become An INetU Hosting >>>> Partner. >>>> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >>>> Commission! >>>> INetU Dedicated Managed Hosting >>>> http://www.inetu.net/partner/index.php >>>> _______________________________________________ >>>> Opensymphony-developers mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers >>>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: INetU >>> Attention Web Developers & Consultants: Become An INetU Hosting >>> Partner. >>> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >>> Commission! >>> INetU Dedicated Managed Hosting >>> http://www.inetu.net/partner/index.php >>> _______________________________________________ >>> Opensymphony-developers mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: INetU >> Attention Web Developers & Consultants: Become An INetU Hosting >> Partner. >> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >> Commission! >> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >> _______________________________________________ >> Opensymphony-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers >> > > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php