I think problem can be in order of merging of <actions>. If you write <action id="the_action_id" enabled="false" />
and your contribution is processed before other similar contribution, like: <action id="the_action_id" ><!--enabled="true" is by default --> <filter .../> </...> then actions will be merged and final result will be with enabled="true". I think one solution is to make your component to depend ( <component ...><required> ...</required>... ) on all other components that contributes this action. I think this is not good solution if action is contributed in many not self related plugins. Other solution is to make filter that is always denying and attach it to the action. Finally you can debug ActionService (by memory, I'm not sure if this is the exact name) in order to inspect why action is available/enabled and order of action contributions. Good luck. On Tue, Nov 10, 2009 at 11:35 AM, Federica Boffa <[email protected]> wrote: > I write the code in action-contrib.xml but is not functionally...the icons > are visible again > I want to remove in the mode phisical the icon. > > Any idea? css? xhtml? > > Thank you > > ------------------------------ > Date: Mon, 9 Nov 2009 14:27:09 +0200 > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: Re: [Ecm] Remove download - print - export > > > Federica Boffa wrote: > > Hi, > I want to know how remove the possibility to download or print or export a > document in nuxeo?! > ------------------------------ > Windows Live Today: Resta aggiornato sulle attività dei tuoi amici su > Flickr, Dada e > MySpace<http://www.microsoft.com/italy/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:it-it:SI_SB_3:092009> > > ------------------------------ > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > > > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm > > These actions are defined in various modules (in action-contrib.xml > files), as being part of DOCUMENT_UPPER_ACTION category. You can disable > them in your own contribution: <action id="the_action_id" enabled="false" /> > > C. > > ------------------------------ > Windows Live Today: Resta aggiornato sulle attività dei tuoi amici su > Flickr, Dada e > MySpace<http://www.microsoft.com/italy/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:it-it:SI_SB_3:092009> > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm > >
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
