How to manage runAsync calls?

2009-12-06 Thread balachandra maddina
Hi There, If im using the runAsync to load a particular script based on a click then every time i click the script is getting downloaded freshly and getting loaded. is there a way to manage this behavior like to check if that particular object is loaded or not? i thought of using a hashmap to

Re: How to manage runAsync calls?

2009-12-06 Thread Qian Qiao
On Sun, Dec 6, 2009 at 17:28, balachandra maddina chandu2...@gmail.com wrote: Hi There,   If im using the runAsync to load a particular script based on a click then every time i click the script is getting downloaded freshly and getting loaded. is there a way to manage this behavior like to

GWT + GAE best practice?

2009-12-06 Thread Dalla
Hi all I´m just now getting started with using GWT and GAE. Curious about best practices when it comes to JDOs, and how to handle them client side. Let´s say I want to store a String and a User object that would be picked up from the UserService. Since the GWT compiler doesn´t emulate

Re: How to manage runAsync calls?

2009-12-06 Thread balachandra maddina
You mean when make the same async call through the runAsync then the downloaded script will be used? because since the runAsync call is linked to a button click every time the button is clicked the runAsync call will be triggered isnt it? Regards, bala. On Sun, Dec 6, 2009 at 3:00 PM, Qian Qiao

Best way to to pass a Date value to a servlet via RequestBuilder

2009-12-06 Thread Geraldo Lopes
Hi, I needed to pass a Date value to a servlet via RequestBuilder and the way I found to avoid parse exceptions was: At the client: RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, GWT.getModuleBaseURL() +texto?data_inicial=+

plz help - Label + font size

2009-12-06 Thread noob_boy
Hi, I have created some label with Label = new Label(); setText(myText); The problem in that the string myText is being printed in very big font. 1. How do I change that font size? Is CSS the only option to do that? 2. Can I change the span element associated with the label and change the font

Re: GWT 2.0 books

2009-12-06 Thread Olivier Gérardin
(shameless self-promotion...) A good book for French readers is already available here: http://www.amazon.fr/GWT-applications-interactives-Toolkit-versions/dp/2100531824/ref=tag_tdp_sv_edpp_i ;) On Dec 5, 10:56 am, philippe vonck...@yahoo.fr wrote: a good book for French readers, is being

UiBinder layout and i18n

2009-12-06 Thread Magno Machado
I'm trying GWT 2.0 RC2 and the UiBinder, but I've some doubts regarding i18n and layout. First I tried to build a login panel, this is my ui.xml file: LoginPanel.ui.xml ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' g:HTMLPanel

Re: geocoder.LatLng don't work

2009-12-06 Thread Andrea
Now I have resolve the problem with the Timer class. I postponed the execution of the code after the call of method getAdress(). I set a static time of 1 second, but I'm not secure that geocoder.getLatLng(). have finished his execution. Is there a way to know when an asynchronous method finish his

Re: super-source used to complete java.lang.Math?

2009-12-06 Thread FKereki
Point 1 (create an issue on the GWT issue tracker) is done: see http://code.google.com/p/google-web-toolkit/issues/detail?id=4308 I'm not sure whether locally patching Math.java (and all other packages with missing static methods) would be a good solution; I understand it can work for specific

Re: GWT + GAE best practice?

2009-12-06 Thread Jeff Larsen
On Dec 6, 4:34 am, Dalla dalla_man...@hotmail.com wrote: Hi all I´m just now getting started with using GWT and GAE. Curious about best practices when it comes to JDOs, and how to handle them client side. Let´s say I want to store a String and a User object that would be picked up from

2.0 RC2: No instructions about plugin installation

2009-12-06 Thread Péter Kovács
Hi, When starting my application in development mode and clicking the Launch Default Browser button, my default browser (Firefox 3.5.5) loads the URL http://localhost:/StasAdmin.html?gwt.codesvr=127.0.0.1:9997, but no instructions on installing the plugin are displayed -- just the starter

Re: Form + servlet + Firefox does not work

2009-12-06 Thread Lena
Server side does not throw any exception. Regarding the firebug, I don't know how to look for what the browser sends... how can I do this? On 4 dic, 10:41, Martin Trummer martin.trum...@24act.at wrote: so does your applet actually get called i mean: when you upload a file in FF, is the doPost

Re: Can anyone over here help me out in sending the email from gwt application

2009-12-06 Thread Mohamed Mansour
You cannot send email from GWT client side itself, you either let your backend send the mail, or let your external client (mailto) do so. On Dec 3, 3:17 pm, Darpan Mhatre darpan27...@gmail.com wrote: Can anyone over here help me out in sending the email from gwt application?? The small snippet

Re: 2.0 RC2: No instructions about plugin installation

2009-12-06 Thread Péter Kovács
After sorting out a combination of a few oddities in my configuration I had been halfway aware of (and which apparently had not been a problem for 1.7.1), I managed to get my app working in development mode. Thanks Peter 2009/12/6 Péter Kovács peter.dunay.kov...@gmail.com: Hi, When starting

Re: UiBinder layout and i18n

