Re: how to extends class with UiBinder

2010-10-26 Thread Thomas Broyer
On 25 oct, 19:41, mars wrote: > hi, > > I need to create a class, myBox,  to extends HTMLPanel so that i can > add content to it. here is my code: > > ui.xml: >      xmlns:g="urn:import:com.google.gwt.user.client.ui"> > >     >         >       Why are you using an HTMLPanel if you're not usi

Re: how to extends class with UiBinder

2010-10-25 Thread Tamer Sezgin
Did you specify where to look for the classes in the "*my*" namespace? There should be a line at the top of your new xml.ui file, which says something like: xmlns:*my*='urn:import:com.example.project.client'> You can check the GWT mail example, in the following file it uses Mailboxes, Tasks, and

how to extends class with UiBinder

2010-10-25 Thread mars
hi, I need to create a class, myBox, to extends HTMLPanel so that i can add content to it. here is my code: ui.xml:     .java: public class MyBox extends Composite { /** * The UiBinder interface. */ interface Binder extends