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

Michael Wechner michael.wechner at wyona.com
Mon Feb 11 15:57:57 CET 2008


simon litwan wrote:

> 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"


thanks, yes :-)

>>
>> 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.


WDOT?

Thanks

Michi

> simon
>
>>
>> Thanks
>>
>> Michi
>>
>
> _______________________________________________
> 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