Announcement

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

    Warnings with TextAreaItem in a tabset

    SmartGWT LPGL 3.0p June 12th build

    I added a TextAreaItem to a DynamicForm and placed on the second tab.
    As the document renders, I get the warnings below on the console.
    If I resize the browser, more warnings get generated as it re-renders.
    If I click on the second tab to bring it into focus, the warnings go away.

    Code:
    20:16:29.407 [ERROR] [AfClone] 20:16:29.403:RDQ9:WARN:TextAreaItem:isc_TextAreaItem_1: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: 20:16:29.403:RDQ9:WARN:TextAreaItem:isc_TextAreaItem_1:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.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: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(Unknown Source)
    This happens (for me anyway) on fields on any form that is not on the primary (0) tab.
    The test form on tab 1 is just a bare bones textarea...

    Code:
    package com.releng.client.widgets.btest1;
    
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.TextAreaItem;
    
    public class TAtestForm extends DynamicForm
    {
    
      public TAtestForm()
      {
        super();
    
        this.setWidth100();
        this.setHeight100();
        
        TextAreaItem taField = new TextAreaItem();
        taField.setColSpan(2);
        taField.setHeight("*");
        taField.setWidth("*");
        taField.setShowTitle(false);
    
        this.setFields(taField);
      }
    }
    I stripped down the form where I originally saw the problem to see if I could narrow down what was causing it.
    This was as far as I can go and still have a form and a field.

    Any ideas on how I can get rid of these warnings?
    Am I missing a property or setting on the tab, form or field?
Working...
X