Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread Patrick Julien
The biggest problem I have so far with HasDataEditor is that it completely ignores HasDataEditor mutation of the data source. so HandlerRegistration addRangeChangeHandler(RangeChangeEvent.Handler handler); HandlerRegistration addRowCountChangeHandler( RowCountChangeEvent.Handler handler);

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread BobV
On Sun, Oct 3, 2010 at 10:24 AM, Patrick Julien pjul...@gmail.com wrote: The biggest problem I have so far with HasDataEditor is that it completely ignores HasDataEditor mutation of the data source. This is intentional. HasDataEditor and its superclass, ListEditor require that mutations of the

[gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread Thomas Broyer
On Oct 3, 4:57 pm, Patrick Julien pjul...@gmail.com wrote: Any sample somewhere then because I am not getting how to use this class properly There's sample code in ListEditor.getList()'s javadoc; but I think HasDataEditor might be missing a call to the HasData's setRowCount method. And/or

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread BobV
On Sun, Oct 3, 2010 at 10:57 AM, Patrick Julien pjul...@gmail.com wrote: Any sample somewhere then because I am not getting how to use this class properly The FavoritesWidget in the DynaTableRf sample uses ListEditor. See the uses of the displayedList field. It works this way so that

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread Patrick Julien
On Sun, Oct 3, 2010 at 11:21 AM, BobV b...@google.com wrote: On Sun, Oct 3, 2010 at 10:57 AM, Patrick Julien pjul...@gmail.com wrote: Any sample somewhere then because I am not getting how to use this class properly The FavoritesWidget in the DynaTableRf sample uses ListEditor.  See the uses

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread BobV
There's sample code in ListEditor.getList()'s javadoc; but I think HasDataEditor might be missing a call to the HasData's setRowCount method. The HasDataEditorSource is indeed missing a call to setRowCount(). It should check to see if the size of the exported list has changed whenever

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread Patrick Julien
I have this almost going. I hit a bug in public SimpleEntityProxyId.equals boolean equals(Object o) { if (!(o instanceof SimpleEntityProxyId?)) { return false; } SimpleEntityProxyId? other = (SimpleEntityProxyId?) o; if (!proxyClass.equals(other.proxyClass)) { return

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-03 Thread Patrick Julien
Reduced test case: PhoneHandle handle1 = rc.create(PhoneHandle.class); PhoneHandle handle2 = rc.create(PhoneHandle.class); assert !handle1.equals(handle2); throws because serverId is null in

[gwt-contrib] [google-web-toolkit] r8919 committed - Public: Add isEnabled to HasEnabled...

2010-10-03 Thread codesite-noreply
Revision: 8919 Author: ncha...@google.com Date: Sat Oct 2 07:59:52 2010 Log: Public: Add isEnabled to HasEnabled Review by: jlaba...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8919 Modified: /trunk/user/src/com/google/gwt/user/client/ui/HasEnabled.java

[gwt-contrib] [google-web-toolkit] r8921 committed - Intern strings in the compiler AST to reduce memory footprint....

2010-10-03 Thread codesite-noreply
Revision: 8921 Author: con...@google.com Date: Sat Oct 2 13:55:34 2010 Log: Intern strings in the compiler AST to reduce memory footprint. Review at http://gwt-code-reviews.appspot.com/946801 http://code.google.com/p/google-web-toolkit/source/detail?r=8921 Modified:

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-03 Thread Ed
Today the nightly build failed again and no compiler error occurred as appears in the above log snippet :( Below the concerning logging snippet. In the logging you see that the Proxy servlet does forward calls to the parent class: GWT servlet: GWTShellServlet (No Proxy forward in the logging means

[gwt-contrib] [google-web-toolkit] r8920 committed - Fixing a ConcurrentModificationException in JsonRequestProcessor that ...

2010-10-03 Thread codesite-noreply
Revision: 8920 Author: jlaba...@google.com Date: Sat Oct 2 12:01:57 2010 Log: Fixing a ConcurrentModificationException in JsonRequestProcessor that occurs when you use a setter that sets an Entity from null to a value. Also fixes a bug in DeltaValueStoreJsonImpl#retainValue() where we only

[gwt-contrib] [google-web-toolkit] r8922 committed - Add test to verify fix of ROO-1215...

2010-10-03 Thread codesite-noreply
Revision: 8922 Author: gwt.mirror...@gmail.com Date: Sun Oct 3 10:39:43 2010 Log: Add test to verify fix of ROO-1215 Patch by: bobv Review by: rjrjr Review at http://gwt-code-reviews.appspot.com/947801 http://code.google.com/p/google-web-toolkit/source/detail?r=8922 Modified:

[gwt-contrib] @font-face declarations in CssResource

2010-10-03 Thread jarrod
It would seem that the GWT compiler does not allow @font-face declarations to appear in CssResources. I filed an issue on this a while back but I don't think it hasn't gotten much attention. Any thoughts on this? http://code.google.com/p/google-web-toolkit/issues/detail?id=5247 --

[gwt-contrib] Fix NullPointerException in SimpleEntityProxyId. (issue949801)

2010-10-03 Thread bobv
Reviewers: rjrjr, Description: Fix NullPointerException in SimpleEntityProxyId. Patch by: bobv Review by: rjrjr Suggested by: pjulien Please review this at http://gwt-code-reviews.appspot.com/949801/show Affected files: M

[gwt-contrib] Fix NPE in AbstractRequestContext with newly-created items. (issue938802)

2010-10-03 Thread bobv
Reviewers: rjrjr, Description: Fix NPE in AbstractRequestContext with newly-created items. Add a test. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/938802/show Affected files: M

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-03 Thread Ed
Just played with the -runStyle Manual option I am afraid that is not a correct option for me as I will run the tests during the nightly build and with -runStyle option Manual will stop when running the test and I have to manually copy/past the displayed url, like explained in:

[gwt-contrib] Serialization white list generation question.

2010-10-03 Thread olivier nouguier
Hi all, Is there a way to build the gwt.rpc files at server start time (dev mode of course). AFAIK the file are generated during the first service call, this is no longer working with WTP 3.2.2. One working solution consist in a custom serialization provider which is waiting until the file is

[gwt-contrib] Re: Update DynaTableRf sample to demonstrate Leaf+CompositeEditor that shows how to work with option... (issue948801)

2010-10-03 Thread bobv
http://gwt-code-reviews.appspot.com/948801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8923 committed - Public (konstantin.scheg...@gmail.com):...

2010-10-03 Thread codesite-noreply
Revision: 8923 Author: rj...@google.com Date: Sun Oct 3 08:42:48 2010 Log: Public (konstantin.scheg...@gmail.com): These annotations allow us use HorizontalSplitPanel, VerticalSplitPanel and NamedFrame in UiBinder. http://gwt-code-reviews.appspot.com/865801 Review by: rjrjr

[gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Patrick Julien
I'm getting used to this editor framework and I like it a lot, unfortunately, I think I've stumble upon a blocker for me. EntityProxy's that contain collections are not being filled in. So you can send up an object graph in one shot in order to save it. Which is great. Unfortunately, on

[gwt-contrib] [google-web-toolkit] r8926 committed - Introduce OptionalFieldEditor to support editing nullable fields....

2010-10-03 Thread codesite-noreply
Revision: 8926 Author: b...@google.com Date: Sun Oct 3 11:35:25 2010 Log: Introduce OptionalFieldEditor to support editing nullable fields. Update DynaTableRf sample to demonstrate. Patch by: bobv Review by: rjrjr Suggested by: pjulien Review at http://gwt-code-reviews.appspot.com/948801

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Patrick Julien
Is there a wildcard value? I don't want the all the fields when listing but when I go in edit details, I do On Sun, Oct 3, 2010 at 7:10 PM, Ray Cromwell cromwell...@gmail.com wrote: Any relational (non-value fields) are by default not sent back with a request, you must request them with the

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Patrick Julien
Yeah, because even with using with(). The problem is the entire object graph isn't there So I have a practice that has offices and each office has phones. So if I ask for offices. It fills in the offices but the phones inside it are not. This could get laborious if I need to do this manually

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread BobV
On Sun, Oct 3, 2010 at 7:24 PM, Patrick Julien pjul...@gmail.com wrote: Yeah, because even with using with().  The problem is the entire object graph isn't there So I have a practice that has offices and each office has phones. So if I ask for offices.  It fills in the offices but the phones

[gwt-contrib] [google-web-toolkit] r8927 committed - Fix ClassCastException in AbtstractRequestContext.isChanged();...

2010-10-03 Thread codesite-noreply
Revision: 8927 Author: b...@google.com Date: Sun Oct 3 14:17:43 2010 Log: Fix ClassCastException in AbtstractRequestContext.isChanged(); Patch by: bobv Review by: rjrjr Review at http://gwt-code-reviews.appspot.com/931803 http://code.google.com/p/google-web-toolkit/source/detail?r=8927

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Patrick Julien
No, it's not just me, anything one level deep doesn't get picked up. So my offices also have on address and it's not in the getPath() array either. Even if it was, what's the syntax for sub path elements? On Sun, Oct 3, 2010 at 8:38 PM, Patrick Julien pjul...@gmail.com wrote: Getting there.  

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Ray Cromwell
the syntax of with() is with(property.subProperty.subSubProperty, property2.subProperty2.subPropertyProperty2). Bob can answer the question as to how to make deeply composited editors do the right thing. On Sun, Oct 3, 2010 at 6:02 PM, Patrick Julien pjul...@gmail.com wrote: No, it's not just

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Patrick Julien
I'm still having difficulties even with this syntax, again the collections seem to be the problem so having offices give me back all my offices. but putting offices.address, or offices.office.address or office.address still gives me null On Sun, Oct 3, 2010 at 9:07 PM, Ray Cromwell

Re: [gwt-contrib] Sub entities not being filled in

2010-10-03 Thread Sam Gross
I also ran into a bug today where sub entities were not always deserialized. The problem is in that entries in related objects may refer to entities that haven't been deserialized yet if the referenced entities occur later in related objects. Splitting AbstractRequestContext.processReturnRecord