Re: parallel RequestFactory calls within an Editor
Thanks, Thomas. I came back here just to report that. I had designed my services to take Entities (and EntityProxies on the GWT side) as arguments to "filter" what the Selector will return as its list of choices out of habit of design. I should have considered passing the ID from the start given that these arguments are serialized and passed over the wire. What threw me off was that the argument used for the Selector was a property of my root Editor's main EntityProxy, not the root EntityProxy itself, so I was initially at a loss when the error said I was trying to edit an EntityProxy already being edited. Also, I wasn't editing the arguments, just using them as parameters - but GWT RF of course doesn't know that. Passing the ID as you suggested cleared this up. Thanks for your feed back. Your posterous posts have been a lifesaver, btw. -B On Feb 5, 11:24 am, Thomas Broyer wrote: > Er, well, don't pass the EntityProxy as an argument to your method in the > oracle; pass its ID instead. -- 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.
Re: parallel RequestFactory calls within an Editor
Er, well, don't pass the EntityProxy as an argument to your method in the oracle; pass its ID instead. -- 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/-/PS25YkF9XDoJ. 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.
parallel RequestFactory calls within an Editor
Hi all, I have a complex Editor that contains a number of TextBox inputs and a Selector backed child Editor which represents a child EntityProxy of the root EntityProxy. I'm using the RequestFactoryEditorDriver to drive the root EntityProxy. My Selector backed Editor uses an oracle that performs an asynchronous RequestFactory service call to the server to query for the EntityProxy values - which causes the RequestContext "streams to cross" and an error. Is there any way to perform a RequestFactory based service call to the server while the root Editor is currently being driven by a RequestFactoryEditorDriver and initialized, awaiting to have its edits flushed? -- 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.