SHARE
TWEET

Untitled

a guest Jan 23rd, 2017 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <config evaluator="string-compare" condition="DocLibActions">
  2.         <actions>
  3.             <action id="request-signature" icon="portasigma" type="javascript" label="action.request-signature.label">
  4.                 <param name="function">onActionFormDialog</param>
  5.                 <param name="itemKind">action</param>
  6.                 <param name="itemId">request-signature</param>
  7.                 <param name="mode">create</param>
  8.                 <param name="destination">{node.nodeRef}</param>
  9.                 <param name="successMessage">action.request-signature.success.message</param>
  10.                 <param name="failureMessage">action.request-signature.failure.message</param>
  11.                 <evaluator>evaluator.doclib.metadata.isAdminUser</evaluator>
  12.             </action>
  13.         </actions>
  14.         <actionGroups>
  15.             <actionGroup id="document-browse">
  16.                 <action index="600" id="request-signature" />
  17.             </actionGroup>
  18.             <actionGroup id="document-details">
  19.                 <action index="600" id="request-signature" />
  20.             </actionGroup>
  21.         </actionGroups>
  22.     </config>
  23.    
  24.     <config evaluator="string-compare" condition="request-signature">
  25.         <forms>
  26.             <form>
  27.                 <field-visibility>
  28.                     <show id="signer" />
  29.                 </field-visibility>
  30.                 <appearance>
  31.                     <field id="signer" label-id="action.request-signature.signer">
  32.                         <control template="/org/alfresco/components/form/controls/authority.ftl" />
  33.                     </field>
  34.                 </appearance>
  35.             </form>
  36.         </forms>
  37.     </config>
RAW Paste Data
Top