Re: [gwt-contrib] Typed Arrays and WebGL

2011-12-28 Thread Patrick Julien
Philip, are you saying WebGL is in IE10 proper? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Was the lack of server side templating in GWT one of the reasons why Google+ team did not choose GWT ?

2011-07-20 Thread Patrick Julien
Why don't you feature the Google products that use GWT in the gallery? http://gwtgallery.appspot.com/ I'm always coming up against the argument that Google doesn't use GWT, always. It's annoying and I shouldn't have to make that sale and I wouldn't need to if the gallery featured those products

[gwt-contrib] rfc on 6068 fix

2011-05-08 Thread Patrick Julien
Here is what I am planning to do to fix issue 6068 http://code.google.com/p/google-web-toolkit/issues/detail?id=6068 1. Add to BeanMethod.java (package com.google.web.bindery.autobean.vm.impl;) an TO_ARRAY value 2. Add to JBeanMethod.java (com.google.web.bindery.autobean.gwt.rebind.model;) an

Re: [gwt-contrib] HasRequestContext and 2.3.0rc1

2011-04-28 Thread Patrick Julien
IsEditorHasDataEditorAchievementDefinitionHandle, HasRequestContextHasDataEditorAchievementDefinitionHandle { Removing HasRequestContext fixes the error On Thu, Apr 28, 2011 at 12:44 PM, BobV b...@google.com wrote: On Wed, Apr 27, 2011 at 10:56 PM, Patrick Julien pjul...@gmail.com wrote: How does this actually work

Re: Re : Re: [gwt-contrib] HasRequestContext and 2.3.0rc1

2011-04-28 Thread Patrick Julien
Thanks Thomas, I'm starting to think you know all 6000~ tickets in the issue tracker from memory. However, I was only pointing it out here, this is a nice feature to have since this was a 2.2 code base where I was propagating the RequestContext myself On Thu, Apr 28, 2011 at 2:44 PM, Thomas

Re: [gwt-contrib] GWT SDK 2.3.0.RC1

2011-04-27 Thread Patrick Julien
Since you asked so nicely, I can confirm that changing imports and the gwt.xml file was all I needed to do to fix 2 large gwt applications. On Tue, Apr 26, 2011 at 8:48 PM, Chris Ramsdale cramsd...@google.com wrote: Hey GWTC folks, We have a GWT SDK 2.3.0.RC1 build that we would love feedback

[gwt-contrib] HasRequestContext and 2.3.0rc1

2011-04-27 Thread Patrick Julien
How does this actually work? If I implement HasRequestContextT anywhere, the containing request factory editor driver that is generated no longer compiles, saying that there is a missing constructor -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] RR: Promoting RequestFactory to a higher package

2011-03-25 Thread Patrick Julien
My reaction is that EventBus/SimpleEventBus and friends should be part of this On Fri, Mar 25, 2011 at 5:19 PM, Ray Ryan rj...@google.com wrote: RequestFactory is proving itself useful in non-GWT contexts, so we would like to give it more independence. Our plan with the GWT 2.3 release is to

Re: [gwt-contrib] ListEditorWrapper frozen autobeans

2011-03-01 Thread Patrick Julien
I don't think so, this issue started showing up when workingCopy was added to ListEditorWrapper. If I backtrack to a version before it, I'm fine. The other thing is I don't seem to have the problem reported in 6081. Mine has to do with the method toArray() being called, so there isn't anything

Re: [gwt-contrib] ListEditorWrapper frozen autobeans

2011-02-28 Thread Patrick Julien
yes, with patch http://gwt-code-reviews.appspot.com/1159801/show On Mon, Feb 28, 2011 at 8:43 PM, Ray Ryan rj...@google.com wrote: Patrick, did you file an issue about this? On Tue, Feb 22, 2011 at 7:15 AM, Patrick Julien pjul...@gmail.com wrote: http://gwt-code-reviews.appspot.com/1159801

Re: [gwt-contrib] ListEditorWrapper frozen autobeans

2011-02-28 Thread Patrick Julien
sorry, wrong link http://gwt-code-reviews.appspot.com/1361802/ On Mon, Feb 28, 2011 at 10:55 PM, Patrick Julien pjul...@gmail.com wrote: yes, with patch http://gwt-code-reviews.appspot.com/1159801/show On Mon, Feb 28, 2011 at 8:43 PM, Ray Ryan rj...@google.com wrote: Patrick, did you

[gwt-contrib] ListEditorWrapper frozen autobeans

