Reverting r1646165. It seems that changes that we did for <property-to-field> are not needed. I will commit the new changes soon.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646191 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ashish Vijaywargiya
2014-12-17 10:49:41 +00:00
parent d3e50d1e18
commit f19b8bdfe7
40 changed files with 112 additions and 439 deletions
@@ -51,13 +51,7 @@ under the License.
<if-not-empty field="emailTemplateSetting.fromAddress">
<set field="emailParams.sendFrom" from-field="emailTemplateSetting.fromAddress"/>
<else>
<call-class-method method-name="getPropertyValue" ret-field="emailParams.sendFrom" class-name="org.ofbiz.entity.util.EntityUtilProperties">
<string value="general"/>
<string value="defaultFromEmailAddress"/>
<string value="ofbiztest@example.com"/>
<field field="locale" type="java.util.Locale"/>
<field field="delegator" type="org.ofbiz.entity.Delegator"/>
</call-class-method>
<property-to-field resource="general" property="defaultFromEmailAddress" field="emailParams.sendFrom" default="ofbiztest@example.com"/>
</else>
</if-not-empty>
<set field="emailParams.sendCc" from-field="emailTemplateSetting.ccAddress"/>