You don't need to add the bound class to the Panel. Create a ui:field
for the entire form/panel in the XML file.


Cheers
Niclas

On Tue, Jan 19, 2010 at 12:20 PM, Lyn Headley <lahea...@gmail.com> wrote:
> Hello,
>
> I am using the UIBinder to build a div, by binding an xml file to a
> java class which extends UIObject.  However, I cannot add an instance
> of this class to a panel using the Panel's add method, because add
> takes an object of type Widget, and I don't have one of those; I have
> a UIObject.
>
> Is there a way to add a UIObject to a panel, or else to construct a
> suitable Widget from a UIObject?
>
> Thanks!
>
> --
>
> Lyn Headley
> UCSD Communication and Science Studies
> http://sites.google.com/site/lynheadley
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to