Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Christopher Oliver
OK. I think you could get that effect by modifying JavaScriptInterpreter.set/getSessionScope(). Right now these associate the scope with the uri prefix of the current environment. Instead, to get the behavior you describe, I guess it should be associated with the top-most parent of the current

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Pier Fumagalli
"Vadim Gritsenko" <[EMAIL PROTECTED]> wrote: > Marcus Crafter wrote: > > >> For systems where a subsitemap represents a new application, >> behaviour would be configured to be as it currently is. > > Why not: for systems where a subsitemap represents a new app, dont > declare anything in the pa

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Marcus Crafter
On Thu, Mar 20, 2003 at 01:30:42PM -0500, Vadim Gritsenko wrote: > Marcus Crafter wrote: > > > > For systems where a subsitemap represents a new application, > > behaviour would be configured to be as it currently is. > > Why not: for systems where a subsitemap represents a new app, dont

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Vadim Gritsenko
Marcus Crafter wrote: For systems where a subsitemap represents a new application, behaviour would be configured to be as it currently is. Why not: for systems where a subsitemap represents a new app, dont declare anything in the parent sitemap you don't want to expose to subsite

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Marcus Crafter
On Thu, Mar 20, 2003 at 09:43:06AM -0800, Christopher Oliver wrote: > Marcus Crafter wrote: > >On Wed, Mar 19, 2003 at 11:44:07PM -0500, Vadim Gritsenko wrote: > > > >>I would suggest behaviour similar to the rest of sitemap components: > >>flows defined in parent sitemap should be available in th

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Christopher Oliver
Marcus Crafter wrote: On Wed, Mar 19, 2003 at 11:44:07PM -0500, Vadim Gritsenko wrote: I would suggest behaviour similar to the rest of sitemap components: flows defined in parent sitemap should be available in the subsitemaps. Is it possible from JavaScript POV - hierarchical organization of sco

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Marcus Crafter
On Wed, Mar 19, 2003 at 11:44:07PM -0500, Vadim Gritsenko wrote: > I would suggest behaviour similar to the rest of sitemap components: > flows defined in parent sitemap should be available in the subsitemaps. > Is it possible from JavaScript POV - hierarchical organization of scopes? I t

Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-19 Thread Vadim Gritsenko
I'm combining two emails into one... Christopher Oliver wrote: What defines an application in Cocoon. Some (not necessarily root) sitemap and all of its subsitemaps can be seen as one application. Sub-sitemaps can be seen as sub-applications... For example, does each get a separate class loa