2011-02-22 Thread Patrick Julien
http://gwt-code-reviews.appspot.com/1159801/show Introduces an autobean is frozen issue. The problem is that the workingCopy variable that is introduced doesn't cause autobeans to be unfrozen. The scenario that I have is pretty simple: public class XEditor extends composite implements

Re: [gwt-contrib] Re: RequestFactory access from Android

2011-02-16 Thread Patrick Julien
Ah, never mind, I think the idea is to use this new JSON-RPC support. This will also solve the issue of accessing from wp7 On Tue, Feb 15, 2011 at 4:40 PM, Patrick Julien pjul...@gmail.com wrote: Thanks Bob, do you mind if I file an issue to formally request this? At this stage, I have

Re: [gwt-contrib] Re: RequestFactory access from Android

2011-02-15 Thread Patrick Julien
Thanks Bob, do you mind if I file an issue to formally request this? At this stage, I have it compiling but unable to parse requests on the server On Tue, Feb 15, 2011 at 1:09 PM, BobV b...@google.com wrote: RequestFactoryMagic works on Android, but you'll need to do some build hacking to get

[gwt-contrib] RequestFactory access from Android

2011-02-14 Thread Patrick Julien
Anywhere I should start looking? This is JSON and everything but I want to access GWT services from Android and wp7. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: RequestFactory access from Android

2011-02-14 Thread Patrick Julien
Thanks. The worst thing is, is that I remember seeing this thing a while back now that you point it out again. That will help for android and other java based platforms. On Mon, Feb 14, 2011 at 5:35 PM, Thomas Broyer t.bro...@gmail.com wrote: The RequestFactoryMagic type can be used to

Re: [gwt-contrib] Stack overflow problem in HashMap.hashCode() and possible fix

2011-01-02 Thread Patrick Julien
This behavior happens outside of GWT too in regular Java. This has nothing to do with GWT. HashMap does not support null values or keys On Sun, Jan 2, 2011 at 1:37 PM, sinelaw jones.noa...@gmail.com wrote: Problem can be reproduced with four lines of code:                HashMapString,Object

[gwt-contrib] child entities modifications still not accessible in 2.1.1

2010-12-17 Thread Patrick Julien
Originally from http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/1b67cfebede416b7/e958579badd4613a?lnk=gstq=pjulien+dvsDataMap#e958579badd4613a and other posts. I've now reported http://code.google.com/p/google-web-toolkit/issues/detail?id=5776 and included

Re: [gwt-contrib] Re: Breaking change proposed: future proofing Activity in 2.1.1

2010-12-09 Thread Patrick Julien
On Thu, Dec 9, 2010 at 1:04 PM, Ray Ryan rj...@google.com wrote: Nnnnevermind. I think it's too late for me to make this not-terribly-popular change. It's already more widely adopted than I realized internally, so I have to assume that's even more true externally. I can't imagine such a

Re: [gwt-contrib] Breaking change proposed: future proofing Activity in 2.1.1

