cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Claude Moissinac <jcmoissi...@gmail.com>
Subject Re: Source from a parameter in the URL
Date Thu, 31 Mar 2005 20:49:16 GMT
The answer is very simple
		<map:match pattern="filter">
			<map:generate src="{request-param:src}"/>
...
for a request
http:\\mycocoon\filter?src=mystring

On Wed, 30 Mar 2005 10:43:18 +0200, Jean-Claude Moissinac
<moissinac@enst.fr> wrote:
> Hello
> 
> I need to use an URL parameter as the source of a pipeline
> (something like http:\\mycocoon?src=mystring where mysource could be
> anything: a file name, an URL...)
> and I don't see clearly a good method.
> 
> I think the question could be:
> how can I use a parameter in the URL as the src attribute in a generator?
> (something like <map:generate src="mystring"/> for the previous sample)
> 
> --
> Jean-Claude Moissinac
> 
> 


-- 
-- 
Jean-Claude Moissinac
Department of Computer Science and Networks
ENST Paris
FRANCE

E-mail: moissinac@enst.fr
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58

http://shadok.enst.fr/jcm

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message