Hi Juan Pedro,
On 9/6/07, Juan Pedro Paredes <[EMAIL PROTECTED]> wrote: > > 1º edge densha with edge WFE-ru > --------------------------------------------- > svn propset "openwfe-ruby > http://openwferu.rubyforge.org/svn/trunk/openwfe-ruby" > vendor > svn update > > Index: config/openwferu_engine.rb > =================================================================== > --- config/openwferu_engine.rb (revisión: 992) > +++ config/openwferu_engine.rb (copia de trabajo) > @@ -1,6 +1,7 @@ > > #$LOAD_PATH << "~/openwfe-ruby/lib" > $LOAD_PATH << "../openwfe-ruby/lib" > +$LOAD_PATH << "vendor/openwfe-ruby/lib" In http://openwferu.rubyforge.org/rquickstart.html I recommend to check out 'openwfe' directly to vendor/ so that Rails picks up immediately the lib. I have nevertheless integrated this patch. Thanks ! > > > 2º rails route defaults > ------------------------------ > rm public/index.html > > Index: config/routes.rb > =================================================================== > --- config/routes.rb (revisión: 992) > +++ config/routes.rb (copia de trabajo) > @@ -12,7 +12,9 @@ > # You can have the root of your site routed by hooking up '' > # -- just remember to delete public/index.html. > # map.connect '', :controller => "welcome" > + map.connect '', :controller => 'login' Patched. Thanks a lot ! I have also removed rails.png. > 3º Branch Process definition render > For this proccess definittion the render only shows "case" > > class UserCallCenter < OpenWFE::ProcessDefinition > sequence do > # The user call to call center and ucc fills the ticket > _set :field => "subject", :value => "ucc" > _set :field => "department", :value => "CHANGE ME PLEASE" > _set :field => "description", :value => "Something > descriptive" > _set :field => "severity", :value => "low" > ucc > #the flow branch depending of department value > _case do > equals :field_value => "department", :other_value => > "sales" > sales > equals :field_value => "department", :other_value => > "stock" > stock > equals :field_value => "department", :other_value => "it" > it > equals :field_value => "department", :other_value => > "marketing" > marketing > end > #back to user call center to assure conformity with user > ucc > end > end I still have to implement the rendering of many expressions, among them "if" and "case" (maybe I'll implement them within the same javascript class). Note that your process can be written as : ---8<--- class UserCallCenter < OpenWFE::ProcessDefinition sequence do # The user call to call center and ucc fills the ticket _set :field => "subject", :value => "ucc" _set :field => "department", :value => "CHANGE ME PLEASE" _set :field => "description", :value => "Something descriptive" _set :field => "severity", :value => "low" ucc #the flow branch depending of department value subprocess :field-ref => "department" # or subprocess :ref => "${f:department}" # or maybe it's just a participant # participant :field-ref => "department" #back to user call center to assure conformity with user ucc end end --->8--- I guess I'll have to implement the "subprocess" javascript class very quickly for you. Best regards and thanks a lot for the patches, welcome on board, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
