cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: Can I do this?
Date Tue, 25 Mar 2003 22:29:18 GMT
Checkout input modules - they should be available in 2.04. They grant
you easy access to the request parameters.

<map:generate type="file" src=http://blablabla?term={request:query}/>

Regards,
Reinhard


-----Original Message-----
From: joaocesar@duploclique.com [mailto:joaocesar@duploclique.com] 
Sent: Tuesday, March 25, 2003 10:54 PM
To: cocoon-users@xml.apache.org
Subject: Can I do this?


Can I (?) do anything like this:

<map:match pattern="search?query=*">
        <map:generate type="file" src=http://blablabla?term={1}/>
        <map:transform type="xslt" src="stylesheets/search2html.xsl"/>
        <map:serialize type="html"/>
</map:match>

I've found that if I do (...) pattern="*.search"> (...)  it works, and i
can do for example "search phrase".search in the address bar and it
matches with the generate prototype.. but i want to use that notation to
match a GET form.

Thanks

João César
joaocesar@netcabo.pt


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


Mime
View raw message