cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: Request URI in FOM [was: Re: How to use input modules in flow]
Date Fri, 15 Aug 2003 09:21:41 GMT

From: news [mailto:news@sea.gmane.org]

> 
> 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 instead of Cocoon?
> 
> BTW, is it a good approach regarding SoC to include 
> FlowScript support in custom components? Or would it be 
> better to implement a FOMAccessControllerResolver which calls 
> the actual AccessControllerResolver?

the second alternative sounds good. So your implementation can be easily
reused by other non FOM based applications.

Reinhard 


Mime
View raw message