When running the smartgwt pro nightly build from 5/14/2011 in hosted mode, I'm getting java.lang.IllegalStateException errors when trying to set the ID of a DynamicForm. I don't get the exception when the code is deployed to a container (JBoss).
Here is the exception:
And here is the code that throws the exception:
Looking at the available constructors for DynamicForm shows that there isn't a constructor that takes an ID, unlike Canvas and many of the other widgets.
Is this a bug, or am I missing something?
I'm running Firefox 3.6.17 on Ubuntu.
Thanks,
Chris
Here is the exception:
Code:
java.lang.IllegalStateException: Cannot change configuration property 'ID' to QCodeValueDialog_NotamEditorFormDyn1 after the component has been created. at com.smartgwt.client.widgets.BaseWidget.error(BaseWidget.java:596) at com.smartgwt.client.widgets.BaseWidget.error(BaseWidget.java:584) at com.smartgwt.client.widgets.BaseWidget.setAttribute(BaseWidget.java:606) at com.smartgwt.client.widgets.BaseWidget.setID(BaseWidget.java:323) at com.jeppesen.nmt.client.dialog.QCodeValueDialog.<init>(QCodeValueDialog.java:57)
Code:
DynamicForm editor = new DynamicForm(); editor.setID( SCUtil.buildChildId( getID(), "Form" ) );
Is this a bug, or am I missing something?
I'm running Firefox 3.6.17 on Ubuntu.
Thanks,
Chris
Comment