How to use Editors With a Service Oriented BackEnd

24 views
Skip to first unread message

POODevelopper

unread,
Oct 2, 2011, 4:31:30 PM10/2/11
to google-we...@googlegroups.com
Hello,

I'm working on a GWT application that uses Spring on the backend (service oriented approach not ActiveRecord) and I want to use Editor to push and get data from the UI.
To communicate with the backend I use ValueProxy because it's service oriented.

I want to know what kind of editors I have to use (SimpleBeanEditor or RequestFactor) and how can I use them ? 
Would nice to have an example explaining all this.

Thomas Broyer

unread,
Oct 2, 2011, 7:31:24 PM10/2/11
to google-we...@googlegroups.com
The main difference between SimpleBeanEditorDriver and RequestFactoryEditorDriver is that the later calls RequestContext#edit() on each object. The others are HasRequestContext and getPaths.

Mrabti Idriss

unread,
Oct 3, 2011, 3:41:16 AM10/3/11
to google-we...@googlegroups.com

Im using the SimpleBean editor and on the add action I call 'driver.flush()' then check if there is errors and finally I mad a request to add the object. If the object is successfully added I initialize my object and call 'driver.edit()' again, I don't know why I receive the 'Bean has been frozen' ??

Am I doing some thing wrong ??

On Oct 2, 2011 11:32 PM, "Thomas Broyer" <t.br...@gmail.com> wrote:
> The main difference between SimpleBeanEditorDriver and RequestFactoryEditorDriver is that the later calls RequestContext#edit() on each object. The others are HasRequestContext and getPaths.
>
> --
> 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/-/vvlLvaVVJQ4J.
> 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.
>
Reply all
Reply to author
Forward
0 new messages