2009-12-06 Thread Magno Machado
The message names will always be like message1, message2, message3, etc? Can't I specify better names? I found out that I can use the key attribute on the ui:msg tag for this. (Actually, it's on the link on my previous message) 2009/12/6 Magno Machado magn...@gmail.com I'm trying GWT 2.0 RC2

Re: plz help - Label + font size

2009-12-06 Thread Yozons Support on Gmail
In general, CSS should be used to affect such things as they are external, tunable, skinnable, etc. You can use addStyleName() to add any styles (CSS classes actually) you want to the label, or if all your labels should be the same, you can set .gwt-Label to use any common styles for all labels,

Re: plz help - Label + font size

2009-12-06 Thread noob_boy
Thanks for the answer but I need some more help. If I have something like below - LayoutCOntainer lc = new layoutContainer() lc.add(new Label(myText); Can you please explain how to apply the style? On Dec 6, 11:33 pm, Yozons Support on Gmail yoz...@gmail.com wrote: In general, CSS should be

Re: plz help - Label + font size

2009-12-06 Thread Yozons Support on Gmail
There are lots of ways, but basically, create a label you manage a bit Label mylabel = new Label(myText); mylabel.addStyleName(test); Then in your css: .test { font-size: 10pt; } This sets a CSS class so you can make it do whatever you want... Of you could put a class on the container to

Re: Query on Google Web Toolkit (GWT)

2009-12-06 Thread Sanjiv Jivan
Yozons Support on Gmail, GWT is different things for different people. GWT is not only about use of the widgets provided in the core library, or the use of GWT-RPC. These are just one of numerous features that GWT provides. The ability to write GWT application code in Java and IDE support is a

Re: Query on Google Web Toolkit (GWT)

2009-12-06 Thread Sanjiv Jivan
Nilesh, You're just being paranoid. Your friend does not know what he's talking about :) Smart GWT is based on GWT and if GWT disappeared, so would Smart GWT. Neither of which is actually going to happen. Sanjiv On Fri, Dec 4, 2009 at 12:53 PM, Nilesh nileshpatward...@gmail.com wrote: Hi

Re: Query on Google Web Toolkit (GWT)

2009-12-06 Thread yogesh patel
:) --- On Mon, 7/12/09, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: From: Sanjiv Jivan sanjiv.ji...@gmail.com Subject: Re: Query on Google Web Toolkit (GWT) To: google-web-toolkit@googlegroups.com Date: Monday, 7 December, 2009, 3:43 AM Nilesh,You're just being paranoid. Your friend does

Page Background as an image

