cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunsberger, Peter" <Peter.Hunsber...@STJUDE.ORG>
Subject RE: [RT] applying SoC on cocoon itself
Date Wed, 20 Oct 2004 21:43:01 GMT
Luigi Bai <> writes:

> And what would happen to:
>              Map params = new java.util.HashMap();
>              params.put("username", this.defaultUser);
>              params.put("password", this.defaultPass);
>              Source cSource = this.resolver.resolveURI(source, null, 
> params);

Not giving it much thought, but couldn't you solve that with modules on
the source?
> Like it or not, there are still many places the Locator 
> pattern is valid. 
> Using Selectors, for example. You can't solve *everything* 
> with direct 
> injection.

Yah, but with the possible exception of Selectors, sitemap already gives
you indirect lookup, you may not need it directly in the generators?  Or
am I missing something?


View raw message