[Yanel-dev] Resource creation without creating a resource configuration

simon litwan simon.litwan at wyona.com
Mon Feb 11 14:53:59 CET 2008


Michael Wechner schrieb:
> Hi
>
> The "resource creator" resource currently allows to customize which 
> resource shall be created and and how the resource configs shall be 
> set, e.g.
>
>  <yanel:custom-config>
>    <rc:resource-types 
> xmlns:rc="http://www.wyona.org/yanel/resource/resource-creator/1.0">
>      <rc:resource-type name="wiki" 
> namespace="http://www.wyona.org/yanel/resource/1.0">
>        <rc:display-name>Wiki Page</rc:display-name>
>        <rc:property name="xslt" value="/xslt/global.xsl"/>
>      </rc:resource-type>
>
>
> The problem is that in some cases there exists an map.rc-map which has 
> some patterns defined and hence it's so good if a resource config is 
> being created, because it overwrites the pattern within the map.rc-map 
> for this specific resource.
you probably mean: "and hence it's NOT so good"
>
> Hence I would like to suggest to enhance the "resource creator" 
> resource by allowing to suppress the resource config creation, e.g.
>
>  <yanel:custom-config>
>    <rc:resource-types 
> xmlns:rc="http://www.wyona.org/yanel/resource/resource-creator/1.0">
>      <rc:resource-type name="wiki" 
> namespace="http://www.wyona.org/yanel/resource/1.0">
>        <rc:display-name>Wiki Page</rc:display-name>
>        <rc:resource-config create="false"/>
>      </rc:resource-type>
>
> WDYT?
i think this would make sense.
what about
<rc:resource-config-file create="false"/>
or even
<rc:create-resource-config-file>false</rc:create-resource-config-file>

maybe there are better namings.
simon
>
> Thanks
>
> Michi
>



More information about the Yanel-development mailing list