how to convert javascript element into gwt uibinder widget

    public static CustomWidget wrap(Element element) {
        assert Document.get().getBody().isOrHasChild(element);

        CustomWidget customWidget = new CustomWidget(element);


         System.out.println(eachItineraryWidget.getWidget()); //
widget is null  , how to set widget as i'm using uibinder


        eachItineraryWidget.onAttach();
        RootPanel.detachOnWindowClose(eachItineraryWidget);

        return customWidget;
      }


public CustomWidget(Element element){

   setElement(element);

}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to