Hi khiem, As of 2.1.1, you can replace static findEntity() methods using a Locator and ServiceLocator. Updated RF docs are available at http://code.google.com/webtoolkit/doc/trunk/DevGuideRequestFactory.html. A locator method implemented in a separate Locator class could decrypt the entity and retrieve the relations also.
HTH, /dmc On Tue, Feb 8, 2011 at 4:24 AM, khiem nguyen <[email protected]> wrote: > hi, > > i'm using Proxy-Entity with Locator for a gwt-app & got into problems > concerning this issue > http://code.google.com/p/google-web-toolkit/issues/detail?id=5724 > > > eg. i have several users, which retrieve data from DB, the data will be > retrieve from db & decrypted before delivering back to user, because of the > way static find() in locator work, when i do fire().with(...) with > relations, i cannot come to the relations of the entity to decrypt it. one > workaround would be only retrieve the ids of the relation & then get the > relations manually, but it seems not a good solution when u have alot of > nested-relations. > > what could be the solution here ? i guess a > customized ServiceLayerDecorator ??? can someone give some hints how to > start with it ? > > thanx > > -- > 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. > -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.
