Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onClick for Wave Button inside Wave dialog box don't work #11

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
<code>
dialogBox=new org.cobogw.gwt.waveapi.gadget.client.ui.DialogBox(true,true);
dialogBox.setHTML("<b>Caption</b>");
VerticalPanel vp=new VerticalPanel();
Label errorMsg=new Label();
errorMsg.setText("error msg");
org.cobogw.gwt.waveapi.gadget.client.ui.Button okBtn=new 
org.cobogw.gwt.waveapi.gadget.client.ui.Button();
okBtn.setText("Okay");

okBtn.addClickHandler(new ClickHandler(){
    @Override
    public void onClick(ClickEvent event) {
        dialogBox.hide();
    }           
});

vp.add(errorMsg);
vp.add(okBtn);
dialogBox.setWidget(vp);
</code>

What is the expected output? What do you see instead?
onClick is never called

What version of the product are you using? On what operating system?
cobogwave 1.1.1
win7
chrome
Please provide any additional information below.


Original issue reported on code.google.com by monstern...@gmail.com on 20 Jun 2010 at 1:02

@GoogleCodeExporter
Copy link
Author

Problem: missing override of setWidget method in DialogBox class.

Original comment by hs@h72.nl on 21 Jun 2010 at 7:29

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant