On Feb 7, 2008 5:46 PM, Tomaso Tosolini <[EMAIL PROTECTED]> wrote: > Hi John, > thanks for you patience and faith... > > My idea was: OpenWfe::Extras::Workitem should be able to handle both storage > modes at the same time. This allows me to use compact amd non-compact > ActiveParicipants at the same time, for more flexibility. Example: > > <sequence> > <participant ref="NonCompactGuy_01" > > <participant ref="CompactGuy_01" > > <participant ref="NonCompactGuy_02" > > <!-- and so on ... --> > </sequence> > > > To do this i thought that Workitem must receive informations about storage > flavor choosen by ActiveParticipant, and the only way i found to have this > is to set a temporary attribute on workitem that is immediated deleted by > Workitem.from_owfe_workitem. This is mostly due to the fact that the latter > is (as needed) a class method.... > Later when ActiveParticipant replies to engine there's no need to set > compact_field flags because possible subsequent ActiveParticipants will be > free to decide wheter to use or not compact behaviour as they will. > > About the Symbol or String usage there's no constraint, i like both (a > small preference to Symbols, well at the end i'm a math guy :) ). I choosed > string because some times i noticed problems with Symbols, but probably > these were due to my fault.
OK, so let's leave it like that for now. Best regards, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