2010-12-03 Thread Patrick Julien
making it a class instead of an interface means we can't mock it anymore. On Thu, Dec 2, 2010 at 10:55 PM, Ray Ryan rj...@google.com wrote: We're making a few breaking changes in 2.1.1 to the new features introduced in 2.1. (We're not supposed to do that kind of thing, but are hoping to get

Re: [gwt-contrib] Breaking change proposed: future proofing Activity in 2.1.1

2010-12-03 Thread Patrick Julien
is that making sure it remains a trivial class with only no-ops means you don't need to mock it. Is that a reasonable assumption? On Fri, Dec 3, 2010 at 11:11 AM, Patrick Julien pjul...@gmail.com wrote: making it a class instead of an interface means we can't mock it anymore. On Thu, Dec 2

Re: [gwt-contrib] Breaking change proposed: future proofing Activity in 2.1.1

2010-12-03 Thread Patrick Julien
wrote: On Fri, Dec 3, 2010 at 2:58 PM, Patrick Julien pjul...@gmail.com wrote: I don't know since I don't know what your plans are, will just have to trust you. That being said, the Activity interface is currently really nice and it doesn't tie us down to a single class for inheritance. I have

Re: [gwt-contrib] Breaking change proposed: future proofing Activity in 2.1.1

2010-12-03 Thread Patrick Julien
On Fri, Dec 3, 2010 at 3:18 PM, Ray Ryan rj...@google.com wrote: Patrick, you're the case in point. Because you don't use the abstract class, if we change the API later we will break your app. I guess I don't understand how you're making it better then. I'm currently working on Android and I

Re: [gwt-contrib] Breaking change proposed: future proofing Activity in 2.1.1

2010-12-03 Thread Patrick Julien
On Fri, Dec 3, 2010 at 3:35 PM, Ray Ryan rj...@google.com wrote: One more question for Patrick: would you be better able to use AbstractActivity if the IsActivity interface were available? I don't want to speak for anybody else but not to me no. What AbstractActivity provides is so little that

Re: [gwt-contrib] Re: Comment on Editors in google-web-toolkit

2010-11-23 Thread Patrick Julien
On Tue, Nov 23, 2010 at 11:18 AM, codesite-nore...@google.com wrote: Comment by vinays.work: I am seriously disappointed with the Editor framework. What we need is a Bean Binding framework much like those that have existed in Swing. You just associate the bean property with the widget and

Re: [gwt-contrib] Overhaul the RequestFactory server code. (issue1080801)

2010-11-05 Thread Patrick Julien
I think this is still missing one core feature that makes it unusable. The problem is still validators. ConstraintViolation cannot be returned or thrown from our methods which means only the default group validation can be used. e.g., let's say we have a UserAccount. Depending if the user has

Re: [gwt-contrib] Overhaul the RequestFactory server code. (issue1080801)

2010-11-05 Thread Patrick Julien
/RequestFactory_2_1_1 On Fri, Nov 5, 2010 at 11:21 AM, Patrick Julien pjul...@gmail.com wrote: I think this is still missing one core feature that makes it unusable.  The problem is still validators.  ConstraintViolation cannot be returned or thrown from our methods which means only the default group

Re: [gwt-contrib] Overhaul the RequestFactory server code. (issue1080801)

2010-11-05 Thread Patrick Julien
I know it is, but the idea to have direct support is that constraint violations must be translated properly in order to make it back to the UI, I'm talking mainly about the editor framework here. Currently, a first pass is done to validate, any constraints are translated and then the service

Re: [gwt-contrib] 2.1 is here -- thanks

2010-10-30 Thread Patrick Julien
with this release. It simply could not have happened without your participation in design discussions, your patches, and your scrutiny of patches. I'd particularly like to thank Thomas Broyer and Patrick Julien, who were very vocal pioneering adopters of all the new stuff. You found bugs, found

Re: [gwt-contrib] HandlerManager is going way of the dodo!

2010-10-18 Thread Patrick Julien
In the case of HandlerManager, you just need to replace it with EventBus/SimpleEventBus. The interface is nice if you're working with gin and it's also nice for unit testing. If you don't want to be bothered too much, just substitute all instances of HandlerManager with SimpleEventBus and you're

Re: [gwt-contrib] Re: Not using dvsDataMap on child entities

2010-10-15 Thread Patrick Julien
, BobV b...@google.com wrote: On Thu, Oct 14, 2010 at 8:17 PM, Patrick Julien pjul...@gmail.com wrote: As a follow up this, the internal persist() method isn't called on these modified entities either. Chained persistence is explicitly outside the RequestFactory design because RequestFactory

Re: [gwt-contrib] Re: Not using dvsDataMap on child entities

2010-10-15 Thread Patrick Julien
Not to mention that it's right there, it's in dvsDataMap, the only problem is that it's sending the copy from the wrong map, that's it. On Fri, Oct 15, 2010 at 11:01 AM, Patrick Julien pjul...@gmail.com wrote: Do you have any idea on how I could get to the modified sub-entity? I have no way

[gwt-contrib] JsonRequestProcessor can't execute validation groups

2010-10-15 Thread Patrick Julien
Namely this: violations = validator.validate(entityInstance); we can't do violations = validator.validate(entityInstance, SomeGroup.class); I'm bringing it up, I don't have a solution for this right now but I feel we should have at least have a way to disable the validator inside the processor

[gwt-contrib] Not using dvsDataMap on child entities

2010-10-14 Thread Patrick Julien
Simple test case: User Office hours I will get back entity proxies that are represent this information on the client. If I call edit. The entire tree is now mutable thanks to the latest fixes. However, if I update a sub-entity, when I fire this request back to the server, I have the

[gwt-contrib] Re: Not using dvsDataMap on child entities

2010-10-14 Thread Patrick Julien
at 2:15 PM, Patrick Julien pjul...@gmail.com wrote: Simple test case: User   Office hours I will get back entity proxies that are represent this information on the client.  If I call edit.  The entire tree is now mutable thanks to the latest fixes. However, if I update a sub-entity, when I

Re: [gwt-contrib] GWT Editors - wiki documentation review requested

2010-10-11 Thread Patrick Julien
EditorComposite, it's not clear if you make your own when, or if, you should add sub-editor values to the collection that backs the EditorComposite. This burned us big time. driver.getPath() needs to be exposed somehow, I understand it isn't exposed here since entities are not mentioned Should

Re: [gwt-contrib] Ensure that EntityProxy instances returned from Collections returned from an editable EntityProx... (issue976801)

2010-10-09 Thread Patrick Julien
thank you On Sat, Oct 9, 2010 at 11:28 AM, b...@google.com wrote: Reviewers: rjrjr, Description: Ensure that EntityProxy instances returned from Collections returned from an editable EntityProxy are editable. Patch by: bobv Review by: rjrjr Found by: pjulien Please review this at

Re: [gwt-contrib] Ensure that EntityProxy instances returned from Collections returned from an editable EntityProx... (issue976801)

2010-10-09 Thread Patrick Julien
thanks, I've got the patch already On Sat, Oct 9, 2010 at 11:42 AM, Patrick Julien pjul...@gmail.com wrote: thank you On Sat, Oct 9, 2010 at 11:28 AM,  b...@google.com wrote: Reviewers: rjrjr, Description: Ensure that EntityProxy instances returned from Collections returned from

Re: [gwt-contrib] AutoBean frozen bug repeat

2010-10-09 Thread Patrick Julien
thanks, I've got the patch already On Sat, Oct 9, 2010 at 11:42 AM, BobV b...@google.com wrote: On Fri, Oct 8, 2010 at 8:01 PM, Patrick Julien pjul...@gmail.com wrote: Proxies reached from getters from a mutable proxy aren't mutable In the meantime, you can can edit() for the entity

[gwt-contrib] AutoBean frozen bug repeat

2010-10-08 Thread Patrick Julien
Proxies reached from getters from a mutable proxy aren't mutable doc for edit: /** * Returns a mutable version of the proxy, whose mutations will accumulate in * this context. Proxies reached via getters on this mutable proxy will also * be mutable. */ T extends EntityProxy T edit(T

Re: [gwt-contrib] [google-web-toolkit] r8965 committed - Resolves ROO-1508 by requiring CompositeEditors to return a canonical ...

2010-10-07 Thread Patrick Julien
Thank you, my editor works now, and on the first try too, I have a very complex object graph and it just handles' it. GWT has never been so good. On Thu, Oct 7, 2010 at 10:52 AM, codesite-nore...@google.com wrote: Revision: 8965 Author: b...@google.com Date: Wed Oct  6 10:46:19 2010 Log:

[gwt-contrib] Other use case for editor framework

2010-10-07 Thread Patrick Julien
Hi Bob, If you're interested in more use cases for the editor framework, here's another one for you... The problem is actually pretty common, the idea is that if you want to create, or layout, an object in the hierarchy where it technically isn't, you can't. This happens quite a bit, and when

[gwt-contrib] AutoBean frozen bug

2010-10-07 Thread Patrick Julien
I believe I've encountered the bug. What I see is on reception, all the entities proxies are made immutable. They stay frozen, and finally, when flushing the driver, there is yet another loop to freeze all the AutoBeans. Nowhere in between were the beans made mutable. This is necessary because

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

2010-10-07 Thread Patrick Julien
to serialize them. On Mon, Oct 4, 2010 at 11:15 AM, Ray Ryan rj...@google.com wrote: https://jira.springsource.org/browse/ROO-1488 On Mon, Oct 4, 2010 at 11:13 AM, Ray Ryan rj...@google.com wrote: Bob is in transit today. We're working on a fix. On Mon, Oct 4, 2010 at 9:07 AM, Patrick Julien pjul

Re: [gwt-contrib] AutoBean frozen bug

2010-10-07 Thread Patrick Julien
Yes, I know, rc.edit() is called, this is just before the flush, rc.edit has been called well before this. On Thu, Oct 7, 2010 at 5:23 PM, BobV b...@google.com wrote: On Thu, Oct 7, 2010 at 1:55 PM, Patrick Julien pjul...@gmail.com wrote: They stay frozen, and finally, when flushing the driver

Re: [gwt-contrib] AutoBean frozen bug

2010-10-07 Thread Patrick Julien
And I might add, otherwise the flush would fail, values coming from the editors directly are fine On Thu, Oct 7, 2010 at 5:25 PM, Patrick Julien pjul...@gmail.com wrote: Yes, I know, rc.edit() is called, this is just before the flush, rc.edit has been called well before this. On Thu, Oct 7

Re: [gwt-contrib] AutoBean frozen bug

2010-10-07 Thread Patrick Julien
} })); On Thu, Oct 7, 2010 at 5:27 PM, Patrick Julien pjul...@gmail.com wrote: And I might add, otherwise the flush would fail, values coming from the editors directly are fine On Thu, Oct 7, 2010 at 5:25 PM, Patrick Julien pjul...@gmail.com wrote: Yes, I know, rc.edit() is called

