How can I set the text for FilterBuilder match select box?
Right now it says "Match All" and "Match Any".
Following the I18nUtil/SmartGwtMessages example I did this.
The operator select box show the text I set, but the match select box does not - it always shows in English (in my case):
Any ideas?
Right now it says "Match All" and "Match Any".
Following the I18nUtil/SmartGwtMessages example I did this.
The operator select box show the text I set, but the match select box does not - it always shows in English (in my case):
Code:
private static native void initSmartGwtMessages ( final String filterBuilderMatchAllText, final String filterBuilderMatchAnyText, final String filterBuilderMatchNoneText, final String operatorEqualsText, final String operatorContainsText, final String operatorContainsInsensitiveText) /*-{ if($wnd.isc.FilterBuilder) { if (filterBuilderMatchAllText) { $wnd.isc.FilterBuilder.addProperties({matchAllTitle: filterBuilderMatchAllText}); } if (filterBuilderMatchAnyText) { $wnd.isc.FilterBuilder.addProperties({matchAnyTitle: filterBuilderMatchAnyText}); } if (filterBuilderMatchNoneText) { $wnd.isc.FilterBuilder.addProperties({matchNoneTitle: filterBuilderMatchNoneText}); } } if($wnd.isc.Operators){ if (operatorEqualsText) { $wnd.isc.Operators.addClassProperties({equalsTitle: operatorEqualsText}); } if (operatorContainsText) { $wnd.isc.Operators.addClassProperties({containsTitle: operatorContainsText}); } if (operatorContainsInsensitiveText) { $wnd.isc.Operators.addClassProperties({iContainsTitle: operatorContainsInsensitiveText}); } } }-*/;
Comment