Have you seen ListEditor?

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/editor/client/adapters/ListEditor.html

some example code:
http://c.gwt-examples.com/home/ui/listeditor


On Thu, Apr 19, 2012 at 10:02 AM, Mark Trueman
<[email protected]>wrote:

> Hi guys,
>
> If i have an Editor set up which is bound to Object1 using a
> SimpleBeanEditorDriver. Object1 contains a list of Object2s. How (if
> at all) do i use the @Path annotation to bind the object at a certain
> index with the list to a field?
>
> Ive tried a few things, such as
> @Path("Object2list[0].value")
> @Path("Object2list.[0].value")
>
> but im having no luck.
>
> Id rather not have to provide accessors in my Object1 such as
> "getFirstObject2()", but this currently seems like the only way around
> this.
>
> Thanks
>
> Mark
>
> --
> 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.
>
>

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