Re: [gwt-contrib] AutoBean frozen bug

2010-10-07 Thread Patrick Julien
never mind, rc.edit(response); returns a value, and that one is not frozen On Thu, Oct 7, 2010 at 5:35 PM, Patrick Julien pjul...@gmail.com wrote: FYI, if I modify to:       �...@override        public String saveTriggered() {                getRequestContext().edit(getValue

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

2010-10-04 Thread Patrick Julien
. OfficeEditor has one AddressEditor and a HasDataEditorPhone so getPath() is currently buggy unless there's a way I can fill in my own traverseEditor somehow On Sun, Oct 3, 2010 at 9:47 PM, Patrick Julien pjul...@gmail.com wrote: I'm still having difficulties even with this syntax, again

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

2010-10-04 Thread Patrick Julien
Bob, any suggestions for a work around for the moment? On Mon, Oct 4, 2010 at 9:41 AM, Patrick Julien pjul...@gmail.com wrote: For the editor part, I can see in the generated code for my editor that public static void traverseEditor(com.*.client.ui.EditorContainer editor, String prefix

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

2010-10-04 Thread Patrick Julien
a collection, putting offices office offices.name office.name offices.office.name just doesn't work. On Mon, Oct 4, 2010 at 9:41 AM, Patrick Julien pjul...@gmail.com wrote: For the editor part, I can see in the generated code for my editor that public static void traverseEditor(com

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

2010-10-04 Thread Patrick Julien
On Mon, Oct 4, 2010 at 5:32 PM, BobV b...@google.com wrote: Your feedback has been very helpful in finding out where the weak points in our APIs and implementations are. driver.getPath() isn't able to completely scan an editor tree when it contains CompositeEditor's that, they themselves,

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

2010-10-04 Thread Patrick Julien
OK, this also works for me, where it breaks down is more collections So I go back to practice, offices and phones class Practice { private ListOffice offices; } class Office { private ListPhone phones; } practive is unique and has a list of offices What I get back has all the practice seeded.

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

2010-10-03 Thread Patrick Julien
); aren't used. Because of that, it's not able to handle the scenarios of the inline list that adds or remove items. In this case, a simple list of phones. This list changes if we create a row and it also changes if we hit the remove button on a row On Sat, Oct 2, 2010 at 9:20 PM, Patrick Julien

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 Patrick Julien
into the || serverId here is null because it never got into the server, so it throws an NPE. On Sun, Oct 3, 2010 at 11:43 AM, Patrick Julien pjul...@gmail.com wrote: 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

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

2010-10-03 Thread Patrick Julien
in SimpleEntityProxyId On Sun, Oct 3, 2010 at 12:28 PM, Patrick Julien pjul...@gmail.com wrote: 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

[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

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

2010-10-03 Thread Patrick Julien
on boss, so instead, you write getEmployeesFrom(boss).with(managedEmployees).fire(...) if you want that field. Perhaps the editor framework is not setting up these with() calls as it should be? On Sun, Oct 3, 2010 at 3:11 PM, Patrick Julien pjul...@gmail.com wrote: I'm getting used to this editor

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

2010-10-03 Thread Patrick Julien
for each editing activity On Sun, Oct 3, 2010 at 7:17 PM, Patrick Julien pjul...@gmail.com wrote: 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

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

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

2010-10-03 Thread Patrick Julien
...@gmail.com wrote: 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

[gwt-contrib] creating resource automatically from editors

2010-10-02 Thread Patrick Julien
What does it take exactly? If I look at dynatblerf sample, there is an AddressEditor in a PersonEditor and it just seems to work. I have the same thing, I have a SecuritySettingsEditor inside another Editor and when I get the EntityProxy back, the security settings field is always null. What

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

2010-10-02 Thread Patrick Julien
); collection.add(value); } } On Sat, Oct 2, 2010 at 12:02 PM, Patrick Julien pjul...@gmail.com wrote: Even if I put in things manually, let's say EditorContainerOfficeHandle, HashSetOfficeHandle, OfficeEditor offices; which is a CompositeEditor public class

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
On Sat, Oct 2, 2010 at 4:41 PM, BobV b...@google.com wrote: On Sat, Oct 2, 2010 at 1:56 PM, Patrick Julien pjul...@gmail.com wrote: This assumes that the built in persist method works for everyone and it really, really doesn't.  Now we have a serious chicken and egg problem because our persist

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
a good way of doing this On Sat, Oct 2, 2010 at 4:52 PM, Patrick Julien pjul...@gmail.com wrote: On Sat, Oct 2, 2010 at 4:41 PM, BobV b...@google.com wrote: On Sat, Oct 2, 2010 at 1:56 PM, Patrick Julien pjul...@gmail.com wrote: This assumes that the built in persist method works for everyone

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
Ah sorry, it's the request members of RequestFactory can now inherit from RequestContext. Will give that a go If that works, would be pretty sweet On Sat, Oct 2, 2010 at 4:53 PM, Patrick Julien pjul...@gmail.com wrote: sorry, s/rc/rf/ RequestFactory doesn't have create anymore, neither

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

