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

simon litwan simon.litwan at wyona.com
Wed Apr 9 14:59:33 CEST 2008


hi all

i would like to extend the rc-map to allow matching for 
requestparameters and 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.

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

simon




More information about the Yanel-development mailing list