PDA

View Full Version : [FIXED] BUG: GXT-RC1: setIcon(...) methond in MessageBox



mmiotk
20 Jun 2008, 2:56 AM
Try perform the "Yes/No/Cancel" MessageBox in the "Ext GWT Explorer Demo". The window doesn't appear because, setIcon(...) method throws exception



MessageBox box = new MessageBox();
box.setButtons(MessageBox.YESNOCANCEL);
box.setIcon(MessageBox.QUESTION);
box.setTitle("Save Changes?");
box.addCallback(l);
box.setMessage("You are closing a tab that has unsaved changes. Would you like to save your changes?");
box.show();

If I remove line "box.setIcon(MessageBox.QUESTION); ", the window appears.

darrellmeyer
20 Jun 2008, 6:55 AM
Fix is in SVN.