cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Melhem <micha...@fztig938.bank.dresdner.net>
Subject Re: [Flow] sendPage* params and jpath input modules?
Date Mon, 24 Mar 2003 18:13:59 GMT
On Mon, Mar 24, 2003 at 05:54:14PM +0100, Christian Haul wrote:
> On 24.Mar.2003 -- 03:58 PM, Michael Melhem wrote:
> > Hi lads,
> > 
> > Is there a best practice for making flow values available at
> > the sitemap level (instead of being directly sent to
> > sitemap components)?
> 
> <snip/>
> 
> > However the above two solutions seem more like hacks. A more
> > appropriate solution might the introduction of "jpath input module"
> > as follows:
> > 
> > sendPage*("hello-world",{"value" : calculated_value})
> > 
> >   match pattern="hello-world"
> >   generate...
> >   transform src="client/stylesheet-{{jpath:value}}.xsl
> > 
> > So im thinking of implementing a jpath input module to facilitate the
> > 3rd option.
> 
> Michael,
> I'm not completly up-to-date with the discussion but AFAIR this is
> about to be moved to the objectModel. From there it is POC to write a
> new module drived from AbstractJXPathModule to access it. I think this
> is a good suggestion.

Hi Chris,

Yes, without "FOM" being accessible (from ObjectModelHelper), it might be rather
difficult to implement a "jpath input module". :)

Has there been agreement on adding the necessary extra methods to ObjectModelHelper 
yet...Im not sure whats been decided...? 

Regards,
Michael
> 
> Cheers.
> 
> 	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

Mime
View raw message