cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: [RT]: InputModules interfaces
Date Tue, 08 Oct 2002 09:46:06 GMT
On 08.Oct.2002 -- 11:17 AM, tcurdt@dff.st wrote:
> Quoting Carsten Ziegeler <cziegeler@s-und-n.de>:
> 
> > Hmm, is it the responsibility of the InputModule to filter?

No.

> > Or is it rather the calling component which gets information
> > from an InputModule that should filter?

Yes.

> > And how would you apply this filter, let's say in the sitemap?
> > Or is it a configuration thing?
> 
> hm... you are right. instead of providing the filter itself we
> could provide the filter name and have filter components.

Or, you could stack these modules and have them implement a filter if
you really want to. Those are the ones I like to call "meta"
modules. See existing code for examples.

> Object getAttribute( String name, Map objectModel, String[] filters) throws 
>   ProcessingException;

Please, don't. Stack your modules if you need to.

> This should also be incorparated into the the request logicsheet, too
> 
> What do you guys think?

AFAIK Jens is working on it.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message