mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. Added action called 'counter' to increment the 'cm:counter' property on the 'cm:countable' aspect
- uses the runtime NodeService so any user can increment the counter on a node . Renamed incorrectly spelt script action class (doh) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -355,7 +355,7 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="script" class="org.alfresco.repo.action.executer.ScriptActionExecutor" parent="action-executer">
|
||||
<bean id="script" class="org.alfresco.repo.action.executer.ScriptActionExecuter" parent="action-executer">
|
||||
<property name="serviceRegistry">
|
||||
<ref bean="ServiceRegistry" />
|
||||
</property>
|
||||
@@ -363,10 +363,16 @@
|
||||
<ref bean="personService" />
|
||||
</property>
|
||||
<property name="storeUrl">
|
||||
<value>${spaces.store}</value>
|
||||
<value>${spaces.store}</value>
|
||||
</property>
|
||||
<property name="companyHomePath">
|
||||
<value>/${spaces.company_home.childname}</value>
|
||||
<value>/${spaces.company_home.childname}</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="counter" class="org.alfresco.repo.action.executer.CounterIncrementActionExecuter" parent="action-executer">
|
||||
<property name="nodeService">
|
||||
<ref bean="nodeService" /> <!-- runtime nodeService -->
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
@@ -74,10 +74,13 @@ export.generic.package.description=Alfresco Repository export.
|
||||
export.package.error=Failed to find temporary file for export
|
||||
|
||||
script.title=Execute a script
|
||||
script.description=Execute a JavaScript file to perform tasks such as creating new files or folders
|
||||
script.description=Execute a JavaScript file to perform tasks such as creating new files or folders.
|
||||
|
||||
counter.title=Increment Counter
|
||||
counter.counter=Increment the counter property for the item.
|
||||
|
||||
execute-all-rules.title=Execute all rules
|
||||
execute-all-rules.description=Execute all rules on the child items
|
||||
execute-all-rules.description=Execute all rules on the child items.
|
||||
|
||||
start-workflow.title=Start Workflow
|
||||
start-workflow.description=This will start a workflow for the matched items.
|
||||
|
@@ -526,6 +526,9 @@
|
||||
<property name="cm:hits">
|
||||
<type>d:int</type>
|
||||
</property>
|
||||
<property name="cm:counter">
|
||||
<type>d:int</type>
|
||||
</property>
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
|
Reference in New Issue
Block a user