Re: Request Factory - Getter issues

2011-10-28 Thread Antoine DESSAIGNE
No one? 2011/10/26 Antoine DESSAIGNE > Hi, > > I have 2 issues with the RequestFactory 2.4.0: > - It doesn't seems to support array types as return types, > "Request getAllFoo()" doesn't work > - My Foo base type and thus my FooProxy types have getters without the > 'get' prefix, it's "name()" i

Re: Request Factory - Getter issues

2011-10-28 Thread Thomas Broyer
No, RF doesn't support arrays (the reason being that you cannot make a "proxy" for an array, to make it immutable); and it requires "get", "is" or "has" prefixes on getters (and "set" on setters); this is the Java Bean convention (with the addition of the "has" prefix). You could possibly make i

Re: How can i pass an array through a runnable interface ?

2011-10-28 Thread Jens
Make your result final, e.g. onSuccess(final String[][] result). You can now use it inside the Runnable anonymous class. Different way would be to create a class that implements Runnable. The class could have a constructor that takes the string array as argument, stores it in a field and then u

Re: Request Factory - Getter issues

2011-10-28 Thread Antoine DESSAIGNE
Thanks a lot ! I will update my code. 2011/10/28 Thomas Broyer > No, RF doesn't support arrays (the reason being that you cannot make a > "proxy" for an array, to make it immutable); and it requires "get", "is" or > "has" prefixes on getters (and "set" on setters); this is the Java Bean > conve

Re: Capture ctr-z(undo) and ctr-y(redo) within GWT application

2011-10-28 Thread Trung
See this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/3e6abc385efb4533 On Oct 27, 8:30 pm, Ahmed wrote: > Hello, > > I have been writing a web application based on GWT 2.3 and along with > it I have written my own undo and redo functions. When the user > presse

Re: problems with loading stuff/bootstrapping onModuleLoad triggered by an event

