[
https://jira.nuxeo.org/browse/NXP-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=85198#action_85198
]
Florent Guillaume commented on NXP-6085:
----------------------------------------
Declare the schemas in a new <facet> toplevel element of the "doctype"
extension point:
<facet name="Fooable">
<schema name="foo" />
<schema name="bar" />
</facet>
It's also possible to have a facet with no schema. For instance the default
facets are now declared like this:
<facet name="Folderish" />
It is now recommended (but not mandatory) to declare all facets. Failing to do
so will emit a warning:
WARN [SchemaManagerImpl] Document type SomeType uses undeclared facet:
SomeFacet
> Associate facets to schemas
> ---------------------------
>
> Key: NXP-6085
> URL: https://jira.nuxeo.org/browse/NXP-6085
> Project: Nuxeo Enterprise Platform
> Issue Type: Sub-task
> Components: Core
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.4.1
>
>
> Allow the association of a facet to one or several schemas.
> When the facet is used by a document type, the schemas are automatically
> incorporated into that document type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets