08-19-2015 12:31 AM
<config evaluator="string-compare" condition="DocLibActions">
<actions>
<action id="bubble-action" type="javascript" label="Bubble Action">
<param name="function">onActionSimpleRepoAction</param>
<param name="action">bubble-click</param>
</action>
</actions>
<actionGroups>
<actionGroup id="document-browse">
<action index="300" id="bubble-action" />
</actionGroup>
<actionGroup id="document-details">
<action index="340" id="bubble-action" />
</actionGroup>
</actionGroups>
</config>
08-20-2015 01:45 AM
<!– Spring context: custom bean action definition–>
<bean id="bubble-click" class="somepath/YourAction.java" parent="action-executer"/>
<!– share custom config: the name of the action should be equals to the id of your bean –>
<param name="action">bubble-click</param>
08-20-2015 02:22 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Add aspect custom action –>
<bean id="bubble-click" class="za.gov.parliament.customActions.BubbleClick" parent="action-executer">
<property name="publicAction">
<value>false</value>
</property>
</bean>
</beans>
08-20-2015 03:57 AM
<!– an example of existing action–>
<action index="110" id="document-view-content" />
08-24-2015 11:57 PM
08-25-2015 02:11 AM
za.gov.parliament.customActions.BubbleClick
any parameter?
08-25-2015 06:00 AM
08-25-2015 07:38 AM
bubble-click
action. If there are no params, the action ID is right and no client JavaScript error is thrown, it must be parameters in the definition. Try to complete declaration with:
<param name="successMessage">Success</param>
<param name="failureMessage">Failure</param>
08-25-2015 08:16 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.