Thanks, Bob. I'll upload another patch with these changes when I have
the thing going. Roo, STS and I have been arguing.


http://gwt-code-reviews.appspot.com/912802/diff/1/5
File user/src/com/google/gwt/app/place/AbstractProxyEditActivity.java
(right):

http://gwt-code-reviews.appspot.com/912802/diff/1/5#newcode91
user/src/com/google/gwt/app/place/AbstractProxyEditActivity.java:91:
public EntityProxyId<P> getId() {
On 2010/09/23 15:13:40, bobv wrote:
See the use of this method below, I was assuming it would return a
string.  Can
you rename it to getStableId() or getEntityProxyId() ?

Done.

http://gwt-code-reviews.appspot.com/912802/diff/1/5#newcode142
user/src/com/google/gwt/app/place/AbstractProxyEditActivity.java:142:
public void onViolation(Set<Violation> errors) {
I think we shouldn't need to reset the request. The RFED is used per
session and then dropped. The request locks itself while waiting for a
response, and unlocks itself on an unsuccessful one. The activity is not
reused.

Re flushing, seems like I should have done that in saveClicked. I'm
still in the midst of manually testing this, so I don't know that it
works. (Review was a bit premature.)

On 2010/09/23 15:13:40, bobv wrote:
Do you need to reset the request at some point to be able to re-issue
it by just
calling RFED.flush(), or do you reinitialize the RFED?

http://gwt-code-reviews.appspot.com/912802/diff/1/14
File
user/src/com/google/gwt/requestfactory/client/RequestFactoryEditorDriver.java
(right):

http://gwt-code-reviews.appspot.com/912802/diff/1/14#newcode68
user/src/com/google/gwt/requestfactory/client/RequestFactoryEditorDriver.java:68:
* @param the request that will be fired when editing is done
On 2010/09/23 15:13:40, bobv wrote:
This suggests that RFED will fire the Request.

the request that will accumulate edits and is returned from {...@link
#flush}.

Done.

http://gwt-code-reviews.appspot.com/912802/diff/1/21
File user/src/com/google/gwt/requestfactory/shared/EntityProxy.java
(right):

http://gwt-code-reviews.appspot.com/912802/diff/1/21#newcode45
user/src/com/google/gwt/requestfactory/shared/EntityProxy.java:45: *
@return .
On 2010/09/23 15:13:40, bobv wrote:
Empty.

Done.

http://gwt-code-reviews.appspot.com/912802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to