Re: how to use ServerFailure with Exception on Server-Side

2011-03-06 Thread Michel Onstein
+1 for this one.. Looked into this as well, and based on a quick browse through the code i don't think it is possible at the moment -- Michel -- 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-w

Re: How to set URL of application

2011-03-06 Thread vkrejcirik
I use Tomcat 7. I expose application over proxy. Thanks for replies. On 4 bře, 16:46, salk31 wrote: > I think that is more of a configuration setting for you http server/ > servlet container. Which one are you using? Also I guess on how you > are exposing it to the outside world. > > It sounds

Re: SelectionCell does not clear when cellTable reloaded

2011-03-06 Thread Josh K
Well for anyone who's interested, after a lot more googling, I found the problem. Apparently SelectionCell has an itty bitty problem. This guy detailed it: http://code.google.com/p/google-web-toolkit/issues/detail?id=5598 I basically copied the source code for SelectionCell, made my own MySelecti

How to solve this design problem, when using RequestFactory ? (how to enforce client and server to use same interface)

2011-03-06 Thread zixzigma
It is often recommended that, it is a good practice, for components, such as client/server communicate through interface. when working with RequestFactory, we need to define RequestContext, which makes use of Entity/Value Proxies. these are all interfaces. however, Server side code, cannot impl

Re: organization of large gwt project: how to correctly break an app into GIN, Guice, GWT and Maven modules

2011-03-06 Thread zixzigma
just to add to my post that the problem I am facing is that since my client sub-projects contain only Java source files + module.gwt.xml, they don't have any main .html file to use as gwt-maven-plugin runTarget. and from my setup, it is the assembly sub-project, which gathers all the sources, and

Re: organization of large gwt project: how to correctly break an app into GIN, Guice, GWT and Maven modules

