我需要在工作流表单上重命名一些标签。我想我找到了需要编辑的资源包。这是slingshot.properties文件。
我将workflow.field.message和workflow.field.comment的值更改为我的偏好并重新启动Alfresco但没有任何改变。我错过了什么吗?
答案 0 :(得分:3)
在$ TOMCAT_HOME / webapps / share / WEB-INF / classes / alfresco / web-extension中,创建一个名为custom-slingshot-application-context.xml的新文件,其中包含以下内容:
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="mycustom.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent"> <property name="resourceBundles"> <list> <value>alfresco.web-extension.messages.mycustom</value> </list> </property> </bean> </beans>
在$ TOMCAT_HOME / webapps / share / WEB-INF / classes / alfresco / web-extension / messages中,创建一个名为mycustom.properties的文件,其中包含以下内容:
workflow.field.message=Whatever You Want
注意: