Did you guys get anywhere with this? I'm learning the Editor Framework and 
my ValueListBox only contains the actual value - how do I make it so that I 
populate the list with a predefined set of values, and select the actual 
value as selected? I'm using GWTP.

My code for my UiFactory:

        @UiFactory
@Ignore
ValueListBox<String> stateInit()
{
return new ValueListBox<String>(new Renderer<String>()
{
@Override
public String render(String object)
{
return object;
}
@Override
public void render(String object, Appendable appendable) throws IOException
{
if(object != null)
{
                                        // NEED SOME LOGIC HERE?
appendable.append(object);
}
}
});
 }

Cheers,

Drew

On Wednesday, 2 March 2011 09:05:56 UTC, George Moschovitis wrote:
>
> Eh? can you elaborate on this?
>
> thanks for the help!
> -g.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/B3HUXaHGLL0J.
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