Hello again!!
Thanks for your response, i have reviewed my code and after adding the
following rule it has solved my problem:
<versioningRuleEdit name="edit_project" lifecycleState="project"
action="ask_user">
<!-- <option value="no_inc" /> -->
<option value="inc_minor" default="true" />
<option value="inc_major" />
</versioningRuleEdit>
Jesus Ibañez
On Tue, Nov 24, 2009 at 3:56 AM, Florent Guillaume <[email protected]> wrote:
> First, is your file read at all? You should see its name and its
> component name in the startup logs.
>
> Florent
>
> On Mon, Nov 23, 2009 at 10:04 PM, Jesus Ibañez Calvo
> <[email protected]> wrote:
> > Hello everybody!!
> >
> >
> > I want to change the option selected by default in versions of documents,
> I
> > made my own contribution in a file called my-config.xml placed in
> > "server/default/deploy/nuxeo.ear/config/" but nothing changes, my code is
> :
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <component name="com.d5ecm.ecm.platform.actionsContrib">
> > <require>org.nuxeo.ecm.platform.versioning.rules</require>
> >
> > <!--versioning-->
> > <extension
> > target="org.nuxeo.ecm.platform.versioning.service.VersioningService"
> > point="rules">
> >
> > <versioningRuleEdit name="edit_any" lifecycleState="*"
> > action="ask_user">
> > <includeDocType>File</includeDocType>
> > <includeDocType>Note</includeDocType>
> > <option value="no_inc" />
> > <option value="inc_minor" default="true" />
> > <option value="inc_major" />
> > </versioningRuleEdit>
> >
> > </extension>
> >
> > </component>
> >
> >
> > could someone help me on this?
> > --
> > Jesus
> >
> > _______________________________________________
> > ECM mailing list
> > [email protected]
> > http://lists.nuxeo.com/mailman/listinfo/ecm
> > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
> >
> >
>
>
>
> --
> Florent Guillaume, Director of R&D, Nuxeo
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
>
--
Jesus
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm