Hello,
Version: SmartClient Version: v9.1p_2014-03-23/Pro Deployment (built 2014-03-23)
When defining a value map as follows:
This results in the generated JavaScript:
I would have expected to simply get whatever is between <JS> tag, but not within array brackets.
Basically this would allow to localize value map display values via javascript variables.
Please let me know if my expectation is wrong.
Thank you,
Daniel
Version: SmartClient Version: v9.1p_2014-03-23/Pro Deployment (built 2014-03-23)
When defining a value map as follows:
Code:
<SimpleType name="test" inheritsFrom="text" >
<valueMap>
<value ID="1">val 1</value>
<value ID="2"><JS>localized.js.variable</<JS></value>
</valueMap>
</SimpleType>Code:
isc.SimpleType.create({
inheritsFrom:"text",
name:"test",
valueMap:{
1:"val 1",
2:[
localized.js.variable
]
}
})Basically this would allow to localize value map display values via javascript variables.
Please let me know if my expectation is wrong.
Thank you,
Daniel