Announcement

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

    IE8.0 problem

    Hi,

    There is a strange problem at usage of the SmartGWT2.1/GWT 2.0.3 with IE8.0 a browser. At loading of the new form (widgets with such ID are not present) there are following warnings. As consequence units sometimes combobox controls work incorrectly. In other browsers of such problem is not present.

    Code:
    14:18:38.968:WARN:ComboBoxItem:isc_ComboBoxItem_0:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.000:WARN:SelectItem:isc_SelectItem_0:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.046:WARN:ComboBoxItem:isc_ComboBoxItem_1:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.078:WARN:ComboBoxItem:isc_ComboBoxItem_2:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.093:WARN:TextAreaItem:isc_TextAreaItem_0:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.125:WARN:ComboBoxItem:isc_ComboBoxItem_3:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.156:WARN:TextItem:isc_TextItem_0:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.171:WARN:TextItem:isc_TextItem_1:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.203:WARN:TextItem:isc_TextItem_2:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.218:WARN:TextItem:isc_TextItem_3:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.250:WARN:ComboBoxItem:isc_ComboBoxItem_4:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.281:WARN:ComboBoxItem:isc_ComboBoxItem_5:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.296:WARN:TextItem:isc_TextItem_4:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.328:WARN:TextItem:isc_TextItem_5:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.359:WARN:TextItem:isc_TextItem_6:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.390:WARN:TextItem:isc_TextItem_7:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.453:WARN:TextItem:isc_TextItem_8:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.484:WARN:TextItem:isc_TextItem_9:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.515:WARN:ComboBoxItem:isc_ComboBoxItem_6:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.546:WARN:TextItem:isc_TextItem_10:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.578:WARN:ComboBoxItem:isc_ComboBoxItem_7:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.609:WARN:ComboBoxItem:isc_ComboBoxItem_8:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.640:WARN:ComboBoxItem:isc_ComboBoxItem_9:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.671:WARN:ComboBoxItem:isc_ComboBoxItem_10:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.703:WARN:ComboBoxItem:isc_ComboBoxItem_11:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.718:WARN:TextItem:isc_TextItem_11:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    14:18:39.750:WARN:TextItem:isc_TextItem_12:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element

    #2
    Did you find an answer to this?

    Comment


      #3
      I'm seeing it for the elements in a DynamicForm under Chrome, as well.
      (smartgwt 2.4, chrome 9.0.597.107)

      14:55:00.634 [ERROR] [strategy] 14:54:59.396:RDQ2:WARN:TextItem:isc_TextItem_16:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element

      com.smartgwt.client.core.JsObject$SGWT_WARN: 14:54:59.396:RDQ2:WARN:TextItem:isc_TextItem_16:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
      at sun.reflect.GeneratedConstructorAccessor19.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      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:157)
      at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
      at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
      at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
      at java.lang.Thread.run(Unknown Source)

      Comment


        #4
        This suggests invalid mixing of SmartGWT and GWT elements (see FAQ). If this can happen through valid usage, we need a test case so that we can reproduce the problem.

        Comment


          #5
          ...

          Hi,

          I got the same WARNings, the forms having the issue were 4:

          Code:
          VLayout.addMembers(layoutForm1(), layoutForm2(), layoutForm3(), layoutForm4());
          Everyhting was OK, then I made some modifications in functions hiding and showing buttons and controls in the forms and the WARNings appeared creating problems drawing the buttons in the forms with a different width than the one set.

          In my case it was solved like this, I removed all but the first:

          Code:
          VLayout.addMembers(layoutForm1());
          GWT compiled and test, everyhting was OK again.
          Then added one by one the others, compiling and testing, when I had all of them again in place, the WARNings dissapeared.

          ???? The GWT compiler?

          Comment

          Working...
          X