08-26-2008 03:47 AM
<action id="edit_doc_not_pdf_http">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>be.etnic.alfresco.web.action.evaluator.EditDocHttpNotPdfEvaluator</evaluator>
<label-id>edit</label-id>
<image>/images/icons/edit_icon.gif</image>
<action-listener>#{CheckinCheckoutBean.editFile}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
<!– can also specify style, class etc. but this is better done in 'actions' element –>
</action>
<action id="edit_doc_not_pdf_webdav">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>be.etnic.alfresco.web.action.evaluator.EditDocWebDavNotPdfEvaluator</evaluator>
<label-id>edit</label-id>
<image>/images/icons/edit_icon.gif</image>
<!– NOTE: uses the special 'actionContext' object supplied by the parent actions component –>
<onclick>javascript:openDoc('#{actionContext.webdavUrl}');</onclick>
</action>
<action id="edit_doc_not_pdf_cifs">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>be.etnic.alfresco.web.action.evaluator.EditDocCIFSNotPdfEvaluator</evaluator>
<label-id>edit</label-id>
<image>/images/icons/edit_icon.gif</image>
<!– NOTE: uses the special 'actionContext' object supplied by the parent actions component –>
<href>#{actionContext.cifsPath}</href>
<target>cifs</target>
</action>
<action-group id="document_browse">
<action idref="edit_doc_http" hide="true" />
<action idref="edit_doc_webdav" hide="true" />
<action idref="edit_doc_cifs" hide="true" />
<action idref="checkout_doc" hide="true" />
<action idref="edit_doc_not_pdf_http" />
<action idref="edit_doc_not_pdf_webdav" />
<action idref="edit_doc_not_pdf_cifs" />
<action idref="checkout_doc_not_pdf" />
</action-group>
08-26-2008 06:04 AM
11-16-2012 09:56 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.