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

2013-10-30 Thread Sandeep Shukla
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 ianba...@gmail.comjavascript: 
 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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: DateBox DatePicker popup is not showing up!

2013-10-03 Thread Sandeep Shukla
Thanks a ton !! This was a life saver :) 

On Monday, June 1, 2009 1:10:35 AM UTC+5:30, John_Idol wrote:

 my BAD -- had a look with firebug and it was there behind the rest of 
 the stuff, I just had to define the following css class: 

 .dateBoxPopup { 
 z-index: 100; 
 } 

 On May 31, 8:32 pm, John_Idol giovanni.id...@gmail.com wrote: 
  When I said *this* example I meant to include the link but I didn't -- 
  
  http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker 
  
  On May 31, 8:30 pm, John_Idol giovanni.id...@gmail.com wrote: 
  
  
  
   Hi All, 
  
   I am following this example and the example in the DateBox 
   specification - so I have smt like this in my OnModuleLoad: 
  
 public void onModuleLoad() { 
   _dateBox = new DateBox(); 
   _dateBox.setValue(new Date()); 
   RootPanel.get().add(_dateBox); 
 } 
  
   Problem is when I click on the DateBox nothing happens - I'd expect 
   the popup with the DatePicker to show up (this is happening on hosted 
   browser (IE), chrome and firefox). 
  
   Is there any init step I am missing? 
  
   I tried a search on this group but couldn't find anything similar 
  
   Any help appreciated!

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.