Hi All,
The below code is the field definition in the datasource
The below is the generated script in the browser
As you can see above the first two messages are loaded properly from resource bundle but the last generated error message it is not loaded "<fmt:message key=\"XXXX_V_077\">"
The complete datasource file is attached.
waiting your feedback
version : SmartClient_v90p_2014-03-07_PowerEdition
The below code is the field definition in the datasource
Code:
<field name="RQ5_REQESTED_QUANTITY" type="integer" >
<validators>
<validator type="requiredIf" expression="true" >
<errorMessage><fmt:message key="XXXX_V_011"/></errorMessage>
</validator>
<validator type="isInteger" expression="true" stopIfFalse="true">
<!-- XXXX_V_078 Value should be an Integer -->
<errorMessage><fmt:message key="XXXX_V_078" /></errorMessage>
</validator>
<validator type="integerRange" min="1" expression="true" stopIfFalse="true">
<!-- XXXX_V_077 Value must be greater than 0 -->
<errorMessage><fmt:message key="XXXX_V_077" /></errorMessage>
</validator>
</validators>
</field>The below is the generated script in the browser
Code:
validators:[
{
expression:"true",
type:"requiredIf",
errorMessage:"Field value cannot be empty."
},
{
expression:"true",
stopIfFalse:true,
type:"isInteger",
errorMessage:"Value should be eithe zero or a* positive Integer"
},
{
expression:"true",
min:1.0,
stopIfFalse:true,
type:"integerRange",
errorMessage:"<fmt:message key=\"XXXX_V_077\">"
}
]The complete datasource file is attached.
waiting your feedback
version : SmartClient_v90p_2014-03-07_PowerEdition