Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-1282

declaration of content type for structured contents

XMLWordPrintable

    • 1 - Middle term
    • 2 - Normal

      The scheme is bad. It imply an order and moreover to play with name spaces.
      This is not simple for the integrator at all : for example, default-value need the namespace and can not be placed anywhere

      <cms:metadata name="type" type="string">
      	<label>Type</label>
      	<description>Table à laquelle appartient le pouvoir</description>
      	<enumeration>
      	                     	<entry>
      	                     		<label>Primaire</label>
      	                     		<value>P</value>
      	                     	</entry>
      	                     	<entry>
      	                     		<label>Secondaire</label>
      	                     		<value>S</value>
      	                     	</entry>
      	                     	<entry>
      	                     		<label>Exotique</label>
      	                     		<value>E</value>
      	                     	</entry>
      	                     	<entry>
      	                     		<label>Condition</label>
      	                     		<value>C</value>
      	                     	</entry>
      	                     	<entry>
      	                     		<label>Limitation</label>
      	                     		<value>L</value>
      	                     	</entry>
      	</enumeration>
      	<validation>
      		<mandatory />
      	</validation>
      	<cms:default-value>P</cms:default-value>
      </cms:metadata>
      

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: