i allready did, and it works, i just wanted to make sure. employee does implement IEmployee,i'm using the visitor becouse i wanted to avoid all the boiler code for set=get stuff, this way i have a generic class. my original intent was to use jpa's meta model api's and then dynamically call autobean's setters, however i didn't find anyway to have setProperty(name) on a autobean (unlike dynabean).
i also wonder whenever i can further customize the visitation process by applying annotations on the getters, so in some cases the visitor could access other places aside from main bean. (like the dozer framework i guess). i wonder i could also use validation framework with this auto bean.. btw on a completely different matter, what's the big idea with GPE plugin which somehow manages to "looses" the reference to gwt sdk, each time i open eclipse , i get a huge a mount of compile errors all indicating it misses gwt libraries, even though it already references them on the build path, i then have to right click the properties, go to google node, re-select the default sdk , then it settles down. On Mon, Jun 27, 2011 at 6:39 PM, Thomas Broyer <t.bro...@gmail.com> wrote: > I guess you could do so yes; best to try it out, to make sure. > > I just wonder why you aren't using a "wrapper bean" rather than a visitor, > i.e. IEmployee abEmployee = F.employee(e); Unless Employee doesn't implement > IEmployee? or you don't want to visit reference properties in this > particular servlet? (in that case, you should probably change your visitor > to also return false from visitReferenceProperty) > > Oh, just one thing: with both AutoBean and RequestFactory, there's a memory > leak on the "VM" code (not present in the compiled JavaScript) that'll only > be fixed in 2.4: > http://code.google.com/p/google-web-toolkit/issues/detail?id=6193 > > -- > 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/-/vciODcchxFAJ. > > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.