On Mon, Jun 2, 2008 at 11:09 PM, Diego Moreno <[EMAIL PROTECTED]> wrote: > > I solved this using hidden text inputs in html formulary for launcher > variable. But I dont like this solution because the user can change > potentially the value of this variable.
Hello Diego, maybe you could "hide" the field via javascript and have a button for showing it (see [1] which is included in Rails and therefore in ruote-web), so that the user could unhide the input field and change its value at will. > In the other hand, I have done some tests to get some data persistentance > through workflow, from one workitem to the next one. > I have seen that fields are overwritten in ruote-web but variables seem > persistent. But I do not see > where the variables are saved. I do not see them in the database, or > cookies, or runtime variables. > > Then, where the variables are saved? That may be the solution to my problem. > But there must be something that I'm not looking. The variables are stored in "environment" expressions which correspond to the scopes in the process definition languages. All the expressions are stored in an expression storage. By default, ruote-web stores the expression in files under work_development/expool/ Variables are not accessible outside of the engine as workitems are. You can copy the value of a variable into a workitem field (attribute) with the "set" expression. You might also want to take a look at "filter" and "filter-definition" (see [2]), unfortunately these filter mechanisms are not fully supported in ruote-web (only in ruote itself). [1] http://www.prototypejs.org/ [2] http://openwferu.rubyforge.org/expressions.html#exp_filter Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
