Re: Showing Captcha using UiBinder

2011-04-14 Thread Thomas Broyer
Create your image *before* the createAndBindUi and use @UiField(provided=true) on your field, to tell UiBinder that it should use the field's value rather than construct the widget and inject it into the field. ...or you can let UiBinder create the image and simply do a setUrl() afterwards. -

Showing Captcha using UiBinder

2011-04-14 Thread Jonas
I have a registration page for new users using SimpleCaptcha. I got it to work without UiBinder but can't get it to work with. Does anyone have any ideas to what I'm doing wrong? The following works (without UiBinder): private static String html = " ... ... "; HTMLPanel panel = new HTMLPanel(htm