you might want to look into the RequestParameterAction

http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/matching/RequestParameterMatcher.html
http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/src/java/org/apache/cocoon/matching/RequestParameterMatcher.java?rev=1.1&content-type=text/vnd.viewcvs-markup

<map:match pattern="query">
  <map:generate src="http://whatever/andsome?term={1}"; />
</map>


if you need more then one request parameter it might be easier to use the RequestParameterAction:
http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/acting/RequestParamAction.html



-marc=



[EMAIL PROTECTED] wrote:
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
[EMAIL PROTECTED]

-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://radio.weblogs.com/0116284/ [EMAIL PROTECTED] [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to