I'm trying to set up data source localization and I'm not able to get it working.
I'm using version: Isomorphic SmartClient/SmartGWT Framework (v12.1p_2020-06-04/Enterprise Deployment 2020-06-04)
Here's my ds.xml:
I have my properties file being deployed to WEB-INF/classes/com/assaabloy/protech/client/DSMessages.properties:
I added an "en_US" version as well just to check: DSMessages_en_US.properties.
I verified that the servlet request is able to get the locale from the data source loader by doing the suggestion from here: https://forums.smartclient.com/forum...roperties-file. It's returning "en_US".
Is there something incorrect about this setup? I get a blank column header when this data source is bound to a listgrid.
I'm using version: Isomorphic SmartClient/SmartGWT Framework (v12.1p_2020-06-04/Enterprise Deployment 2020-06-04)
Here's my ds.xml:
Code:
<DataSource ID="CodeTypeSQL"
serverType="sql"
tableName="code_type"
xmlns:fmt="WEB-INF/">
<fmt:bundle bundle="com.assaabloy.protech.client.DSMessages"/>
<fields>
<field name="code_type_id" type="integer" primaryKey="true" hidden="true"/>
<field name="description" type="text" length="100">
<title>
<fmt:message key="description"/>
</title>
</field>
<field name="allow_edits" type="boolean" sqlStorageStrategy="integer" required="true"/>
<field name="parent_code_type_id" type="integer" foreignKey="CodeTypeSQL.code_type_id" joinType="outer" displayField="parentCodeType"/>
<field name="parentCodeType" type="text" length="100" includeFrom="CodeTypeSQL.description" hidden="true"/>
</fields>
</DataSource>
Code:
description=Description
I verified that the servlet request is able to get the locale from the data source loader by doing the suggestion from here: https://forums.smartclient.com/forum...roperties-file. It's returning "en_US".
Is there something incorrect about this setup? I get a blank column header when this data source is bound to a listgrid.
Comment