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)
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)
Comment