Re: java.lang.IllegalArgumentException: Unknown proxy type

2011-08-17 Thread Andigator
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

Re: Vaadin always causes out of memory exception

2011-05-23 Thread Andigator
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

Vaadin always causes out of memory exception

2011-05-20 Thread Andigator
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

Re: RequestFactory calling find method for every item in a list

2011-03-11 Thread Andigator
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

RequestFactory calling find method for every item in a list

2011-03-10 Thread Andigator
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

Re: RequestFactory calling find method for every item in a list

2011-03-10 Thread Andigator
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

Re: Help with generics or inheritance with RequestFactory

2011-01-13 Thread Andigator
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

Help with generics or inheritance with RequestFactory

2011-01-10 Thread Andigator
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

GWT 2.1.1 RequestFactory documentation

2010-12-20 Thread Andigator
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

Re: GWT 2.1.1 is here!

2010-12-20 Thread Andigator
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

RequestFactory and Server-side caching

2010-12-14 Thread Andigator
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,

Cell Table paging

2010-11-19 Thread Andigator
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