2010-10-02 Thread Patrick Julien
This actually makes sense to me but if the composite editor is set or a list, the framework will still be able to construct those types? You have    CompositeEditorPersonProxy, PersonProxy, NameLabel,    LeafValueEditorPersonProxy { But if the generic parameter was a collection, wouldn't the

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

2010-10-02 Thread Patrick Julien
thank you for the clarification, I get it I don't suppose you have advice for using a mutable CellTable in the editor framework? On Sat, Oct 2, 2010 at 8:34 PM, BobV b...@google.com wrote: But if the generic parameter was a collection, wouldn't the fact that it's a leaf editor prevent the

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
Works for me, and have to say, this is pretty sweet. Also, very nice touch throwing an exception if an entity crosses request context. On Sat, Oct 2, 2010 at 5:25 PM, Patrick Julien pjul...@gmail.com wrote: Ah sorry, it's the request members of RequestFactory can now inherit from

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

2010-10-02 Thread Patrick Julien
On Sat, Oct 2, 2010 at 9:07 PM, BobV b...@google.com wrote: On Sat, Oct 2, 2010 at 8:45 PM, Patrick Julien pjul...@gmail.com wrote: thank you for the clarification, I get it I'm adding a new adapter class to handle this case, since optional fields seems like a common thing to see

Re: [gwt-contrib] Re: editor framework and radio buttons

2010-10-01 Thread Patrick Julien
yeah, CheckBox doesn't work out of the box either because it needs to implement ValueBase On Fri, Oct 1, 2010 at 8:36 AM, Patrick Julien pjul...@gmail.com wrote: thanks for the info On Fri, Oct 1, 2010 at 5:27 AM, Thomas Broyer t.bro...@gmail.com wrote: On Sep 30, 6:56 pm, Patrick Julien

Re: [gwt-contrib] Re: editor framework and radio buttons

2010-10-01 Thread Patrick Julien
On Fri, Oct 1, 2010 at 6:51 PM, Thomas Broyer t.bro...@gmail.com wrote: On 1 oct, 18:14, Patrick Julien pjul...@gmail.com wrote: yeah, CheckBox doesn't work out of the box either because it needs to implement ValueBase Because you try to wrap it in a ValueBoxEditorDecorator? Yep, I have

Re: [gwt-contrib] Re: editor framework and radio buttons

2010-10-01 Thread Patrick Julien
Ah, now I know what you're saying, I was trying to wrap this thing in a decorator, you just need to use it directly since it's an editor On Fri, Oct 1, 2010 at 7:03 PM, Patrick Julien pjul...@gmail.com wrote: On Fri, Oct 1, 2010 at 6:51 PM, Thomas Broyer t.bro...@gmail.com wrote: On 1 oct, 18

Re: [gwt-contrib] JsonRequestProcessor.validateKeys

2010-10-01 Thread Patrick Julien
The problem is inside in JsonRequestProcessor in the method updatePropertyTypes It's using entity.getDeclaredFields() which will omit all inherited fields. On Fri, Oct 1, 2010 at 5:24 PM, Pascal Patry i...@invalidip.com wrote: I'm currently having 2 issues with

Re: [gwt-contrib] Re: editor framework and radio buttons

2010-10-01 Thread Patrick Julien
On Fri, Oct 1, 2010 at 7:28 PM, Thomas Broyer t.bro...@gmail.com wrote: On 2 oct, 01:17, Patrick Julien pjul...@gmail.com wrote: Ah, now I know what you're saying, I was trying to wrap this thing in a decorator, you just need to use it directly since it's an editor AFAICT, the only thing

Re: [gwt-contrib] Re: editor framework and radio buttons

2010-10-01 Thread Patrick Julien
Is there a wave or doc somewhere about the editor framework? I'm looking to see if this can be used to create child un-owned relationships too On Fri, Oct 1, 2010 at 7:32 PM, Patrick Julien pjul...@gmail.com wrote: On Fri, Oct 1, 2010 at 7:28 PM, Thomas Broyer t.bro...@gmail.com wrote: On 2

[gwt-contrib] Re: moving to EntityProxyId

2010-09-30 Thread Patrick Julien
8897 fixes it, thank you On Wed, Sep 29, 2010 at 5:18 PM, Patrick Julien pjul...@gmail.com wrote: I am trying to migrate to EntityProxyId and all I can get is java.lang.AssertionError: encodedId required I can my response from from AbstractRequest.handleResponseText, I do get the response I

[gwt-contrib] editor framework and radio buttons

2010-09-30 Thread Patrick Julien
Is there a class that integrates the two? same for check boxes? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] moving to EntityProxyId

