Hello,
I use in an application a KeyPress filter to restrict the authorized characters for a TextItem. The filter is a simple regex specifying the characters that are allowed:
textItem.setKeyPressFilter("[a-zA-Z0-9/\\-?:().,\"+ ]");
The filter works well with English keyboards but not with French keyboards. With a French keyboard all characters coming from the combination of Alt Gr + another key are not filtered. For instance, '@' is not filtered as it should. This problem occurs with Firefox 3.6 as well as IE8 which are the browsers that my application must support.
I tried to define in my Index.gwt.xml file several configurations by adding/combining the locales 'fr', fr_Fr', ... but none of them worked.
Did I miss something?
Thank you.
Configuration:
SmartGWT 3.0
Firefox 3.6, Internet Explorer 8
I use in an application a KeyPress filter to restrict the authorized characters for a TextItem. The filter is a simple regex specifying the characters that are allowed:
textItem.setKeyPressFilter("[a-zA-Z0-9/\\-?:().,\"+ ]");
The filter works well with English keyboards but not with French keyboards. With a French keyboard all characters coming from the combination of Alt Gr + another key are not filtered. For instance, '@' is not filtered as it should. This problem occurs with Firefox 3.6 as well as IE8 which are the browsers that my application must support.
I tried to define in my Index.gwt.xml file several configurations by adding/combining the locales 'fr', fr_Fr', ... but none of them worked.
Did I miss something?
Thank you.
Configuration:
SmartGWT 3.0
Firefox 3.6, Internet Explorer 8