Thank you! John.
Sorry, I should see more carefully next time ;). best regards, sunhao On 2009/09/02, at 13:02, John Mettraux wrote: > > 2009/9/2 孫 顥 <[email protected]>: >> >> hi, John >> some question about render_fluo (opts) funciton >> I can see the process image(picture) from my browser, >> but opts[:tree] is nil. >> How should i know where is the process tree(json), in this >> situation ? > > Hello, > > if you look at the render_fluo function more closely : > > > http://github.com/jmettraux/ruote-web2/blob/93dffd25cd61dd3f97f40fb224c783fadc948eef/app/helpers/application_helper.rb#L128-138 > > you'll notice that the definition (or a pointer to the definition) is > not always stored under the :tree option, it can be found in > :definition, in :process or in :wfid > > render_fluo sets the proc_tree javascript variable and then the > ruote_fluo javascript picks it. > > > Cheers, > > -- > John Mettraux - http://jmettraux.wordpress.com > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
