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: [Flow] sendPage* params and jpath input modules?
Date Mon, 24 Mar 2003 16:54:14 GMT
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.

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