2009-12-06 Thread GumbyGWTBeginner
Hi Team, I have been trying to set my background image in GWT application. The problem is it comes up as planned and then once the GWT stuff loads the whole screen goes white. (In hosted mode) What am I doing wrong? Anyone got any ideas I am sure this is an easy one. body {

Re: OOPHM is slow

2009-12-06 Thread keyvez
Hi, I am experiencing really slow times (30-40 seconds) when I refresh the page on safari or firefox. It almost seems to recompile the full app every single time I hit refresh. I don't even change anything, and this the app you get when you create new Web App in eclipse. Meanwhile the browser

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-06 Thread keyvez
Hi, I am experiencing really slow times (30-40 seconds) when I refresh the page on safari or firefox. It almost seems to recompile the full app every single time I hit refresh. I don't even change anything, and this the app you get when you create new Web App in eclipse. Meanwhile the browser

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-06 Thread jvictor
That's interesting to know that it is happening with Snow Leopard as well. I was thinking about upgrading to Snow Leopard to see if that would fix the problem. I still have not found a solution to this problem, and as keyvez noted, the issue is that a refresh takes the same amount of time as the

Re: Page Background as an image

2009-12-06 Thread GumbyGWTBeginner
Solved in ther HTML with body Style=background On Dec 7, 7:55 am, GumbyGWTBeginner stephan.gump...@gmail.com wrote: Hi Team, I have been trying to set mybackgroundimagein GWT application.  The problem is it comes up as planned and then once the GWT stuff loads the whole screen goes

Scrolling grids?

2009-12-06 Thread FKereki
Hi! What's the status of PagingScrollTable (http://code.google.com/p/ google-web-toolkit-incubator/wiki/PagingScrollTable) or ScrollTable (http://code.google.com/p/google-web-toolkit-incubator/wiki/ ScrollTable) or any similar scrollable grid? In other words... Is any such widget planned for

DatePicker--how to set start date and end date?

2009-12-06 Thread Alex Luya
I want to make a Date-Range widget.Within it,two box:FROM and TO are available.I hope when use select a FROM date,all dates before than this date in TO must be disabled.Of course,if use selected a TO date firstly,all dates late than this date in FROM must be disabled.Is there any way to

Re: IntelliJ

2009-12-06 Thread Matt Raible
Here's a sample application that uses GWT 1.7.1 and the Maven GWT Plugin. http://static.raibledesigns.com/downloads/gwt-oauth-1.3.zip You should be able to run mvn idea:idea to create IntelliJ project files. Hope this helps, Matt On Dec 5, 9:13 pm, wil.pannell wil.pann...@pepsiamericas.com

Google Web Toolkit Incubator - GlassPanel - Ignore Browser Events?

2009-12-06 Thread David E.
How can I get the GWT Incubator GlassPanel to ignore browser events so that the underlying widgets receive the events and GlassPanel ignores them? I noticed in the GlassPanel class file it uses a FocusPanel and a SimplePanel, the FocusPanel adds FocusHandlers with I think maybe screwing me up?

Re: GWT + GAE best practice?

2009-12-06 Thread Jonas Huckestein
Hi Dalla, in our team we create an interface for each model object which the JDO objects and client objects implement. Unfortunately we were unable to find a solution which requires only one implementation of each class, since we use JSON for data transer and the client-side implementations are

Problem using UiBinder with extended DockLayoutPanel

2009-12-06 Thread lemaiol
Hi guys, I have started trying the new features in GWT 2.0 (awesome ones, congrats! :) but I found some behavior that I cannot completely understand. I want to extend the DockLayoutPanel API in a class of my own but configure this new class using UiBinder. When I do that, I get an exception

GWT 2 OOPHM iGoogle gadget debug

2009-12-06 Thread webdizz
Hi, All I have a problem with debug my GWT Gadget on iGoogle page. I'm launching GWT debug mode, in the Develoment Mode I see following URL http://www.google.com/ig?t=2gwt.codesvr=192.168.0.100:9997 But after I open this URL and set breakpoint Eclipse doesn't stop on it. Did anybody face with

Widget not showing up ... what ever I do.

2009-12-06 Thread Girish
Hi All, I'm a new to GWT and I need some help in integrating GWT with the existing application which is in Spring and Hibernate. Unfortunately, I didn't find much of the helpful articles on this, neither on gwt home page guides or on the web. I'm stuck where I have developed an GWT widget

No source code is available error for RemoteServiceServlet

2009-12-06 Thread Joseph
Hi, I'm extending the RemoteServiceServlet for server communications for my GWT application (a port of an school assignment to get acclimated with the API), but I get the following error from the GWT compiler: [ERROR] Line 11: No source code is available for type

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-06 Thread fmk11
Same thing here; I'm experiencing extremely slow reloads. I'm using Firefox 3.5.5 on Snow Leopard. I also use and external Ruby on Rails server on http://localhost:3000 so my complete URL looks like: http://localhost:3000/welcome/dashboard?gwt.codesvr=192.168.1.100:9997 ... for what I read here

Re: No source code is available error for RemoteServiceServlet

2009-12-06 Thread Dalla
This error message usually means that you have imported a non emulated class in your client package. Make sure that you are only using RemoteServiceServlet (and extentions thereof) in the server sub package. Client side you should use RemoteService. On 6 Dec, 23:29, Joseph

Re: Query on Google Web Toolkit (GWT)

2009-12-06 Thread Nilesh Patwardhan
Hey Chris, http://code.google.com/p/gwt-ext/ *Status Update* This project is no longer under active development and has been superseded by Smart GWT http://code.google.com/p/smartgwt/. Assistance will be provided to existing users of GWT-Ext looking to migrate to Smart GWT. We are using GWT-Ext

Re: No source code is available error for RemoteServiceServlet

2009-12-06 Thread Dalla
In your case, you have speciefied the following: source path=gwt/source source path=core/source which means that you should look in your gwt and core sub packages, rather than the client sub package as I suggested above. You can read more about source paths here:

SOYC report and code split don't make sense

2009-12-06 Thread Tristan
Hey, I came across a weird case that no matter what I do I cannot fix. Here is something that roughly describes the problem: I have a class that does something like: public abstract class MyAbstractClass{ @Inject SomeProvider someProvider; public Widget getWidget(BaseObject object){ ...

Re: Widget not showing up ... what ever I do.

2009-12-06 Thread bch...@gmail.com
At its core, gwt is javascript. Did you try observing your application's behaviour via Firebug ? What did you observe ? On Dec 6, 11:54 pm, Girish girishrat...@gmail.com wrote: Hi All,          I'm a new to GWT and I need some help in integrating GWT with the existing application which is in

Re: GWT + GAE best practice?

2009-12-06 Thread Dalla
Think I´ll probably just go with DTOs then, using a third party lib for this seems a bit overkill if you ask me :-) On 6 Dec, 13:51, Jonas Huckestein jonas.huckest...@me.com wrote: Hi Dalla, in our team we create an interface for each model object which the JDO objects and client objects

Re: Query on Google Web Toolkit (GWT)

2009-12-06 Thread Abdullah Shaikh
You are mixing things, GWT is different, so is SmartGWT GWT-Ext. You first mail itself was wrong, now we know you meant GWT-Ext. Regarding the migration effort, I think the message in your mail itself is clear enough, you need to ask this question in the Smart GWT forum, but if some one from

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

2009-12-06 Thread codesite-noreply
Comment by federico.monaldi: i have a problem with codeSplitting when i combine this with a command pattern to make calls to the server. I have a single RemoteService that expose an api like this: R extends Result R execute(ActionR action) throws ActionException; the remote serviceAsync impl