Hi,

I plugged yesterday night a new component called
content-template-manager.

This component is responsible for :
 - registring template stucture for content objects like : root of
repository or domain
 - applying template structure when content objects are created

For now this component is used in 2 cases :
  - repository initialization => create default domain
  - domain creation => create Workspaces/Sections ....

The templates can be contributed as simple XML fragment.
See
http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.platform/trunk/nuxeo-platform-content-template-manager/src/main/resources/OSGI-INF/content-template-contrib.xml
for an example.

The old init system (StartupHelper plugged in pages.xml + the
DomainCoreEventListener) are no longer used.
If you project needs a specifc root or domain init, just contribute a
new template and use the standard Nuxeo StartupHelper.

Tiry


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to