05-30-2008 03:49 AM
05-30-2008 05:25 AM
05-30-2008 06:48 AM
05-30-2008 07:15 AM
06-04-2008 08:26 PM
06-05-2008 05:33 AM
<!– Define actions to create and edit content –>
<config>
<actions>
<!– Custom Create content Wizard–>
<action id="custom_create_content">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>custom_create_content_wizard</label-id>
<image>/images/icons/new_content.gif</image>
<action>wizard:customCreateContent</action>
</action>
<!– Custom Edit content Wizard (IT DOESN'T WORK YET!!!!)–>
<action id="custom_edit_content">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<label-id>custom_create_content_wizard</label-id>
<image>/images/icons/edit_icon.gif</image>
<action>wizard:customCreateContent</action>
<!– <action-listener>#{CheckinCheckoutBean.editFile}</action-listener> –>
<action-listener>#{WizardManager.setupParameters}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
</actions>
</config>
<!– Custom create content wizard –>
<config>
<wizards>
<wizard name="customCreateContent"
managed-bean="CustomCreateContentWizard"
title-id="custom_create_content_wizard_title"
description-id="create_content_desc"
icon="/images/icons/new_content_large.gif">
<step name="chooseType" title-id="details"
description-id="create_content_step1_desc">
<page
path="/jsp/extension/wizard/custom-create-content/chooseType.jsp"
title-id="create_content_step1_title"
description-id="create_content_step1_desc"
instruction-id="default_instruction" />
</step>
<step name="contentData" title-id="enter_content" description-id="create_content_step2_desc">
<condition if="#{CustomCreateContentWizard.objectType == '{http://www.mydomain.es/intranet/model/1.0}article'}">
<page path="/jsp/extension/wizard/custom-create-content/article/main.jsp"
title-id="create_content_step2_title"
description-id="create_content_step2_desc"
instruction-id="default_instruction" />
</condition>
</step>
<step name="summary" title-id="summary"
description-id="summary_step_description">
<page path="/jsp/wizard/summary.jsp"
title-id="summary" description-id="summary_desc"
instruction-id="content_finish_instruction" />
</step>
</wizard>
</wizards>
</config>
<action-group id="document_browse">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<!– MY CHANGE –>
<!–<action idref="edit_doc_http" />–>
<action idref="custom_edit_content" />
<action idref="edit_doc_webdav" />
<action idref="edit_doc_cifs" />
<action idref="checkout_doc" />
<action idref="checkin_doc" />
<action idref="details_doc" />
<action idref="delete_doc" />
<!– Example action defined in-line rather than by reference
<action id="example2_checkout_doc">
<permissions>
<permission allow="true">CheckOut</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.CheckoutDocEvaluator</evaluator>
<label-id>checkout</label-id>
<image>/images/icons/CheckOut_icon.gif</image>
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
<action>checkoutFile</action>
</action>–>
</action-group>
<!– MY CHANGE –>
<action-group id="browse_create_menu">
<!–<action idref="create_content" /> –>
<action idref="custom_create_content" />
<action idref="create_form" />
<action idref="create_website_wizard" />
<action idref="create_space" />
<action idref="create_space_wizard" />
</action-group>
10-28-2008 07:11 AM
02-08-2009 11:14 PM
02-04-2010 07:28 PM
07-10-2010 03:25 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.