Wednesday, June 26, 2013

Re: Requestfactory, Embedded objects and .with

On Wednesday, June 26, 2013 9:03:47 AM UTC+2, wrote:
Hi chaps,

Have a problem understanding one thing regarding .with

In the following example,

you will find a part located in the fetch method.

            .find(((Long) Long.parseLong(txtInput.getText())))

I believe '.with' is used to grab datas from an embedded object within a class. (
Contact,Phone) because RequestFactory won't get it if you don't tell him to do so.

I believe then it could be Phone but
why "phones" ?

Can someone point me in the right direction ?

"phones" is the name of the property, corresponding to a getPhones() getter (note: on the proxy, not the domain object).

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment