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().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 

Reply via email to