Hi everybody,
I have a new type of document. 
I assign it the name (title):
- if I choose to assign to dublincore:title it works fine (in layout-contrib 
--> dc:title)
- if I choose to assign to schema of type document it works not fine (in 
layout-contrib --> annoinc:anno) and the title is an ID with number and letter

I follow the lesson of Ian's book (the solution and the add of schema heading) 
but I don't find my solution.
When I insert heading appear my schema and the schema of heading.
Please help me.
This is my code:

<doctype name="Anno_Incarti" extends="Document">
<schema name="common" />
<schema name="dublincore" />
<schema name="anno_incarti" />
<facet name="Folderish" />
<facet name="Indexable" />
</doctype> 

<schema name="anno_incarti" src="schemas/anno_incarti.xsd" prefix="annoinc"/>



<type id="Anno_Incarti" coretype="Anno_Incarti">
<label>Periodo incarto</label>
<icon>/icons/folder.gif</icon>
<default-view>view_documents</default-view>
<deniedSubtypes>
<type>File</type>
<type>Note</type>
<type>Folder</type>
</deniedSubtypes>
<subtypes>
<type>Incarto</type>
</subtypes>
<layouts mode="any">
<layout>anno_incarti</layout>
</layouts>
</type> 


<layout name="anno_incarti">
<templates>
<template mode="any">/layouts/layout_default_template.xhtml</template>
</templates>
<rows>
<row><widget>anno</widget></row>
</rows> 
<widget name="anno" type="template">
<labels><label mode="any">Anno incarto</label></labels>
<translated>false</translated>
<fields><field>annoinc:anno</field></fields>
<properties mode="any">
<property name="required">true</property>
<property name="template">/widgets/anno_template.xhtml</property>
</properties>
</widget>
</layout>                                         
_________________________________________________________________
Curiosità, trucchi e consigli per il tuo Messenger!
http://www.messenger.it
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to