When i use TextItem with setMask :
TextItem _logItem = new TextItem("user", "Utilisateur");
_logItem.setRequired(true);
_logItem.setMask("AAAAAAAAAAAAAAAA");
Have got this message in devmode, it's normal ?
00:00:55,265 [ERROR] 10:05:13.811:IFCS5:WARN:Log:TypeError: this.getValue() is undefined
TextItem._nativeElementFocus([object HTMLInputElement], {Obj}) @ sate/sc/modules/ISC_Forms.js:2027
FormItem.._nativeFocusHandler([object HTMLInputElement]) @ sate/sc/modules/ISC_Forms.js:819
FormItem._nativeFocusHandler([object Event]) @ sate/sc/modules/ISC_Forms.js:816
unnamed() @
com.smartgwt.client.core.JsObject$SGWT_WARN: 10:05:13.811:IFCS5:WARN:Log:TypeError: this.getValue() is undefined
TextItem._nativeElementFocus([object HTMLInputElement], {Obj}) @ sate/sc/modules/ISC_Forms.js:2027
FormItem.._nativeFocusHandler([object HTMLInputElement]) @ sate/sc/modules/ISC_Forms.js:819
FormItem._nativeFocusHandler([object Event]) @ sate/sc/modules/ISC_Forms.js:816
unnamed() @
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:722)
- Linux Fedora 16
- Firefox 10.0.1
- http://www.smartclient.com/builds/SmartGWT/3.0p/LGPL/2012-02-20/smartgwt-3.0p.zip
- Gwt : gwt-2.4.0
Thanks.
TextItem _logItem = new TextItem("user", "Utilisateur");
_logItem.setRequired(true);
_logItem.setMask("AAAAAAAAAAAAAAAA");
Have got this message in devmode, it's normal ?
00:00:55,265 [ERROR] 10:05:13.811:IFCS5:WARN:Log:TypeError: this.getValue() is undefined
TextItem._nativeElementFocus([object HTMLInputElement], {Obj}) @ sate/sc/modules/ISC_Forms.js:2027
FormItem.._nativeFocusHandler([object HTMLInputElement]) @ sate/sc/modules/ISC_Forms.js:819
FormItem._nativeFocusHandler([object Event]) @ sate/sc/modules/ISC_Forms.js:816
unnamed() @
com.smartgwt.client.core.JsObject$SGWT_WARN: 10:05:13.811:IFCS5:WARN:Log:TypeError: this.getValue() is undefined
TextItem._nativeElementFocus([object HTMLInputElement], {Obj}) @ sate/sc/modules/ISC_Forms.js:2027
FormItem.._nativeFocusHandler([object HTMLInputElement]) @ sate/sc/modules/ISC_Forms.js:819
FormItem._nativeFocusHandler([object Event]) @ sate/sc/modules/ISC_Forms.js:816
unnamed() @
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:722)
- Linux Fedora 16
- Firefox 10.0.1
- http://www.smartclient.com/builds/SmartGWT/3.0p/LGPL/2012-02-20/smartgwt-3.0p.zip
- Gwt : gwt-2.4.0
Thanks.
Comment