Hello
I have tried to create an extension point for the
ContentViewService, so far I have named my file
contentviewervice-contrib.xml ,
content-view-service-contrib.xml, but it looks like those
are not the right name. Does anyone knows what is the right
file name of the extension point for the
ContentViewService???
This is the file (I just need to know how to name it):
<extension
target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
point="contentViews">
<contentView name="document_content">
<coreQueryPageProvider>
<property
name="coreSession">#{documentManager}</property>
<pattern>
SELECT * FROM Document WHERE ecm:parentId = ?
AND ecm:isCheckedInVersion = 0
AND ecm:mixinType != 'HiddenInNavigation'
AND ecm:currentLifeCycleState != 'deleted'
</pattern>
<parameter>#{currentDocument.id}</parameter>
<sort column="dc:title" ascending="true" />
<pageSize>20</pageSize>
</coreQueryPageProvider>
<cacheKey>#{currentDocument.id}</cacheKey>
<cacheSize>10</cacheSize>
<refresh>
<event>documentChanged</event>
<event>documentChildrenChanged</event>
</refresh>
<resultLayouts>
<layout name="document_listing_ajax"
title="document_listing"
translateTitle="true"
iconPath="/icons/document_listing_icon.png"
showCSVExport="true" showPDFExport="true" />
<layout
name="document_listing_ajax_compact_2_columns"
title="document_listing_compact_2_columns"
translateTitle="true"
iconPath="/icons/document_listing_compact_2_columns_icon.png
" />
<layout name="document_listing_ajax_icon_2_columns"
title="document_listing_icon_2_columns"
translateTitle="true"
iconPath="/icons/document_listing_icon_2_columns_icon.png"
/>
</resultLayouts>
<selectionList>CURRENT_SELECTION</selectionList>
<actions category="CURRENT_SELECTION_LIST" />
</contentView>
</extension>
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/