Hi all,
I'm using a datefield widget but when I run the project, the datefield
window can not close directly after I choose a date. Can you help me?
Here is the code :
Datefield tanggalLahir = new DateField ("Tanggal Lahir",
"tanggalLahir", 120);
tanggalLahir.setFormat("d MMMM yyyy");
tanggalLahir.setAllowBlank(false);
tanggalLahir.addListener(new FieldListenerAdapter(){
public void onChange(Field field, Object newVal, Object
oldVal) {
Window.alert("tanggal!");
tanggalLahir.hide();
}
}
);
And I added tanggalLahir in a Panel widget. The class consisting this
code is extending Composite, so I can call it from the entry point.
Can you help me fix the problem? Thx before..
Regards
Retha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---