2011-03-06 Thread zixzigma
Thank You so much for your suggestions, also with the help from gwt-maven-plugin group, I could somehow get it working. I have questions regarding using mvn jetty, and mvn gwt:run in short, when having multi-module maven gwt projects, 1- from which directory you run mvn jetty ? (root or the sub-pr

Re: SelectionCell does not clear when cellTable reloaded

2011-03-06 Thread Josh K
Does anyone have any feedback? I've been working on this for hours and haven't made any progress. Everything else works exactly as it should. I'm beginning to think this is a bug of some kind. On Mar 6, 1:44 pm, Josh K wrote: > I've got a layout with 2 cell tables in 2 different composites and yo

how to use ServerFailure with Exception on Server-Side

2011-03-06 Thread khiem nguyen
hi, with RequestFactory how can i catch Exception from server-side service ? On server it's an Exception, on client it's only a simple serverfailure which return at onServerFailure() , how can one handle it like "traditional" RPC-way through serialization ? thanx for your help -- You received th

Re: Unit testing of generators

2011-03-06 Thread Thomas Broyer
How about RequestFactoryModelTest or PlaceHistoryGeneratorContextTest

Unit testing of generators

2011-03-06 Thread Tobias
Hello, I am in the process of writing a GWT generator. The generator is supposed to create implementation classes for given interfaces. Much like AutoBeanFactoryGenerator and a couple of other generators from GWT that I've seen, I use the type oracle to create a modeled representation of the i

Re: how to aggregate entities using RequestFactory

2011-03-06 Thread KaffeineComa
Ah, I thought I had to have a separate RequestContext for each entity, each with magic naming conventions. Upon closer reading, the naming conventions only have to be in the entities themselves (e.g. "findEntity"), not in the RequestContext. That helps a lot Thomas, thank you. -- You receive

Eclipse plug-in -d32 VM argument MAC OS X

2011-03-06 Thread Luigi Iannone
Hi, I am using the latest version of the Eclipse plug-in on a MAC OS X with Snow Leopard installed running Java 1.6. I noticed it adds -d32 as one of the VM args in its web application launch configurations. Unfortunately I need it to work in 64-bit as I have a native lib which has been compil

Re: how to aggregate entities using RequestFactory

2011-03-06 Thread Thomas Broyer
You're not forced to have distinct RequestContext: context.persistPerson(person); context.persistSkill(skill); In your case, it would imply changes on the server side though; either having a service class with persistPerson and persistSkill methods (as above), or rename your persist() method

Re: LinkCell for CellTable

2011-03-06 Thread Thomas Broyer
There's a similar problem with ButtonCell/ActionCell: http://code.google.com/p/google-web-toolkit/issues/detail?id=5641 have a look at the proposed patch. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

how to aggregate entities using RequestFactory

2011-03-06 Thread KaffeineComa
I have a page that acts as an editor for multiple distinct entity classes- Person and Skills. So when I save my changes, I end up having two separate calls: personRequest.persist().using(person) skillRequest.persist().using(skill) Is there a way to create an aggregate parent entity for these

LinkCell for CellTable

2011-03-06 Thread Eric
Hello all, There are few CellTables in my application where I want to have an Anchor as the widget in that cell. Right now I have a LinkCell class which is very much like ClickableTextCell and a LinkRenderer class which is a lot like SimpleSafeHtmlRenderer. This problem I'm facing is that this m

GWT Request & MVP

2011-03-06 Thread Kayode Odeyemi
hello all, I am using GWT-Presenter library and I'll like to understand a few things; 1. How does GWT Presenter Display interplay with a URL request. 2. How can I map a display to a Request URL with a page refresh considering the fact that I use RequestBuilder to create the request URL. 3. GWT-

SelectionCell does not clear when cellTable reloaded

2011-03-06 Thread Josh K
I've got a layout with 2 cell tables in 2 different composites and you use a menubar to switch between them. Each table has different rows and the rows "move" between the tables by changing items in a selection cell. On one page, you assign a ride to a car by picking a car number out of a selectio

Re: How to force Spring to intercept RequestFactoryServlet

2011-03-06 Thread Kayode Odeyemi
+1 I am looking for examples on the integration of spring and RequestFactoryServlet, particularly as regards to servlet dispatch to GWT view. On 3/1/11, Juan Pablo Gardella wrote: > +1 for a sample > > 2011/3/1 mxneo > >> Hi, >> >> Did anyone succeed on the Spring+RequestFactory integration? >>

Re: Why does this code have a "one off error"

2011-03-06 Thread Jens
I think KeyPressed events will be fired before the actual content of your textarea is updated by the browser. So in your validate method textarea.getText() will give you the old value without the newly typed character. This newly typed character can be obtained by the KeyPressEvent.getCharCode(

Why does this code have a "one off error"

2011-03-06 Thread fuzzylollipop
Here is the question at stackoverflow if you want to respond there. http://stackoverflow.com/questions/5212338/why-does-this-code-have-a-one-off-error I am building a GWT component to behave much like the comments box here on stackoverflow, and other sites. I am trying to register listeners for K

Re: Can anyone share code that adds keyboard navigation to the popup calendar picker?

2011-03-06 Thread Juan Pablo Gardella
+1 2011/3/4 JosephLi > +1 on 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-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+uns

Re: RequestFactory JDO One to Many bidirectional managed relationships

2011-03-06 Thread savilak
The bidirectional owned one to may relationship in requestFactory worked with one bypass! The issue for was the following. The data were saved properly but when we were fetching the child objects were null. This is due to the lazy loading of data from appengine. When you read an object which is re

Re: SimpleBeanEditorDriver and MVP

2011-03-06 Thread John Maitland
The driver is auto generated by the GWT compiler and therefore should belong in the view. Any code that call GWT.create should really belong in the view or your presenter will have to use the slow GWTTestCase. -- You received this message because you are subscribed to the Google Groups "Google W

Re: RequestFactoryEditorDriver example?

2011-03-06 Thread Vasily
Well, I've made changes as you described... works perfectly, thx a lot!.. Now I may add a phone number & it would be persisted upon Contact's 'save'... My only concern is 'removing' a phone... 'phoneList' defined in Contact as One-To-Many with CascadeType.All and each Phone have a Many- To-One re

Re: RequestFactoryEditorDriver example?

2011-03-06 Thread Vasily
Well, I've made changes as you described... works perfectly, thx a lot!.. Now I may add a phone number & it would be persisted upon Contact's 'save'... My only concern is 'removing' a phone... 'phoneList' defined in Contact as One-To-Many with CascadeType.All and each Phone have a Many- To-One re

Re: RequestFactoryEditorDriver example?

2011-03-06 Thread Vasily
Well, I've made changes as you described... works perfectly, thx a lot!.. Now I may add a phone number & it would be persisted upon Contact's 'save'... My only concern is 'removing' a phone... 'phoneList' defined in Contact as One-To-Many with CascadeType.All and each Phone have a Many- To-One re