Re: GWT 2.5 change to provided=true for HTMLPanel

2012-11-19 Thread Peter Leong
Thanks Ryan. That works. Also, this is totally funny: - Forget I've tried to solve this problem before - Find my own question online - Question is already answered it's like time travel. On Monday, August 20, 2012 11:24:16 PM UTC+10, RyanZA wrote: It seems to be an issue with the

Re: GWT 2.5 change to provided=true for HTMLPanel

2012-08-20 Thread RyanZA
It seems to be an issue with the HTMLPanel itself - it blocks @UiField (provided=true) explicitly. I still have no idea why, unfortunately. Quickest workaround is to remove the (provided=true) part, and then make the HTMLPanel yourself explicitly, and add it to the original one. eg in your

Re: GWT 2.5 change to provided=true for HTMLPanel

2012-08-19 Thread David Lee
This works for me as long as I create the widget manually prior to calling initWidget(uiBinder.createAndBindUi(this)); On Sunday, July 22, 2012 2:48:13 PM UTC-4, RyanZA wrote: Previously in GWT 2.4 and below, this would work: UI Binder: g:HTMLPanel ui:field=myPanel / Code: @UiField

Re: GWT 2.5 change to provided=true for HTMLPanel

2012-08-19 Thread Peter Leong
I'm having same problem. Did you find a solution? My code uses 'IsWidget', no Composite: http://subversion.assembla.com/svn/freshcode_public/learn/gwt/src/main/java/biz/freshcode/learn/gwt/client/uispike/gxt/LineItem.java Also, I'm using 2.5.0-rc1 because of the Maven plugin. Pete On Monday,

GWT 2.5 change to provided=true for HTMLPanel

2012-07-25 Thread RyanZA
Previously in GWT 2.4 and below, this would work: UI Binder: g:HTMLPanel ui:field=myPanel / Code: @UiField (provided=true) HTMLPanel myPanel; myPanel = new HTMLPanel(foobar); In GWT 2.5, this now gives an error: (gwt source) // Make sure that, if there is a UiField for this panel, it