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>
You miss an enclosing <component name="your custom component name"> </component> tag around that. Have your registered your component in the META-INF/MANIFEST.MF file of your jar? -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
