Announcement

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

    Unable to retrieve value from a textbox

    How do we retrieve the value from a textbox? I tried using FormItem.getDisplayValue(), which doesn’t return anything. I tried using FormItem.getValue() but got an error message(see below).

    ERROR MESSAGE:
    [ERROR] Unable to load module entry point class com.trgrp.fits.client.module.invoiceSAD.InvoiceSADTopPanel (see associated exception for details)
    com.google.gwt.core.client.JavaScriptException: (TypeError): Object doesn't support this property or method
    number: -2146827850
    description: Object doesn't support this property or method
    at com.smartgwt.client.widgets.form.fields.FormItem.getValue(Native Method)
    at com.trgrp.fits.client.module.invoiceSAD.InvoiceSADSummary4.<init>(InvoiceSADSummary4.java:64)
    at com.trgrp.fits.client.module.invoiceSAD.InvoiceSADTopPanel.onModuleLoad(InvoiceSADTopPanel.java:123)

    #2
    You should call this method only after the DynamicForm that it belongs to is rendered.

    Comment


      #3
      The DynamicForm is rendered when we call the method

      Comment


        #4
        Please post a simplified standalone testcase demonstrating the issue.

        Comment

        Working...
        X