Custom folder : constraints on space name
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 07:50 AM
Hello,
I'd like to create a special type of folder with a list of name!
I thought that i can constraint the cm:name but i think i forget something!
I heard about specialization but don't know how to do it and i can' t find informations
my code is this :
Is my code wrong or must i do it in another manner?
Thanks for the answers,
Yannick
I'd like to create a special type of folder with a list of name!
I thought that i can constraint the cm:name but i think i forget something!
I heard about specialization but don't know how to do it and i can' t find informations
my code is this :
<type name="gr:projectPhaseFolder"> <title>phase de projet</title> <parent>cm:folder</parent> <properties> <property name="cm:name"> <type>cm:name</type> <constraints> <constraint name="gr:folderName" type="LIST"> <parameter name="allowedValues"> <list> <value>20</value> <value>30</value> <value>40</value> <value>45</value> <value>50</value> <value>60</value> </list> </parameter> </constraint> </constraints> </property> </properties> </type>
Is my code wrong or must i do it in another manner?
Thanks for the answers,
Yannick
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 11:43 AM
I know I'm wrong. But i don't know how to be right
I saw in the modelSchema.xsd a structure called overrides but i don't know how to use it!
Can somebody help me about that? I searched the web, the wiki and the forums but i can't find any information
Thanks for your answers,
Yannick

I saw in the modelSchema.xsd a structure called overrides but i don't know how to use it!
Can somebody help me about that? I searched the web, the wiki and the forums but i can't find any information
Thanks for your answers,
Yannick
