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 <[email protected]<javascript:>> > wrote: > >> Here's a little example: >> >> class DisplayBox extends Composite >> { >> public DisplayBox(String header, String data) >> { >> VerticalPanel widget = new VerticalPanel(); >> initWidget(widget); >> widget.addStyleName("demo-Composite"); >> >> Label headerText = new Label(header); >> widget.add(headerText); >> headerText.addStyleName("demo-Composite-header"); >> >> Label dataText = new Label(data); >> widget.add(dataText); >> dataText.addStyleName("demo-Composite-data"); >> } >> } >> >> >> -- >> Ian >> http://examples.roughian.com >> __________________________________________ >> >> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
