Hi All,
I have a license for SmartGWT 5.1p Power.
In my *.ds.xml I have a definition for a selectitem:
<field name="contacttype" type="text" >
<valueMap>
<value>Firma</value>
<value>Mensch</value>
<value>Interner Mitarbeiter</value>
</valueMap>
</field>
My Java code looks like:
final SelectItem contacttyp = new SelectItem("contacttype","Kontakt Typ");
contacttyp.addChangeHandler(new ChangeHandler() {
public void onChange(ChangeEvent changedEvent) {
System.out.println("CHANGEHANDLER");
}
});
The GUI shows the list and I can select new values however the ChangeHandler never got called. Any Idea why? I followed the samples but cant see any differences.
Thx
I have a license for SmartGWT 5.1p Power.
In my *.ds.xml I have a definition for a selectitem:
<field name="contacttype" type="text" >
<valueMap>
<value>Firma</value>
<value>Mensch</value>
<value>Interner Mitarbeiter</value>
</valueMap>
</field>
My Java code looks like:
final SelectItem contacttyp = new SelectItem("contacttype","Kontakt Typ");
contacttyp.addChangeHandler(new ChangeHandler() {
public void onChange(ChangeEvent changedEvent) {
System.out.println("CHANGEHANDLER");
}
});
The GUI shows the list and I can select new values however the ChangeHandler never got called. Any Idea why? I followed the samples but cant see any differences.
Thx
Comment