2010-09-29 Thread Patrick Julien
I am trying to migrate to EntityProxyId and all I can get is java.lang.AssertionError: encodedId required I can my response from from AbstractRequest.handleResponseText, I do get the response I expect out of the server, but obviously without any kind of encoded id in the payload. I added

[gwt-contrib] EntityProxyId

2010-09-28 Thread Patrick Julien
It's not very clear to me how EntityProxyId helps us achieve very simple scenarios. How do you use this thing when you have pre and post operations to do in an activity? If I have an edit scenario, let's say a user with a list of phones, normally, I would follow something like this: 1. Set the

Re: [gwt-contrib] [google-web-toolkit] r8838 committed - Placeholder for RC1 Maven and GPE artifacts.

2010-09-22 Thread Patrick Julien
Hmm, does that mean we would still be stuck using only static methods? I mean, it's not that far out to introduce a helper class to find types. On Wed, Sep 22, 2010 at 1:35 PM, codesite-nore...@google.com wrote: Revision: 8838 Author: rda...@google.com Date: Wed Sep 22 10:34:59 2010 Log:

Re: [gwt-contrib] [google-web-toolkit] r8838 committed - Placeholder for RC1 Maven and GPE artifacts.

2010-09-22 Thread Patrick Julien
Using RequestFactory, we can only call static methods on the server now correct? On Wed, Sep 22, 2010 at 3:09 PM, Rajeev Dayal rda...@google.com wrote: Sorry, I'm not sure what you're referring to here. On Wed, Sep 22, 2010 at 1:58 PM, Patrick Julien pjul...@gmail.com wrote: Hmm, does

