cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Pattern wildcards meaning
Date Sun, 01 Sep 2002 04:12:41 GMT
Daniel Fournier wrote:

>Hi everybody,
>Samples provided with Cocoon dist. use path-like style to parameterize 
>patterns, e.g.
><map:match pattern="*/*">
>where, for instance, in sitemap administrator mind, 1st * is meaning "source 
>#1" and 2nd * "source #2" (these wildcards beeing use to aggregate two 
>Why not use a more verbose pattern like:
><map:match pattern="aggregate[source1=*][source2=*]">
>using an XPath predicate-like style?

If you are talking about wildcard URI matcher (that's samples' default 
matcher), and if you want your URI look like this, you can use it. Or 
you can have request parameter with such value (and use request 
parameter matcher).


>This way, you don't need to comment the pattern and everybody can immediatly 
>understand it.
>What are Cocoon developers and users thinking of this suggestion ?
>Daniel Fournier

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message