Re: java.lang.IllegalArgumentException: Unknown proxy type
This happens for me when I am extending EntityProxy directly for proxyA and proxyB and try to append requestA to requestB. @ExtraTypes won't fix it in my case. Ideas? On Aug 16, 3:44 pm, Y2i yur...@gmail.com wrote: filed an issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=6699 -- 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: Vaadin always causes out of memory exception
In hosted mode: Failed to create an instance of 'vom.vaadin.terminal.gwt.client.WidgetSet' via deferred binding. |--- Out of memory Not that it should need this much memory anyway, but I'm running - Xmx2048M on 64 bit VM. Also tried 4096. Anyone else run into this problem? Thanks! On May 21, 4:02 pm, Jan Mostert jan.most...@gmail.com wrote: What is the exact error message? -- Jan Vladimir Mostert BEngSci MyCee Technologies On Fri, May 20, 2011 at 10:21 PM, Andigator andiga...@gmail.com wrote: I wanted to check out certain Vaadin Widgets after reading about it the GWT blog. However, I can't even add it to my inherits list on the xml without causing immediate out of memory errors. I moved my VM Xmx flag all the way up to 4 GB. Anyone else have this problem? -- 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. -- 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.
Vaadin always causes out of memory exception
I wanted to check out certain Vaadin Widgets after reading about it the GWT blog. However, I can't even add it to my inherits list on the xml without causing immediate out of memory errors. I moved my VM Xmx flag all the way up to 4 GB. Anyone else have this problem? -- 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: RequestFactory calling find method for every item in a list
Thanks, Thomas. I tried to override isLive in the service decorator, but creating a locator will be a more effective strategy. On Mar 10, 2:47 pm, Thomas Broyer t.bro...@gmail.com wrote: This is the default implementation for isLive, so RequestFactory can detect if an object has been deleted (and then dispatch an EntityProxyChange(DELETED) event). You can override it in your Locator if you have one. -- 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.
RequestFactory calling find method for every item in a list
Hi there! Hoping for some insight on this one. I have an Entity that returns a list of related entities. @Entity class MyEntity { private relatedList; public static ListRelatedEntity getRelatedEntities() { return relatedList; } } I eagerly fetch these related items myself on the server when MyEntity lookup occurs. Yet the client still calls RelatedEntity.findRelatedEntity(id) for every single item! Tell me this isn't by design? -- 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: RequestFactory calling find method for every item in a list
Oh, and that get method is instance, not static. Loaded on the lookup for MyEntity. Thanks! -- 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: Help with generics or inheritance with RequestFactory
Thanks for your help! I like this better than my current workaround (having a setter for each proxy). On Jan 10, 8:56 pm, Y2i yur...@gmail.com wrote: It looks like the feature request was accepted: http://code.google.com/p/google-web-toolkit/issues/detail?id=5367 This is an workaround, but it's how I'm planning to deal with thepolymorphismuntil it's fully supported by the request factory. -- 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.
Help with generics or inheritance with RequestFactory
Will RequestFactory support the use of generics and/or inheritance on ValueProxy? For example, say I have FruitValueProxy. AppleProxy, OrangeProxy and GrapeProxy extend it. My EntityProxy must have setters for all three fruits individually instead of just writing setFruit(FruitValueProxy proxy). Is there a workaround or plans for improvement? -- 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-tool...@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.
GWT 2.1.1 RequestFactory documentation
On the bottom of the 2.1 official docs on RequestFactory, the conclusion says RequestFactory is the heart of the new Bindery features in GWT 2.1. In future articles, we'll look at integration with cell widgets, Editors, the event bus, and Activities and Places. Any word on the article about integration with cell widgets? I'm really interested to see how paging on the server should work without having to rely on SQL limits. -- 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-tool...@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: GWT 2.1.1 is here!
David, thanks so much! I've been following trunk and the ValueProxy addition is invaluable. Any advice on how to handle paging with RequestFactory? When CellTable's onRangeChanged retrieves the next page of records, the example I saw just did a SQL limit. I need a handle on the full list of entities, but only sending up a page at a time. How would you recommend I go about doing this? -- 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-tool...@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.
RequestFactory and Server-side caching
I am loving RequestFactory for use in Editors, but I could use some advice for lists. Say I have a Person entity and PersonProxy. A db query returns ListPerson which is found in the RequestContext as RequestListPersonProxy. I need a handle on this list on the server (for caching, filtering, etc), and to send pages to the client. What is the best way to keep a handle on this list on the client so I don't have to overwhelm the browser with so many records? -- 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-tool...@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.
Cell Table paging
I have a very large list that I want to page through with CellTable, but I don't want to push all the rows up to the client in one big chunk. In the past, I have done this with Pojos and RPC, but now I'm using RequestFactory. What I'd like to do is retrieve the next page from the server (when onRangeChanged gets called). Is there any way to manage a collection like that through RequestFactory? -- 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-tool...@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.