Wednesday, October 30, 2013

Re: [Error] This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement()

Hi Shravan,

Can you paste the changes you did. I am also getting the same issue.

On Tuesday, June 3, 2008 5:49:31 PM UTC+5:30, Shravan కుమార్ *-*-0-*-* wrote:
Thanks all,
I got the solution. I was trying to pass params in the constructor it self, hence the problem.
I have created the object with default constructor and initialized with initWidget and updated the object with proper constructor. Now its working fine.

On Tue, Jun 3, 2008 at 5:14 PM, Ian Bambury <> wrote:
Here's a little example:
class DisplayBox extends Composite
    public DisplayBox(String header, String data)
        VerticalPanel widget = new VerticalPanel();

        Label headerText = new Label(header);

        Label dataText = new Label(data);


Stuff the environment - print this email

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment