smartGWT v12.0p_2018-10-27/PowerEdition Deployment (built 2018-10-27)
Chrome and Firefox
Deployed on Tomcat 8
We are setting several list grid field editors using the following commands:
listGridField1.setFilterEditorType("com.smartgwt.client.widgets.form.fields.TextItem");
listGridField2.setFilterEditorType("com.smartgwt.client.widgets.form.fields.FloatItem");
Per the documentation, we must register bean factories, which we have done:
First we tried:
GWT.create(BeanFactory.FormItemMetaFactory.class); Then we tried: @BeanFactory.Generate({TextItem.class, IntegerItem.class, FloatItem.class})
public interface EmptyInterfaceForSmartGWTBeanFactory {
}
Both of the above seem to work fine in super dev mode on our local machine.
When we deploy the application to Tomcat 8, we get the following error:
[WARN ] Uncaught exception: "No BeanFactory has been registered for: com.smartgwt.client.widgets.form.fields.TextItem". exception stack trace:
(no trace lines - just blank)
Adding both the bean factory registration methods above gives the following, which suggests registration is concurring:
After we added the empty interface above, the log shows the following, which suggest something is happening with the registration:
ISC_Core.js:1249 *08:40:13.937:WARN:Class$S746:beanClassName 'Class$S746' has already been registered. The existing bean will be replaced.
isc.B.push.isc.A.addToMasterLog @ ISC_Core.js:1249
ISC_Core.js:1249 *08:40:13.943:WARN:Class$S747:beanClassName 'Class$S747' has already been registered. The existing bean will be replaced.
isc.B.push.isc.A.addToMasterLog @ ISC_Core.js:1249
ISC_Core.js:1249 *08:40:13.962:WARN:Class$S53:beanClassName 'Class$S53' has already been registered. The existing bean will be replaced.
Do you have any suggestions as to debugging steps we could try?
Thanks,
Andrew
Chrome and Firefox
Deployed on Tomcat 8
We are setting several list grid field editors using the following commands:
listGridField1.setFilterEditorType("com.smartgwt.client.widgets.form.fields.TextItem");
listGridField2.setFilterEditorType("com.smartgwt.client.widgets.form.fields.FloatItem");
Per the documentation, we must register bean factories, which we have done:
First we tried:
GWT.create(BeanFactory.FormItemMetaFactory.class); Then we tried: @BeanFactory.Generate({TextItem.class, IntegerItem.class, FloatItem.class})
public interface EmptyInterfaceForSmartGWTBeanFactory {
}
Both of the above seem to work fine in super dev mode on our local machine.
When we deploy the application to Tomcat 8, we get the following error:
[WARN ] Uncaught exception: "No BeanFactory has been registered for: com.smartgwt.client.widgets.form.fields.TextItem". exception stack trace:
(no trace lines - just blank)
Adding both the bean factory registration methods above gives the following, which suggests registration is concurring:
After we added the empty interface above, the log shows the following, which suggest something is happening with the registration:
ISC_Core.js:1249 *08:40:13.937:WARN:Class$S746:beanClassName 'Class$S746' has already been registered. The existing bean will be replaced.
isc.B.push.isc.A.addToMasterLog @ ISC_Core.js:1249
ISC_Core.js:1249 *08:40:13.943:WARN:Class$S747:beanClassName 'Class$S747' has already been registered. The existing bean will be replaced.
isc.B.push.isc.A.addToMasterLog @ ISC_Core.js:1249
ISC_Core.js:1249 *08:40:13.962:WARN:Class$S53:beanClassName 'Class$S53' has already been registered. The existing bean will be replaced.
Do you have any suggestions as to debugging steps we could try?
Thanks,
Andrew
Comment