cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Using WildcardRequestParameterMatcher
Date Wed, 09 Mar 2005 13:50:42 GMT
Ilja Smoli wrote:
> Hi
> Can anybody please point me how to use it?
> Didn't find any docs on this...
> Thx in advance

Looking at the source for it, you can define the parameter you're going 
to use to match against in two places, the second is more likely:

<map:components>
   <map:matchers>
     <map:matcher....
       <parameter-name>yourdefaultparameter</parameter-name>
     </map:matcher>
   </map:matchers>
</map:components>

<map:match pattern="*foo*">
   <map:parameter name="parameter-name" value="yourparameter"/>
   <map:generate ...

Regards, Upayavira

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


Mime
View raw message