RE: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-15 Thread Reinhard Pötz
From: news [mailto:[EMAIL PROTECTED] > > Reinhard Pötz wrote: > > [...] > > > What about > > > > resolveAccessController(Cocoon cocoon); > > > > and in the component > > > > public xxx resolveAccessController( Cocoon cocoon ) { > > String uri = cocoon.getRequest().getReq

Re: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-15 Thread Andreas Hartmann
Reinhard Pötz wrote: [...] What about resolveAccessController(Cocoon cocoon); and in the component public xxx resolveAccessController( Cocoon cocoon ) { String uri = cocoon.getRequest().getRequestURI() } Thank you, I will try this. I guess you mean FOM_Cocoon in

RE: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-15 Thread Reinhard Pötz
On Behalf Of Andreas Hartmann > Reinhard Pötz wrote: > > >>The FOM request does not contain a getRequestURI() method. > > > > Another question: What is your usecase? > > It's about the administration of users, groups etc. in Lenya. > > There is an Avalon component AccessControllerResolver whi

Re: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-15 Thread Andreas Hartmann
Reinhard Pötz wrote: The FOM request does not contain a getRequestURI() method. Another question: What is your usecase? It's about the administration of users, groups etc. in Lenya. There is an Avalon component AccessControllerResolver which resolves the access controller component that is respon

RE: How to use input modules in flow

2003-08-14 Thread Reinhard Pötz
From: news [mailto:[EMAIL PROTECTED] > Reinhard Pötz wrote: > > >>The FOM does not provide access to input modules, does it? > So, what is > >>the recommended way to get an object from an Avalon component? > > > > var myComp = cocoon.getComponent("myComp.ROLE"); > > var myObj = myComp.mymeth

Re: How to use input modules in flow

2003-08-14 Thread Andreas Hartmann
Reinhard Pötz wrote: The FOM does not provide access to input modules, does it? So, what is the recommended way to get an object from an Avalon component? var myComp = cocoon.getComponent("myComp.ROLE"); var myObj = myComp.mymethod(); Thanks for your fast answer! I guess the component is automa

RE: How to use input modules in flow

2003-08-14 Thread Bruno Dumon
On Thu, 2003-08-14 at 12:37, Reinhard Pötz wrote: > From: news [mailto:[EMAIL PROTECTED] > > > Reinhard Pötz wrote: > > > > >>The FOM does not provide access to input modules, does it? > > So, what is > > >>the recommended way to get an object from an Avalon component? > > > > > > var myComp =

RE: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-14 Thread Reinhard Pötz
From: news [mailto:[EMAIL PROTECTED] > Thank you for your relies to my previous message! > > > I have another question: > > The FOM request does not contain a getRequestURI() method. > In the wiki I've read that URI handling is not supported > because this is not necessary. How should the req

RE: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-14 Thread Reinhard Pötz
From: news [mailto:[EMAIL PROTECTED] > The FOM request does not contain a getRequestURI() method. Another question: What is your usecase? Cheers, Reinhard

Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-14 Thread Andreas Hartmann
Thank you for your relies to my previous message! I have another question: The FOM request does not contain a getRequestURI() method. In the wiki I've read that URI handling is not supported because this is not necessary. How should the request URI be obtained? Thanks! Andreas

Re: Request URI in FOM [was: Re: How to use input modules in flow]

2003-08-14 Thread Miles Elam
What makes it more special than getRequestMethod(), the hostname, or reading cookie data? Those can be gathered in the sitemap and passed as parameters too can't they? Not arguing, just trying to figure out the distinction. - Miles Elam The FOM request does not contain a getRequestURI() meth

RE: How to use input modules in flow

2003-08-14 Thread Reinhard Pötz
From: news [mailto:[EMAIL PROTECTED] > Hi Cocoon developers, > > I just updated from 2.1-M1 to 2.1 and noticed that the > inputModuleGetAttribute() function is no longer supported. Yep legacy support for cocoon.input("..") and cocoon.act("..") has not been implemented yet > The purpose of th