retha pasalli
unread,Jul 2, 2009, 12:27:33 AM7/2/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GWT-Ext Developer Forum
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