Isomorphic,
I have a selectitem and another component which extends TextItem. The component has a property which I need to change dynamically depending on the selectitem value.
The following line of code put in the changedhandler for selectitem causes the browser to crash(both chrome and firefox) only when deployed in tomcat but not when run in hosted mode:
I tried with direct referencing like:
making destination as final.
this too doesn't work.
TypeAheadTextItem is a class that extends textitem.
dimension -> is a instance variable of TypeAheadTextItem with getters and setters.
reportInput -> form in which the selectitem and typeaheadtextitem form elements are present.
destination -> name of the typeaheadtextitem textitem.
It works fine in hosted mode but not when deployed in tomcat.
GWT-version: 2.4
SmartGWT- version: 25112011 nightly
Browsers: Firefox-5 and Chrome:15.0.874.121 m
Thanks.
I have a selectitem and another component which extends TextItem. The component has a property which I need to change dynamically depending on the selectitem value.
The following line of code put in the changedhandler for selectitem causes the browser to crash(both chrome and firefox) only when deployed in tomcat but not when run in hosted mode:
Code:
((TypeAheadTextItem)reportInput.getField("destination")).setDimension(changedEvent.getValue().toString());
Code:
destination.setDimension(changedEvent.getValue().toString());
this too doesn't work.
TypeAheadTextItem is a class that extends textitem.
dimension -> is a instance variable of TypeAheadTextItem with getters and setters.
reportInput -> form in which the selectitem and typeaheadtextitem form elements are present.
destination -> name of the typeaheadtextitem textitem.
It works fine in hosted mode but not when deployed in tomcat.
GWT-version: 2.4
SmartGWT- version: 25112011 nightly
Browsers: Firefox-5 and Chrome:15.0.874.121 m
Thanks.
Comment