Value in a Public Field

0 views
Skip to first unread message

josivan

unread,
Nov 27, 2009, 11:41:14 AM11/27/09
to GWT-Ent Developer Forum
Hi James, I have this code:

public class MyDTO {
public Long idf;
public String description;
}

when I need a value of public or default field, I have the
RuntimeException

throw new RuntimeException("Can not found getter of field (" + getName
() + ").");

Exists other way to get the field value?

tks

josivan

James Luo

unread,
Nov 30, 2009, 5:33:55 PM11/30/09
to gwt...@googlegroups.com
Hi, Josivan

  For now, there no way to get a value from field, you need a getter method :)

James


--

You received this message because you are subscribed to the Google Groups "GWT-Ent Developer Forum" group.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-ent+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-ent?hl=en.





--
Regards
James Luo
Reply all
Reply to author
Forward
0 new messages