Hello!
I have tried to add a new action, this action(Run report )
is available only when the user reach a folder (not when the
user creates or is inside a new section or new template,
etc. only when the user is inside a folder) . The action
belongs to the SUBVIEW_UPPER_LIST category , and as I said,
it will be displayed only when we are inside a folder.
So far this action appears only when I am inside a folder
(that is what I wanted) the problem is that other actions
have disappeared, for example, when I am inside the root
Section, I can create a new section, but when I am inside
this new subsection I cannot create another subsection (the
action link "Create a new section" doesn't appear) , also
when I go to the root Template, I cannot create anything,
any action link appears ( like "Create a new Workspace) ,
when I am inside the root Workspace, I can create a new
Workspace , but once I am inside this new subWorkspace I
cannot create anything else. Finally, when I am inside a
folder, I cannot create anything.
Just in case that you are wondering how I created all the
subsections, subWorkspaces , templates and folders , well, I
had to remove my jar file from the plugins folder inside
nxserver and run the nuxeo server without my jar file.
I am using Nuxeo DM 5.4.01 Tomcat, the code to add my new
action (Run report) is in the file actions-contrib.xml, also
I already added the name of this file in the MANIFEST.MF
file. When I do click on my new action , it sends me to the
page that I want (the link is working fine).
Do you have any idea about what is wrong whit my
actions-contrib code? Why do the other actions disappear?
Thanks in advance
<component name="com.tfmx.nuxeo.actions">
<extension
target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<!-- generic actions -->
<action id="runReport" link="run_report" enabled="true"
label="action.run.report"
icon="/icon/action_add_file.gif">
<category>SUBVIEW_UPPER_LIST</category>
<filter id="runReport">
<rule grant="true">
<type>Folder</type>
</rule>
</filter>
</action>
</extension>
<!--
<extension target="com.tfmx.nuxeo.actions.ActionService"
point="filters">
</extension>
-->
</component>
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/