cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: (don't laugh) single-element logicsheet for accessing sitemap parameters
Date Thu, 13 Mar 2003 12:56:16 GMT
Steven Noels wrote:

> Hi,
>
> to my surprise, I didn't find a clean way (logicsheet) to retrieve the 
> value of a sitemap parameter in an XSP, only request parameters are 
> supported IIUC by request.xsl.
>
> So I cooked up a dead-simple sitemap.xsl logicsheet which offers a 
> get-parameter element which calls parameters.getParameter().
>
> Since I might have overlooked the existence of such a thing 
> (2.0.5-dev)? I'm just checking whether it is OK to commit (as you all 
> know I'm not to be trusted when it comes to code ;-)


So far the logicsheet looks good, but can't this be added to the util 
logicsheet which also gives access to the "resolver" (another predefined 
XSP variable) ? Having a one-tag logicsheet seems overkill to me ;-)

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Mime
View raw message