cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Oliver" <coli...@SeeBeyond.com>
Subject RE: [Flow] sendPage* params and jpath input modules?
Date Mon, 24 Mar 2003 21:12:31 GMT
Michael,

Can you describe the use case(s) where you want to make flow values available to the sitemap?

Thanks,

Christopher

-----Original Message-----
From: Michael Melhem [mailto:michaelm@fztig938.bank.dresdner.net]
Sent: Monday, March 24, 2003 10:14 AM
To: haul@informatik.tu-darmstadt.de
Cc: cocoon-dev@xml.apache.org; michaelm@apache.org
Subject: Re: [Flow] sendPage* params and jpath input modules?


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