On Tue, May 19, 2009 at 12:37 PM, Li Xiao <[email protected]> wrote: > > I don't get what's mean ":definition_in_launchitem_allowed = false" > for I don't get how to launch a process after set it to false. > > It's not big deal for me to set definition_in_launchitem_allowed as > true, just wondering what's for it. > The examples I read including ruote-web2 and ruote-rest, they all set > definition_in_launchitem_allowed as true.
Hi, (posting back to openwferu-users, not using openwferu-dev anymore, and this is a user question anyway). There are two ways to pass the information about which process to launch to ruote : direct and indirect. "direct" is by feeding the process definition inside of the launchitem. "indirect" is by giving the URL or path to the process definition in the launchitem. The first approach is a bit dangerous; in the second approach, the engine could refuse URL or path outside of certain domains and so. The first approach allows to launch *any* process definition. That's why, by default, :definition_in_launchitem_allowed is set to false, to prevent people from launching any process definition, on the fly. :definition_in_launchitem_allowed = false prevents using the "direct" approach. It all depends on your requirements. Best regards, -- 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 -~----------~----~----~----~------~----~------~--~---
