On 17/06/2013 16:38, Pascal Heus wrote:
Tried that one but fails with
Cannot parse value: "FooKeyValue" as type java.lang.Object: <g:TreeItem ...
*P


On 6/17/13 12:38 PM, Philippe Lhoste wrote:
On 17/06/2013 10:55, Kulnor wrote:
Is there any way to set a TreeItem user object in the UI Binder XML?

Something like <g:TreeItemtext='Foo'userObject="FooKeyValue"/>

Have you tried it? (I haven't!)
I see TreeItem has a setUserObject(Object userObj) method, so maybe it
can work.

Ah, I expected the String to be an Object, but UiBinder tries to be 
"smarter"... :-P
Perhaps you can open a bug against UiBinder?

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to