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 for sitemap variables
Date Tue, 28 May 2002 14:01:54 GMT
On 27.May.2002 -- 10:32 AM, Christian Haul wrote:
> On 26.May.2002 -- 01:35 PM, Sylvain Wallez wrote:
> > Christian Haul wrote:
> > >On 24.May.2002 -- 04:00 PM, Sylvain Wallez wrote:
> > >
> > >>Chris, what about passing the full object model instead of just the 
> > >>Request to {Input, Output}Modules ? This would allow a wider range of 
> > >>implementations.
> 
> Almost done. It causes some larger modifications to the new
> DatabaseActions since they cannot inherit the central setColumn method
> anymore. 

OK, I'm done. Modules now use objectModel instead of the request
object. Necessary changes to actions / matchers that currently use
modules are finished.

Now someone more knowledgeable of the sitemap variables'
implementation can tackle the suggestion. :-)

To followup on Nicola Ken's comment, we could have a sitemap: pseudo
protocol for variables as we know them now and a module: pseudo
protocol for input modules. 

Like

<map:generate src="sitemap:1"/> 
<!-- sitemap variable named "1" -->

<map:generate src="module:request-param:name"/> 
<!-- value obtained from input module "request-param" for an attribute named "name" -->

<map:generate src="file.xml"/> 
<!-- value "file.xml" or should we have "value:file.xml" ?  -->

<map:generate src="cocoon://file.xml"/> 
<!-- value obtained from other pipeline -->


	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