flitt
1
I have an ordinary FilterBuilder object:
filterBuilder = new FilterBuilder();
filterBuilder.setDataSource(grid.getDataSource());
filterBuilder.setTopOperatorAppearance(TopOperatorAppearance.RADIO);
When I check NOT radio button, select any criteria and fetch the data, there is the next XML request on the server side.
request>
<data>
<ds_id constructor="AdvancedCriteria">
<operator>НЕ</operator>
<criteria>
<fieldName>id</fieldName>
<operator>equals</operator>
<value>1</value>
</criteria>
</ds_id>
</data>
<dataSource>ds_id</dataSource>
<operationType>fetch</operationType>
<operationId></operationId>
<startRow>0</startRow>
<endRow>75</endRow>
<sortBy>-id</sortBy>
<textMatchStyle>substring</textMatchStyle>
<componentId>isc_OID_156</componentId>
<oldValues></oldValues>
</request>
Notice <operator>НЕ</operator> string, where <operator>NOT</operator> expected. I use russian localization, in russian НЕ(ru) = NOT(en). Is it a bug?
Just a note that this has been fixed in SmartClient and will soon hit SmartGWT SVN.
flitt
3
How soon is it expected to be done?
flitt
5
I’ve double checked everythig.
Reproduced in clean build using:
[B]Smartgwt-Tools[/B]
URL: http://smartgwt.googlecode.com/svn/tools
Repository Root: http://smartgwt.googlecode.com/svn
Repository UUID: 97ff703d-2b4d-0410-aac2-33a30ea07567
Revision: 724
Last Changed Author: sanjiv.jivan
Last Changed Rev: 718
Last Changed Date: 2009-08-25 02:17:27 +0300 (Tue, 25 Aug 2009)
[B]Smartgwt[/B]
URL: http://smartgwt.googlecode.com/svn/trunk
Repository Root: http://smartgwt.googlecode.com/svn
Repository UUID: 97ff703d-2b4d-0410-aac2-33a30ea07567
Revision: 724
Last Changed Author: smartgwt.dev
Last Changed Rev: 724
Last Changed Date: 2009-09-02 20:10:52 +0300 (Wed, 02 Sep 2009)
Modifications applied to sources:
- Turning on localization co compile in [SMARTGWT_HOME]/samples/showcase/Showcase.gwt.xml:
<!--russian / russia-->
<extend-property name="locale" values="ru_RU"/>
- Turning on localization of view in [SMARTGWT_HOME]/samples/showcase/war/Showcase.html
<meta name="gwt:property" content="locale=ru_RU">
Any ideas?
Hmm. Others reported this confirmed as fixed. We’ll take a look if it’s reported not fixed again.
sjivan
7
I looked into this issue and was able to verify it. Fix is in SVN.
Sanjiv