2011-10-28 Thread tanteanni
so at the moment i delay it (the whole continueStart()) untill some events occur. And you propose not to delay it with scheduleDeferred (until 2 events occurred) but with scheduleFinally? Or how the code shoul look like? at the moment it is: ... new SchedulerImpl().scheduleDeferred(new ScheduledC

Re: problems with loading stuff/bootstrapping onModuleLoad triggered by an event

2011-10-28 Thread Thomas Broyer
I didn't see an Scheduler being used in the code you attached. Whichever scheduledXxx method, the idea is to get out of the "event dispatching", so the above is fine (except that your "while loop" in the ScheduledCommand can cause an infinite loop: JS is single-threaded; Also, I'd have put the

Encrypting/Encoding of AJAX Request/Server Response

2011-10-28 Thread Kundan Mishra
Hi, Could you please suggest that whether there any API exists in GXT(or even in GWT) which will help to hide the AJAX request and Server Response Data from User, e.g. User can see the data sent and received via FireBug Console/Net panel. Need help to know if there exists: A. Any API for securing(

Re: Chrome 15, GWT DMP Plugin crashes

2011-10-28 Thread Robert Becker
Same problem here. Everything worked fine until the last update to Chrome 15. Source code of the application did not change at all. The application starts and after switching to a different view, chrome becomes unresponsive and the DMP crashes. On Oct 26, 7:38 pm, pjspychala wrote: > After upgra

Re: Chrome 15, GWT DMP Plugin crashes

2011-10-28 Thread Robert Becker
I just opened a bug report: http://code.google.com/p/chromium/issues/detail?id=102048 Feel free to comment and add further information! On Oct 26, 7:38 pm, pjspychala wrote: > After upgrading to a new version of the browser (Chrome 15) it seems > that the plugin no longer likes whats going on.

Re: Handling authorization exception from server to client

2011-10-28 Thread André Salvati
Ok Thomas, understood. Thank you. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qLLwHk25_3gJ. To post to this group, send email to google-web

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-28 Thread Michael Vogt
Hello. > Please update to the latest GWT Designer build. > We have also added support for Ubuntu 11.10. > I just updated Ubuntu to version 11.10 and Eclipse to 3.7, and it looks like I can use GWT Designer. But not with projects using GWT 2.0.4. Unfortunately, we still need to use version 2.0.4 f

Classname.this in code split (GWT 2.4)

2011-10-28 Thread Patrick Tucker
Has anyone else had trouble with using Classname.this in a code split block? The code I'm referring to worked fine in 2.3 but throws a NPE when I updated it to 2.4. I have a work around but not looking forward to finding all the places where it is now broken. Thanks, Pat -- You received this m

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-28 Thread Jeff Larsen
What is stopping you from upgrading to 2.2.0+? That is the supported version of gwt-designer. I don't think anything has been removed. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://grou

Re: GWT Designer fails under Eclipse 3.7 with latest update

2011-10-28 Thread Michael Vogt
> What is stopping you from upgrading to 2.2.0+? > You mean GWT? Our server setup. All applications access one servlet, which is compiled with GWT 2.0.4. To change this, we would need to recompile a load of applications, which just hasn't been done. >That is the supported version of gwt-designer.

Re: Encrypting/Encoding of AJAX Request/Server Response

2011-10-28 Thread Harpal Grover
You should be able to use HTTPS On Fri, Oct 28, 2011 at 3:03 AM, Kundan Mishra wrote: > Hi, > Could you please suggest that whether there any API exists in GXT(or > even in GWT) which will help to hide the AJAX request and Server > Response Data from User, e.g. User can see the data sent and rec

LayoutPanel - how to set background image?

2011-10-28 Thread Magnus
Hi, I have a Layout Panel and I would like a background image. How can I do that? And how can I make it repeat, horizontally and vertically? I found that a LayoutPanel does not have a getElement/getStyle method. So how can I access the element style or how can I realize the background? Thanks a

Trouble getting reference to button in GWTTestCase

2011-10-28 Thread laredotornado
Hi, I'm using GWT 2.4 with JUnit 4.8.1. I want to simulate clicking on a button on my page. When I run the app normally, I can easily click on the button. Here's how I reference it in my module EntryPoint class ... public void onModuleLoad() { final com.google.gwt.dom.

Re: LayoutPanel - how to set background image?

2011-10-28 Thread Ed
Use @sprite to set the background image and use the image settings in de ClientBundle to define the h/v repeat. See: http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html - Ed On Oct 28, 6:33 pm, Magnus wrote: > Hi, > > I have a Layout Panel and I would like a background image. >

Re: Trouble getting reference to button in GWTTestCase

2011-10-28 Thread Ed
Try to avoid the use of GWTTestCase. I spend hours in it and it's very fragile and unfriendly. Try to develop your code such that you can unit test it without GWT like explained here: See the links (especially the last one) in issue 6113: http://code.google.com/p/google-web-toolkit/issues/detail?i

Re: Trouble getting reference to button in GWTTestCase

2011-10-28 Thread laredotornado
Are you talking about this link -- http://groups.google.com/group/google-web-toolkit/browse_thread/thread/87030a9ae66fe012/af4d68a5d7041547? I'm unclear how this issue pertains to me. It doesn't appear any of my module elements exist when I call "onModuleLoad". Do I have to create those on my own

Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-28 Thread John Gentilin
I have been using this mechanism and it works great.. but i was thinking later that it would be so much better if we could specify the EntryPoint to use in the ui.xml file, that way there is no need to switch... i.e. -John G On Oct 24, 11:24 am, "Eric Clayberg (Google)" wrote: > It should be a

Deferred Binding - Rebind Result must be a class

2011-10-28 Thread Alfredo Quiroga-Villamil
Hello: I was wondering if someone has ran into the following: Code: ClientFactory clientFactory = GWT.create(ClientFactory.class); clientFactory.run(); Web Configuration: Mobile Configuration: Rebind result 'com.test.client.Cli

Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-28 Thread Konstantin Scheglov
Well, if you have 20 UiBinder templates, you probably don't want to change all of them. I have been using this mechanism and it works great.. > > but i was thinking later that it would be so much better if we could > specify the > EntryPoint to use in the ui.xml file, that way there is no need

SerializationException with List

2011-10-28 Thread darkling
I've just managed to update my GWT (2.4) and I'm having problems with my RPCs. Every time I try to send a List object it says the item can not be deserialized. I single stepped through it and it comes out as a SerializationException which GWT wraps in a IncompatibleRemoteServiceException. The List

Integration of spring with GWT

2011-10-28 Thread vijaya bhasker sudigali
Hi Guys, I am Vijay ,i am facing a problem of integration of spring with GWT. I already have a spring 3.x (annotation based ) projecting running and i want to integrate gwt to this existing spring 3 .x app.Can u please help me to fix it.I am worring with this issue from 15 days ,so ple

Error installing Eclipse Google App Engine Plugin

2011-10-28 Thread Mandu
Trying to install: -- http://dl.google.com/eclipse/plugin/3.6 System particulars: -- Mac OSX 10.7.2 -- Eclipse 3.6.2 Error: Cannot complete the install because one or more required items could not be found. Software being installed: Google App Engine Java SDK 1.5.5 1.5.5.r36v201110112027 (com.g

Re: Chrome 15, GWT DMP Plugin crashes

2011-10-28 Thread Robert Becker
I narrowed the problem down to a JSNI-call right after view initialization. I guess something in the sluggish development-mode is too slow when additional native code is executed and a timeout occurs. After modifying the native call with a delay like this, it works fine: public static native void i

I want to learn GWT,..

2011-10-28 Thread mlotfi
Hi, I am a java developer, I have done java, jsp. Please can you direct me where should I start to learn GWT. your help is appreciated. 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-we

Re: websites designed with GWT are mobile browser compatible?

2011-10-28 Thread Mike Morearty
The FAQlists support for the below list of browsers, which are all desktop browsers. Is there information on which mobile browsers, specifically, are supported? For example, I assume Android

Re: SerializationException with List

2011-10-28 Thread Markus Zywitza
Did you already try ArrayList instead of List? --Markus 2011/10/28 darkling > I've just managed to update my GWT (2.4) and I'm having problems with > my RPCs. Every time I try to send a List object it says the item can > not be deserialized. I single stepped through it and it comes out as a > S

GWT + GAE common issues.

2011-10-28 Thread MagusDrk
Hi everybody. Im Miguel. I'm posting because I'm really worry about the use of GWT and GAE. In my particular case, I'm trying to buid an app wich uses a logical model in client side as in server side. In my model I use persistence tags (JDO) to save data in the datastore and the datastore.Key cla

Unable to find 'XXX.gwt.xml' on your classpath

2011-10-28 Thread dgaj
Hi all, I have a small project I've been working on. I was able to run it in Eclipse 3.7 on Ubuntu 11.04 using Chrome as the browser just fine. Things changed however when I tried running it in Debug. I get the following error when I load the app in Chrome. [ERROR] [toms] - Unable to find 'toms.gw

Re: SerializationException with List

2011-10-28 Thread darkling
Yes but I still got The response could not be deserialized Im using maven plugin so my POM looks like this: org.codehaus.mojo gwt-maven-plugin 2.4.0

Re: GWT + GAE common issues.

2011-10-28 Thread Patrick Julien
1. I don't think so. They're meant to be used from the server side of GWT. For exposing server objects you use RequestFactory in combination with ValueProxy 2. I suggest you take a look at the "expenses" sample that comes with GWT. http://code.google.com/p/google-web-toolkit/source/browse/#svn

Re: Unable to find 'XXX.gwt.xml' on your classpath

2011-10-28 Thread dgaj
Nevermind. Found it. Word of advice don't go mucking around too much with that 'rename-to' property in your XXX.gwt.xml file. It will make you pay. On Oct 28, 7:11 pm, dgaj wrote: > Hi all, > I have a small project I've been working on. I was able to run it in > Eclipse 3.7 on Ubuntu 11.04 using

Re: Integration of spring with GWT

2011-10-28 Thread Juan Pablo Gardella
Check this thread. You have a gwt sample with jpa2, spring 3, spring security. Juan 2011/10/28 vijaya bhasker sudigali > Hi Guys, > > I am Vijay ,i am facing a problem of integration of spr

Re: future of gwt & who use gwt

2011-10-28 Thread Thomas Broyer
David Chandler recently put his SenchaCon slides online: http://www.dartlang.org/slides/2011/10/senchacon/index.html#39 "What about GWT? Google is heavily invested" -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion

CellTable column and cell style

2011-10-28 Thread divStar
Hi there, I'm using a cellTable to display items from a character. The table header consists of various columns such as "Image", "Name", "Amount", "Type" and "Character". Then I made a custom widget that acts like a dropdown listbox - using a toggle button and a celltable. It contains all the rows

Re: future of gwt & who use gwt

2011-10-28 Thread Warren Tang
The following line is also important: (GWT) Aiming for fewer releases, less overhaul. Regards, Warren Tang On Saturday, October 29, 2011 11:04:09 AM, Thomas Broyer wrote: David Chandler recently put his SenchaCon slides online: http://www.dartlang.org/slides/2011/10/s

Re: LayoutPanel - how to set background image?

2011-10-28 Thread gerry
Hi, Try myLayoutPanel.setStyleName("my-layout-style"). And then in the css add the rule .my-layout-style { background-image:...}.It will repeat by default, unless you set background-repeat:"no-repeat". I think this would work. On 28 Οκτ, 20:02, Ed wrote: > Use @sprite to set the background ima