[gwt-contrib] stableId

2010-09-20 Thread Patrick Julien
What exactly fills in this field currently? This field is always null for me on the client -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] stableId

2010-09-20 Thread Patrick Julien
On Mon, Sep 20, 2010 at 1:48 PM, Amit Manjhi amitman...@google.com wrote: stableId is not a field in the EntityProxy. It is computed when stableId() is called on an EntityProxy. Does that help? not yet no, I understand what you're saying but I don't understand the comments in EntityProxyId that

Re: [gwt-contrib] stableId

2010-09-20 Thread Patrick Julien
On Mon, Sep 20, 2010 at 2:16 PM, Amit Manjhi amitman...@google.com wrote: The javadoc wording can probably be improved. Comments welcome. Essentially, what the javadoc wants to capture is specified in the test: com.google.gwt.requestfactory.client.RequestFactoryTest::testStableId() Btw,

Re: [gwt-contrib] stableId

2010-09-20 Thread Patrick Julien
a reproducible test case? On Mon, Sep 20, 2010 at 10:57 AM, Patrick Julien pjul...@gmail.com wrote: On Mon, Sep 20, 2010 at 1:48 PM, Amit Manjhi amitman...@google.com wrote: stableId is not a field in the EntityProxy. It is computed when stableId() is called on an EntityProxy. Does that help

Re: [gwt-contrib] stableId

2010-09-20 Thread Patrick Julien
On Mon, Sep 20, 2010 at 3:03 PM, Ray Ryan rj...@google.com wrote: Ah, I noticed that exception in the find method too. I thought I had introduced the problem, but I think instead I just started using the feature for the first time. Patrick, is the exception reliable? Do you have a recipe?

Re: [gwt-contrib] stableId

2010-09-20 Thread Patrick Julien
is AbstractProxyEditActivity we can work around this but I'm still taking the time to expose the issue here. That and I'm still not sure how we implement find on our end in the server with this new mechanism On Mon, Sep 20, 2010 at 3:05 PM, Patrick Julien pjul...@gmail.com wrote: On Mon, Sep 20, 2010

Re: [gwt-contrib] Re: GWT Designer for UiBinder?

