alfresco custom ftl not showing date properly on development server -
i using custom ftl(share/page/repository/data dictionry/email-templats) sending pending tasks intimidation users in workflow. getting date ${date?datetime?string.full} in ftls
but in mail received user,date coming ,with unknown characters 2017年4月5日 16時00分22秒 cdt . distorted date coming on development server, whereas on local server absolutely fine. not figure out, how happening.
deploying ftl code(not uploading explicitly)
**config_email_templates.xml** <cm:content view:childname="cm:pendingtaskintimationemail.ftl"> <app:uifacets /> <cm:name>pendingtaskintimationemail.ftl</cm:name> <cm:title>pendingtaskintimationemail</cm:title> <cm:content>contenturl=classpath:alfresco/emailtemplate/pendingtaskemail.ftl|mimetype=text/plain|size=|encoding=utf-8|locale=en_us_</cm:content>
and in bootstap.xml
<bean id="customspacesbootstrap" parent="spacesstoreimporter" > <property name="useexistingstore"> <value>true</value> </property> <property name="bootstrapviews"> <list> <props> <prop key="uuidbinding">update_existing</prop> <prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</prop> <prop key="location">alfresco/emailtemplate/config_email_templates.xml</prop> </props> </list> </property> </bean>
ftl placed @ amp/config/alfresco/pendingtaskintimationemail.ftl unable figure out how barely deploying on different servers make difference,while code same both doubt,if there encoding change of ftl file while deploying??
Comments
Post a Comment