How to filter subview on a particular tab ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2012 07:47 AM
Hello,
I'd like to filter "new document" button in a particular tab. I assume that I have to filter the "SUBVIEW_UPPER_LIST" with id "create" on my new tab. May be I have to write an EL condition but I don't know the exact syntax. Or may be there's another way to do so ?
Here's my extension point :
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
<action id="TAB_UNR_PICTURE_BOOK"
link="/widgets/unr_book_view03.xhtml" order="50"
enabled="true"
label="livre">
<category>VIEW_ACTION_LIST</category>
<filter id="display_unr_picture_book">
<rule grant="true">
<permission>AddChildren</permission>
</rule>
</filter>
</action>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="filters">
<filter id="create">
<rule grant="false">
<condition>myCondition</condition>
</rule>
</filter>
</extension>
What's the condition to filter this subview whan I'm viewving my tab "TAB_UNR_PICTURE_BOOK" ?
Thank you very much for any help or idea
Regards
Fabrice
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2013 08:39 AM
Hi,
I think you're looking for this documentation
