Piroumian Konstantin wrote: >>From: Jeff Turner [mailto:[EMAIL PROTECTED]] >>On Tue, Oct 08, 2002 at 01:17:28PM +0400, Piroumian >>Konstantin wrote: ... >> >>>>So the user would say {default:skin}, and get the 'skin' >>>>request parameter, or if not present, 'defaultSkin'. >>>> >>>>IMO this is backwards. The user should use {request:skin}, >>>>not {defaults:skin}. >>>> >>>>What do people think? Chris? >>> >>>I imagine this a little different, e.g.: >>> >>> <component-instance >>>class="org.apache.cocoon.components.modules.input.SkinModule" >>> logger="core.modules.input" name="skin"> >>> <input-module name="request-param"/> >>> <input-module name="skin-defaults"/> >>> </component-instance> >> >>Oo.. that's a good idea. Say we've got all these modules >>floating about loose, and then we have a 'glue' module that >>can stick together a bunch of them. > > > Exactly this I've been trying to say all this time. Seems that it's time to > went to some English courses ;) > > >><component-instance class="...GlueModule" name="forwards"> >> <input-module name="A"/> >> <input-module name="B"/> >> <input-module name="C"/> >></component-instance> >> >><component-instance class="...GlueModule" name="backwards"> >> <input-module name="C"/> >> <input-module name="B"/> >> <input-module name="A"/> >></component-instance> > > > Exactly!
Sorry but I totally lost you people and I have the impression that many round here have the same problem (look at Carsten that woke up only very recently on this input-module thing :-P Hey, remember we are supposed to be anti-FS knights, ok? :) So, what the heck is this 'glue' thing? And why is Torsten is talking about "filters"? gosh, don't you people think we already have enough concepts and components and models and names? (expecially when they are so widely used that nobody really knows if the user already knows the concept or has to relearn it from scratch) Sorry for playing devil's advocate, but that's my self-inflicted role, you know? :) -- Stefano Mazzocchi <[EMAIL PROTECTED]> -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]