But this is where my problem starts... I'd love to use reflection to
populate the widgets. I.e for each getters in my DTO, I try to invoke
the corresponding setter in the widget (if exists). E.g.: If my
ButtonDTO has a getHeight(), I'd check if the Button widget has a
setHeight(). If so, I'd call setHeight() of the Button widget with the
value of buttonDTO.getHeight().
The easiest way to do this is through reflection, so that I won't have
to do the above manually for each property. Of course some values
cannot be set in this manner... that has to be dealt in the normal
way.
So, if I follow the approach that you mentioned as option 1, I won't
be able to use reflection, right? Any workarounds?
Thanks again,
Arshad
> --
> 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-we...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-tool...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>