2010-09-17 Thread Patrick Julien
thanks, it works now On Fri, Sep 17, 2010 at 7:58 AM, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote: I just noticed that it's there but it fails to load with the error: Actually, UiBinder is in the menu but it fails with the error message: Unable to open file

Re: [gwt-contrib] Re: GWT Designer for UiBinder?

2010-09-17 Thread Patrick Julien
What is the property that is needed to enable this on existing view? It works on a new file but that's it On Fri, Sep 17, 2010 at 8:43 AM, Patrick Julien pjul...@gmail.com wrote: thanks, it works now On Fri, Sep 17, 2010 at 7:58 AM, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote

Re: [gwt-contrib] Re: GWT Designer for UiBinder?

2010-09-17 Thread Patrick Julien
On Fri, Sep 17, 2010 at 9:25 AM, Thomas Broyer t.bro...@gmail.com wrote: On Sep 17, 2:48 pm, Patrick Julien pjul...@gmail.com wrote: What is the property that is needed to enable this on existing view? It works on a new file but that's it right-click - open with... - Window Builder editor

Re: [gwt-contrib] [google-web-toolkit] r8780 committed - Fixes https://jira.springsource.org/browse/ROO-1213 - Hide Property fr...

2010-09-16 Thread Patrick Julien
2010/9/15 Miguel Méndez mmen...@google.com: Thanks for spotting that Patrick.  I'll get the code updated. no thank you -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: Remove SyncResults. Use EntityProxyId and RequestFactory.find(EntityProxyId) (issue887802)

2010-09-16 Thread Patrick Julien
Is there another wave than this one that explains how you do find() on the server using only the stable id? I really don't get how you fill in that part. My understanding is that the stable id is generated client side, so we can't persist it on the server since it will be browser session based.

Re: [gwt-contrib] Re: Remove SyncResults. Use EntityProxyId and RequestFactory.find(EntityProxyId) (issue887802)

2010-09-16 Thread Patrick Julien
On Thu, Sep 16, 2010 at 10:30 AM, Ray Ryan rj...@google.com wrote: For now, via the same static find methods you already provide. As quickly as we can manage it, via the same service object api already discussed. I'm sorry if I am slow but how is the stable id alone sufficient to find whatever

Re: [gwt-contrib] Re: Remove SyncResults. Use EntityProxyId and RequestFactory.find(EntityProxyId) (issue887802)

2010-09-16 Thread Patrick Julien
On Thu, Sep 16, 2010 at 12:29 PM, Amit Manjhi amitman...@google.com wrote: The stable id encodes the datastore id and the entity-type. If the RequestFactory find method cannot lookup the datastoreId for a stableId, a client side exception is thrown. Ah, there you go, that would do it, thanks

[gwt-contrib] GWT Designer for UiBinder?

2010-09-16 Thread Patrick Julien
http://googlewebtoolkit.blogspot.com/2010/09/google-relaunches-instantiations.html Yeah, you guys released instantiations' gwt designer but honestly, it's still pretty unusable to me due to the fact that it's generating/parsing java code instead of UiBinder. Any plans to release a uibinder

Re: [gwt-contrib] Re: GWT Designer for UiBinder?

2010-09-16 Thread Patrick Julien
...@gmail.com wrote: On 16 sep, 19:02, Patrick Julien pjul...@gmail.com wrote: http://googlewebtoolkit.blogspot.com/2010/09/google-relaunches-instan... Yeah, you guys released instantiations' gwt designer but honestly, it's still pretty unusable to me due to the fact that it's generating/parsing java

Re: [gwt-contrib] [google-web-toolkit] r8780 committed - Fixes https://jira.springsource.org/browse/ROO-1213 - Hide Property fr...

2010-09-15 Thread Patrick Julien
On Wed, Sep 15, 2010 at 4:45 PM, Patrick Julien pjul...@gmail.com wrote: Oh, and forgot to mention, that the root problem is of course this: public String getValue(R object) {    ProxyImpl proxyImpl = (ProxyImpl) object;    return renderer.render(proxyImpl.Tget(property, String.class

Re: [gwt-contrib] [google-web-toolkit] r8780 committed - Fixes https://jira.springsource.org/browse/ROO-1213 - Hide Property fr...

2010-09-15 Thread Patrick Julien
) { final ProxyImpl proxyImpl = (ProxyImpl) object; return renderer.render(proxyImpl.T get(property, clazz)); } } On Wed, Sep 15, 2010 at 5:10 PM, Pascal Patry i...@invalidip.com wrote: On Wednesday, September 15, 2010 16:16:06 Patrick Julien wrote:   public String getValue

  1   2   >