Re: Loading text alongside image inside a ComboBox

2010-05-18 Thread fomba collins
I'm actually using the javascript wrapper EXT Gwt. There there is a comboBox 
widget. But it would appear it does not support images inside a comboBox. I 
understand that Ext issues are to be discussed on this forum. Just excuss 
me!!   
   
   

--- On Tue, 5/18/10, Stefan Bachert  wrote:


From: Stefan Bachert 
Subject: Re: Loading text alongside image inside a ComboBox
To: "Google Web Toolkit" 
Date: Tuesday, May 18, 2010, 7:26 AM


Hi,

gwt core does not support a widget called combobox.
It supports a widget called listbox which looks like combobox.
the base for a html based combobox-like widget is . The items
itself are 
You can give the  additional "content" aka an image using css.
However, the gwt listbox api does not give you access to the 
items.

Maybe you build a select/option structure with ui-binder and assign it
to gwt "listbox"

you could use a widget library supporting a combobox like widget.
However, I would disadvice from javascript libraries which are just
wrappers (like smartGWT).

When you like to use a real gwt widget library you may consider GWT
mosaic.

Stefan Bachert
http://gwtworld.de

On 17 Mai, 14:44, fomba collins  wrote:
> Hello, it may be simple but I don´t know how to do it. I want to put the 
> names of countries alongside their flags inside a ComboBox. Can someone help 
> me on how to do it?
> reggards
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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.




  

-- 
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.



Re: Loading text alongside image inside a ComboBox

2010-05-18 Thread Stefan Bachert
Hi,

gwt core does not support a widget called combobox.
It supports a widget called listbox which looks like combobox.
the base for a html based combobox-like widget is . The items
itself are 
You can give the  additional "content" aka an image using css.
However, the gwt listbox api does not give you access to the 
items.

Maybe you build a select/option structure with ui-binder and assign it
to gwt "listbox"

you could use a widget library supporting a combobox like widget.
However, I would disadvice from javascript libraries which are just
wrappers (like smartGWT).

When you like to use a real gwt widget library you may consider GWT
mosaic.

Stefan Bachert
http://gwtworld.de

On 17 Mai, 14:44, fomba collins  wrote:
> Hello, it may be simple but I don´t know how to do it. I want to put the 
> names of countries alongside their flags inside a ComboBox. Can someone help 
> me on how to do it?
> reggards
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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.



Re: Loading text alongside image inside a ComboBox

2010-05-18 Thread mram
Yes, this it's easy to do it. Just use the Smart GWT library. See an
example of having a Combobox with an image inside of it:
  http://www.smartclient.com/smartgwt/showcase/#multi_select_combobox_category



On 17 mayo, 20:44, fomba collins  wrote:
> Hello, it may be simple but I don´t know how to do it. I want to put the 
> names of countries alongside their flags inside a ComboBox. Can someone help 
> me on how to do it?
> reggards
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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.



Re: Loading text alongside image inside a ComboBox

2010-05-17 Thread Jim Douglas
There's no GWT widget called ComboBox.  Possibly you're using some
other widget library (and should ask your question there?)

If you meant the GWT ListBox, then no, it's not possible.

http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/ListBox.html

On May 17, 11:44 am, fomba collins  wrote:
> Hello, it may be simple but I don´t know how to do it. I want to put the 
> names of countries alongside their flags inside a ComboBox. Can someone help 
> me on how to do it?
> reggards
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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.



Loading text alongside image inside a ComboBox

2010-05-17 Thread fomba collins
Hello, it may be simple but I don´t know how to do it. I want to put the names 
of countries alongside their flags inside a ComboBox. Can someone help me on 
how to do it?
reggards



  

-- 
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.