Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem on TextItem with setMask

    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.

    #2
    I am having the same issue with the latest nightly and GWT 2.4. We are using a custom theme though but that shouldn't be an issue. This problem started appearing after we upgraded to SmartGWT 3.0 (production and latest nightly) and used to work fine before.

    Comment


      #3
      Is there any suggestion to this problem? We also need some resolution to http://forums.smartclient.com/showthread.php?t=21032.

      I had sent an email for information on support licenses if these can be expedited. Please let us know we are at a critical stage of the project.

      Update: the right alignment of the cursor happens in FireFox 7 but works fine in IE 9 and in Chrome, the cursor lands wherever we click.
      Last edited by sujaydutta; 24 Feb 2012, 07:51.

      Comment


        #4
        One of our developers is taking a look at this. We'll update this thread as soon as we have more information for you.

        Comment


          #5
          Thanks appreciate it very much!

          Comment


            #6
            This issue is now fixed in both the 3.0p and 3.1d branches. Please try the next nightly build (dated March 2, 2012 or greater) and let us know if it doesn't resolve the issue for you

            Regards
            Isomorphic Software

            Comment


              #7
              Thanks will try and keep you posted.

              Comment


                #8
                Thank you for the fix.

                Regards
                Regis Augui

                Comment


                  #9
                  thanks, the fix works fine now.

                  Comment

                  Working...
                  X