[Yanel-dev] [PROPOSAL] extend rc-map to allow additional matcher-types

Michael Wechner michael.wechner at wyona.com
Wed Apr 9 21:10:24 CEST 2008


simon litwan wrote:

> hi all
>
> i would like to extend the rc-map to allow matching for 
> requestparameters and more.


what is "more"?

>
> first i would like propose a modified structure of the rc-map xml.
>
> <?xml version="1.0"?>
> <yanel:rc-map xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
>
>  <yanel:rc-map-config>
>    <yanel:rc-map-matcher-config type="requestparameter" 
> class="org.wyona.yanel.core.rc.matchers.RequestParameterMatcher"/>
>  </yanel:rc-map-config>
>
>  <yanel:matchers>
>    <yanel:matcher type="requestparameter" 
> pattern="yanel.resource.usecase.search" rcpath="/search.yanel-rc"/>
>    <yanel:matcher pattern="/**.html" rcpath="/html.yanel-rc"/>
>  </yanel:matchers>
>
> </yanel:rc-map>
>
> please comment on this.


I would suggest also to include the "default" matcher type.

What about backwards compatibility?

>
> maybe the best would be to add a wikipage about this proposal where i 
> could add more information.


sure (http://documentation.yanel.wyona.org/)

Cheers

Michi

>
> simon
>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list