11-15-2012 07:52 AM
11-15-2012 08:53 AM
<config evaluator="string-compare" condition="action-asign-form">
<forms>
<form>
<field-visibility>
<show id="comment"/>
</field-visibility>
<appearance>
<field id="comment" label-id="erry.comment">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
<!– Actions –>
<config evaluator="string-compare" condition="DocLibActions">
<actions>
<action id="erry-sign" type="javascript" label="actions.erry-sign" icon="erry-sign">
<param name="function">onActionFormDialog</param>
<param name="itemKind">action</param>
<param name="itemId">action-asign-form</param>
<permissions>
<permission allow="true">Write</permission>
</permissions>
<param name="action">signAction</param>
<param name="successMessage">message.sign.disabled</param>
<param name="failureMessage">message.sign.failure</param>
<evaluator>erry.evaluator.doclib.action.signHistory</evaluator>
</action>
</actions>
<actionGroups>
<actionGroup id="document-browse">
<action index="500" id="erry-sign" />
</actionGroup>
<actionGroup id="document-details">
<action index="500" id="erry-sign" />
</actionGroup>
</actionGroups>
</config>
06-05-2013 10:34 AM
<config evaluator="string-compare" condition="signAction">
<forms>
<form>
<field-visibility>
<show id="comment"/>
</field-visibility>
<appearance>
<field id="comment" label-id="erry.comment">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
<!– Actions –>
<config evaluator="string-compare" condition="DocLibActions">
<actions>
<action id="erry-sign" type="javascript" label="actions.erry-sign" icon="erry-sign">
<param name="function">onActionFormDialog</param>
<param name="itemKind">action</param>
<param name="itemId">signAction</param>
<permissions>
<permission allow="true">Write</permission>
</permissions>
<param name="successMessage">message.sign.disabled</param>
<param name="failureMessage">message.sign.failure</param>
<evaluator>erry.evaluator.doclib.action.signHistory</evaluator>
</action>
</actions>
<actionGroups>
<actionGroup id="document-browse">
<action index="500" id="erry-sign" />
</actionGroup>
<actionGroup id="document-details">
<action index="500" id="erry-sign" />
</actionGroup>
</actionGroups>
</config>
05-21-2014 07:40 AM
06-10-2013 11:07 PM
<bean id="action-asign-form" class="path of the class file in which you have implemented your action executer" parent="action-executer">
<property name="nodeService">
<ref bean="NodeService" />
</property>
</bean>
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.