2 questions : - did you trash your repository DB before testing ? - did you add deal with component dependencies to be sure your contribution is deployed after the default one ?
Le lundi 29 octobre 2007 à 15:15 +0100, Richard C. Hidalgo Lorite a écrit : > Thx a lot but it does not work for me...what i'm doing to, for example > translate Domain, Sections, Templates and Workspaces. > > -I'm my own plugin I create a file content-template-contrib.xml under > OSGI-INF. > -I put this inside: > > <extension > target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService" > point="factoryBinding"> > > <factoryBinding name="RootFactory" factoryName="SimpleTemplateFactory" > targetType="Root"> > <template> > <templateItem typeName="Domain" id="default-domain" title="Dominio > por defecto" description="Dominio por defecto de Nuxeo 5"/> > </template> > </factoryBinding> > > <factoryBinding name="DomainFactory" factoryName="SimpleTemplateFactory" > targetType="Domain"> > <template> > <templateItem typeName="WorkspaceRoot" id="workspaces" > title="Espacios de trabajo" description="Espacios de trabajo"/> > <templateItem typeName="SectionRoot" id="sections" title="Secciones" > description="Secciones"/> > <templateItem typeName="TemplateRoot" id="templates" > title="Plantillas" description="Plantillas"/> > </template> > </factoryBinding> > > </extension> > > -Deployed to plugins directory of Nuxeo installation. > -On server startup and log in I got Workspaces, Secions, Templates instead of > translated ones..... > > Thx a lot. > > rich > > > On Sun, 28 Oct 2007 23:41:23 +0100 > Tiry <[EMAIL PROTECTED]> wrote: > > > Le dimanche 28 octobre 2007 à 10:15 +0100, [EMAIL PROTECTED] a écrit : > > > and how can I mess with it? > > > > > > I need to have a clean domain without workspaces, section > > > nor templates root and having a root spaces of my own. > > 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 > > > > > > > > thx in advance. > > > > > > rich > > > _______________________________________________ > > > ECM mailing list > > > [email protected] > > > http://lists.nuxeo.com/mailman/listinfo/ecm > > > > > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
