Re: verttical scroll panel jumping around in 2.0

2010-02-05 Thread Calin M
I think this issue is described in this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=4068q=scrollbar Basically, the tree item I click on is scrolling into view, but that is not what I want because it obscures other tree items that I am interested in. On Feb 4, 7:38 pm,

Re: Maven users survey

2010-02-05 Thread olivier nouguier
Thx a lot for all this, it will clearly simplify GWT with Maven, but did you plan to add some WTP support in the next GEP release ? On Thu, Feb 4, 2010 at 8:33 PM, Keith Platfoot kplatf...@google.com wrote: Yes, I've been meaning to reply back to this thread. Thanks for reminding me, Brian!

Serialization and final fields

2010-02-05 Thread Syntax
I would REALLY like to be able to define my members as final; however as noted on the GWT serialization page: - Fields that are declared final are also not exchanged during RPCs, so they should generally be marked transient as well. I was wondering why final fields are not transferred? I can only

Init Frame while invisible?

2010-02-05 Thread goolie
Hi, I've a problem where I have an external webapp running inside a Frame in my GWT project. I create the Frame and set the URL at startup of my app but I'm not showing it until the user wants to see it. The problem seems to be that the frame is not actually initialized until it is visible and I

RE: MVP with GWT 2.0/UiBinder could be simplified

2010-02-05 Thread Feldman, Nir
I see a very clean line between the Display and the Presenter (doesn't matter if you implement the display using a UI Binder - which Indeed we do). The presenter should never has any reference to either Widget or GWT.create. If you keep this strategy you will be able to unit test your presenters

Re: Problem with Thread in GWT2.0

2010-02-05 Thread SergeZ
Thanx, the answer is clear, but if JavaScript is a single-threaded, then how this code can works? private void makeATL(final String router) { Runnable onLoadCallback = new Runnable() { public void run() { //some code

Chrome only: CloseHandler - RPC - StatusCodeException

2010-02-05 Thread romant
Hi, I have a close handler registered on Window. When a user leaves my page the onClose() method is called. In the onClose() method I call a server side method logout() which takes care of cleaning the server session. See the simple code below. A pretty basic thing one would say. /** *

Persistence API (emulation?) for PHP

2010-02-05 Thread Dimedrol
Hello! I need to read/write some data from my GWT application to PHP with MySQL. (typical hosted www site) Is there any best practices for that? I mean, maybe there is some kind of Java Persistence API emulation for this kind of operations, so I could read/write POJOs to PHP/MySQL backend? --

Re: Remove element on host page

2010-02-05 Thread obesga
Well, I've another problem If I do RootPanel.get().getElement().setInnerHTML(); an exception is raised: com.google.gwt.core.client.JavaScriptException: (null): null ¿ Any clues about what is happening ? Thanks On Feb 4, 1:35 pm, Ian Bambury ianbamb...@gmail.com wrote: Get the body element

Re: Serialization and final fields

2010-02-05 Thread obesga
... I see it a little overcomplicated, is no easier to declare private fields and only getters ? As GWT does serialization and desarialization when a RPC call is done - that is, it converts the object to text ( to travel across HTTP ) and creates a new object filling it with the serializated

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-05 Thread olivier nouguier
Yep it is just because it's a SDK Update and *not* a plugin update... On Fri, Feb 5, 2010 at 2:22 AM, Sky myonceinalifet...@gmail.com wrote: Go to Help - Install new software... then choose Google Plugin - http://dl.google.com/eclipse/plugin/3.5; from the drop down or else add it if it isn't

Re: Remove element on host page

2010-02-05 Thread obesga
Ok, found an elegant solution RootPanel.getBodyElement().removeChild(RootPanel.get(waitPlease).getElement()); Hope it helps anybody On Feb 5, 11:42 am, obesga obe...@gmail.com wrote: Well, I've another problem If I do RootPanel.get().getElement().setInnerHTML(); an exception is

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread Diego Lovison
you can explain more but not for Enterprise like apps with all kind of decouples buses/queues and security On 4 fev, 18:19, Ed post2edb...@hotmail.com wrote: Thanks for the idea Diego This is nice for Hello World applications, but not for Enterprise like apps with all kind of decouples

Re: Prevent class conversion when compiling modules

2010-02-05 Thread Chris Lercher
Does anybody know a source code transformation tool that makes it easy to simply remove methods that are annotated with a certain annotation from source code? I know how to do this with ANTLR, but it should really be a lot easier. There's the Annotation Processing Tool (apt)

Is code.google.com down ?

2010-02-05 Thread golfdude
I am trying to download gwt 2.0 and cannot ping/nslookup this site. Is it down now ? thx gd -- 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

Re: Is code.google.com down ?

2010-02-05 Thread Alexander
Nope On 5 February 2010 17:41, golfdude padysr...@gmail.com wrote: I am trying to download gwt 2.0 and cannot ping/nslookup this site. Is it down now ? thx gd -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: Persistence API (emulation?) for PHP

2010-02-05 Thread Alexander
I think its impossible to write usable POJO to PHP/MySQL backend. JSON seems to be right solution. On 5 February 2010 16:34, Dimedrol zaharov.i...@gmail.com wrote: Hello! I need to read/write some data from my GWT application to PHP with MySQL. (typical hosted www site) Is there any best

Re: Source code availability to the GWT Compiler

2010-02-05 Thread getaceres
Yes, they have to be in the same jar, so you have to include this lines in your pom.xml: build . resources resource directorysrc/main/java/directory /resource resource

Re: Serialization and final fields

2010-02-05 Thread Alexander
All this serializaiton issues comes from @Serializable (java spec), not from GWT. Be sure you understand what it means. On 5 February 2010 16:51, obesga obe...@gmail.com wrote: ... I see it a little overcomplicated, is no easier to declare private fields and only getters ? As GWT does

Changed war destination no refresh

2010-02-05 Thread Pietro
Hi all, I've configured Eclipse Plugin for GWT 2.0 so that compile directory is in web app of my web server. All have gone right, but now when I change java code I need to recompile. In Debug configuration I'veconfigured working directory so that it points to compile directory. I'm running on

Re: Persistence API (emulation?) for PHP

2010-02-05 Thread petrusp
Quick google search came up with this: http://angel.hurtado.googlepages.com/tutorialgwt2 Using JSON as suggested On Feb 5, 12:34 pm, Dimedrol zaharov.i...@gmail.com wrote: Hello! I need to read/write some data from my GWT application to PHP with MySQL. (typical hosted www site) Is there

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread getaceres
In a complex enterprise application you will have some classes which are not serializable or even translatable to Javascript. If you want to serialize a bean which has a field with this class the compilation will fail. For example, let's suppose that you have this bean: @Entity public class User

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread Ed
Hi All, Thanks for the clear example getaceres. I think you can come up with plenty examples that the above annotation idea is just too simple... It's nice ofcourse and welcome but for bigger app simple not acceptable.. Above you already explain the problems you can have during compilation. In

Re: Persistence API (emulation?) for PHP

2010-02-05 Thread Christian Goudreau
Personally I used XML, it's easier to do multiple updates in one query. But if you find an easier way than writing a parser on server side to translate XML to Objects and on client side, objects to XML. You're welcome. On Fri, Feb 5, 2010 at 7:07 AM, petrusp petrus.pel...@gmail.com wrote: Quick

gwt-button : Firefox Dotted Border

2010-02-05 Thread fonghuangyee
Hi, is there anyone notice that the gwt button will show dotted border when focus on firefox. i try .gwt-button:focus { outline : none; } but the dotted border still there. Any solution? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Exceptions in Event Handlers(inner classes) are not shown by Dev Mode Panel in Eclipse!

2010-02-05 Thread Joel Webber
This may be a problem with SmartGWT. I'm not familiar with the details of how they deal with wrapping events from the native SmartClient widgets, but if they fail to properly punt exceptions to the UncaughtExceptionHandler, dev mode will eat the exceptions. On Thu, Feb 4, 2010 at 12:58 PM, J-Pro

Re: Maven users survey

2010-02-05 Thread Keith Platfoot
Hi Olivier, GPE 1.3 should be compatible with WTP/Eclipse EE. For example, you'll be able to easily add GWT and/or App Engine to an existing Dynamic Web Project, and then debug the application using the GPE Web Application launch configurations. For GWT projects that have a separate backend

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread Diego Lovison
hi.. @getaceres I suggest dont use @GwtTransient in your example.. if you dont put the annotation your application will work fine ;) On 5 fev, 11:22, Ed post2edb...@hotmail.com wrote: Hi All, Thanks for the clear example getaceres. I think you can come up with plenty examples that the above

Re: Digest for google-web-toolkit@googlegroups.com - 21 Messages in 14 Topics

2010-02-05 Thread Marcos Alcantara
Hi guys, What do you guys think about this tool? http://280atlas.com/what.php How great would be it if we had one like that for GWT? =) Best regards, Marcos Alcantara -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread Ed
@Diego: I think we have a misunderstanding here: it's just an example, what's more important: his message and explanation... On Feb 5, 4:28 pm, Diego Lovison diegolovi...@gmail.com wrote: hi.. @getaceres I suggest dont use @GwtTransient in your example.. if you dont put the annotation your

Re: Changed war destination no refresh

2010-02-05 Thread Rajeev Dayal
Can you explain in more detail the changes that you've made? You should not need to change any settings at all in order to get the proper refresh behavior. A GWT Compilation is not necessary to run your application in development mode; you only need to compile it when you deploy it to your

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-05 Thread Rajeev Dayal
Actually, the problem is that when we release a new SDK, the feature id changes, so Eclipse does not detect this as an update - it detects it as a new component to install. We need to change the update notification text to reflect this. On Fri, Feb 5, 2010 at 5:51 AM, olivier nouguier

Re: upgrade gwt 1.5 to 1.6 help!!

2010-02-05 Thread Rajeev Dayal
Are you using the Google Plugin for Eclipse? On Fri, Feb 5, 2010 at 1:26 AM, Gal Dolber gal.dol...@gmail.com wrote: I recommend you to go straight to GWT 2.0. Just update the SDK and find the deprecated's in your code. The biggest problem you can have is with the ImageBundle, now you have to

Re: How suitable is GWT for developing apps for embedded devices like gateway

2010-02-05 Thread Amine Ouahman
Hi, I think that you'll need to buy JVM licence for your gateway in order use RPC -- 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

Re: WebSocket

2010-02-05 Thread PeterL
Actually, you can have 100% WebSocket support--just use Kaazing WebSocket Gateway. That supports native as well as WebSocket emulation for all the older browsers, including IE. and it is super scalable. Regards, Peter On Feb 3, 4:27 am, dolcra...@gmail.com dolcra...@gmail.com wrote: I'm pretty

Can't debug client code from Eclipse

2010-02-05 Thread urbanus
Debugging a default GreetingService application from Eclipse works fine -- including breakpoints in the server code -- but breakpoints in the client code aren't triggered. I installed GWT 2.0.1, plus the GWT 2.0.1 plugin for Eclipse. I generated a new, default project from the command-line,

Sample Application which shows how to use GWT inside a Struts 1.2 App

2010-02-05 Thread crojay78
Hi, does anyone has a sample application where I can see how to use GWT screens in a struts application? I was looking for this but without success. It would be nice if somebody can provide something or maybe has the mood to make such a sample app. I guess a lot of people would be greatful or at

Re: Serialization and final fields

2010-02-05 Thread Thomas Broyer
On Feb 5, 9:53 am, Syntax j.dixon...@gmail.com wrote: I would REALLY like to be able to define my members as final; however as noted on the GWT serialization page: - Fields that are declared final are also not exchanged during RPCs, so they should generally be marked transient as well. I

Re: Can't debug client code from Eclipse

2010-02-05 Thread Rajeev Dayal
There have been problems with versions of JDK 1.6.0_X, where X is between 0-15, where breakpoints are not hit when debugging. However, it is odd that your server breakpoints consistently work, but your client breakpoints do not; in those cases where the JDK has been the source of the problem, the

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-05 Thread Thomas Broyer
On Feb 5, 11:51 am, olivier nouguier olivier.nougu...@gmail.com wrote: Yep it is just because it's a SDK Update and *not* a plugin update... and because it's actually not seen as an update: the 2.0.1 SDK will be installed side-by-side with the 2.0.0 one (AFAICT) -- You received this message

Re: Sample Application which shows how to use GWT inside a Struts 1.2 App

2010-02-05 Thread mariyan nenchev
Just create div in your jsp and and place the nocache.js in there. I do not think you could call Action from GWT. On Fri, Feb 5, 2010 at 5:59 PM, crojay78 croja...@googlemail.com wrote: Hi, does anyone has a sample application where I can see how to use GWT screens in a struts application? I

Re: MVP with GWT 2.0/UiBinder could be simplified

2010-02-05 Thread Thomas Broyer
On Feb 5, 10:49 am, Feldman, Nir nir.feld...@hp.com wrote: I see a very clean line between the Display and the Presenter (doesn't matter if you implement the display using a UI Binder - which Indeed we do). We're doing exactly the same here. Note that this means we do not use @UiHandler

Re: fixing javascript method names

2010-02-05 Thread Thomas Broyer
On Feb 4, 9:47 pm, Ryan Heaton stoicfl...@gmail.com wrote: Thanks for your reply. But I'm having trouble understanding your code. The publishGetStuff method refers to $entry. What is that? It's a special function that wraps the function argument so that exceptions will be passed to your

Re: JSONParser bug ?

2010-02-05 Thread Thomas Broyer
On Feb 4, 9:04 pm, Costa costa_ba...@yahoo.ca wrote: I have attempted the following code snippet: String data = new $wnd.Date(2010,0,28,17,8,48,0); JSONValue value = JSONParser.parse(data); To my dismay it returns a JSONNumber !! Now I looked in the source code (JSONParser.java: parse,

Re: GWT 2.0 with PHP on apache2 (xampp)

2010-02-05 Thread Jeff Chimene
On 02/04/2010 06:46 PM, PC_Nerd wrote: Hi, I've been playing with GWT and managed to get a basic XML request working to response.xml. However after reading through

Re: UiBinder Templates - Adding a series of HTML elements

2010-02-05 Thread Tim K
Damians, Thanks for your reply. Your solution would put month, day and year into a new table. The new table would be nested inside the cell of the original table. This is not quite what I need. I would like three columns in the original table. I have created a new class ListPanel. It is derived

Re: SerializationException appear suddenly if deployed to production

2010-02-05 Thread Gerson Samaniego
Hello, I have the following environment: - GWT-2.0.1 - GWT-EXT 2.0.6 - GWTEventService 1.0.2 - Part of POJO Serialization with BeanLib (like Gilead) - JAAS (Autenticate each request in a RemoteEventService extension) - JBoss-4.2.3.GA (Tomcat as WebServer) - Hibernate Since I migrated to gwt 2.0,

Re: Embedded jetty

2010-02-05 Thread doe
Try this : http://humblecode.blogspot.com/2009/05/gwt-16-using-jndi-datasource.html On Feb 2, 8:12 pm, Thom with an H thomh...@gmail.com wrote: I'm trying to modify the jetty.xml file so I can define JDBC settings for my jetty instance, but I can't seem to find where to do this with the

Re: SerializationException appear suddenly if deployed to production

2010-02-05 Thread Gerson Samaniego
Hi all, I have the following environment: - GWT-2.0.1 - GWT-EXT 2.0.6 - GWTEventService 1.0.2 - Part of POJO Serialization with BeanLib (like Gilead) - JAAS (Autenticate each request in a RemoteEventService extension) - JBoss-4.2.3.GA (Tomcat as WebServer) - Hibernate Since I migrated to gwt

GWT 2.0 servlet version required?

2010-02-05 Thread dhoffer
What version of the servlet spec does GWT require? Actually I want to know how old of a Tomcat version I can use but the servlet version is probably what GWT cares about. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: BUG(IE): Animation can't be canceled... click events are not happening during animation.

2010-02-05 Thread Sky
Bump. This is a really annoying problem and it's important to me to fix it. I've made animations in plain old Javascript that I could interrupt via mouse clicks and it works in the other browsers so there must be either a GWT bug going on or something I could do differently but I don't know.

Re: Announcing GWT 2.0.1

2010-02-05 Thread Sky
Thanks so much to the GWT development team for this update! This fixed a couple of key functionality issues I had with Chrome. Very much appreciated! On Feb 5, 8:48 am, Michel micg...@gmail.com wrote: Hi. - The development mode server will, by default, only bind to localhost    which will

Re: UiBinder Templates - Adding a series of HTML elements

2010-02-05 Thread Tim K
Code formatted to 70 columns. - import java.util.Vector; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Node; import com.google.gwt.user.client.ui.HTMLPanel; public class ListPanel extends HTMLPanel{ // aunts should actually be auntsOrUncles

Re: Digest for google-web-toolkit@googlegroups.com - 21 Messages in 14 Topics

2010-02-05 Thread Sky
No one is going to click on that link until you describe what it is and convince us that you aren't spamming us with a malicious website. The address even looks suspicious. On Feb 5, 9:30 am, Marcos Alcantara marc...@gmail.com wrote: Hi guys, What do you guys think about this tool?

Re: Mozilla Problem

2010-02-05 Thread dolcra...@gmail.com
It actually looks like you are using Firefox 3.5.7 (Mozilla the browser isn't really around). I am assuming you are running in dev mode, do you have the plugin installed in both instances of Firefox? Are you looking to fix some behavior difference between 3.4 and 3.5? On Feb 4, 2:57 am, Sanj

Re: JSONParser bug ?

2010-02-05 Thread dolcra...@gmail.com
// It was a primitive wrapper, unwrap it and try again. It looks like javascript's date is a primitive wrapper to a number (maybe seconds from epoch?) Which makes sense as that's the only bit of data it should store. Maybe look at implementing Date with a JavaScriptObject that wraps the

Re: Init Frame while invisible?

2010-02-05 Thread Sky
It probably needs to be attached to the DOM in order to set the URL. Attach it to the DOM after setting it's visibility to false, then set the URL. Change it's visibility to true when you want the user to see it. Pretty sure that should work. Email me if you can't get it to work. On Feb 5, 2:56 

Re: Init Frame while invisible?

2010-02-05 Thread mariyan nenchev
Thanks that is exactly what i needed too, i will try it. On Fri, Feb 5, 2010 at 7:36 PM, Sky myonceinalifet...@gmail.com wrote: It probably needs to be attached to the DOM in order to set the URL. Attach it to the DOM after setting it's visibility to false, then set the URL. Change it's

Re: Init Frame while invisible?

2010-02-05 Thread mariyan nenchev
Aaam one q:How to attach it? with container.add() because this is not working. On Fri, Feb 5, 2010 at 7:48 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: Thanks that is exactly what i needed too, i will try it. On Fri, Feb 5, 2010 at 7:36 PM, Sky myonceinalifet...@gmail.com wrote: It

Change default name of @UiField for CssResource

2010-02-05 Thread Tim K
The default name for a CssResource is style. Can this be changed to borderstyle? It seems to work in *.ui.xml but not in *.java. The Eclipse Plug in reports this error. Description: Field borderstyle has no corresponding field in template file DateBox_text.ui.xml Resource: DateBox.java

Re: fixing javascript method names

2010-02-05 Thread Ryan Heaton
Again, thanks for your tip. It got me going in the right direction. For the record, my solution was to create (as Thomas suggested) a peer callback object that extends JavaScriptObject that defined the same method signature. So if my callback object was defined like this: public interface

Re: Digest for google-web-toolkit@googlegroups.com - 21 Messages in 14 Topics

2010-02-05 Thread Gal Dolber
I checked it out... its ok :P It is an awesome tool! that interface builder concept it is amazing... we should send an email to the guys of instantions to see if they go ahead and make a similar editor for uibinder :P 2010/2/5 Sky myonceinalifet...@gmail.com No one is going to click on that

Re: Changed war destination no refresh

2010-02-05 Thread cretz
A GWT Compilation is not necessary to run your application in development mode I don't necessarily agree with this. There have been times I have entered my application via development mode and it tells me GWT module 'MODULE_NAME' may need to be (re)compiled. I assume this only occurs when you

Re: Changed war destination no refresh

2010-02-05 Thread Rajeev Dayal
Hi, On Fri, Feb 5, 2010 at 1:18 PM, cretz chad.r...@gmail.com wrote: A GWT Compilation is not necessary to run your application in development mode I don't necessarily agree with this. There have been times I have entered my application via development mode and it tells me GWT module

Re: Cannot get code splitting to work

2010-02-05 Thread Sky
Hi Jonathan. I just tried making some of my own code split using the async callback for the first time and I was successful. I get a deferredjs folder and I can see that in the initial download report my class is only 30 bytes (because I call a method returning a static string outside of the

Re: Init Frame while invisible?

2010-02-05 Thread Sky
Yes, container.add(frameInstanceName) where frameInstanceName is the variable pointing to the frame, will work. However you need to make sure that container has also been attached to the DOM, and the container of container, and so on, until you reach all the way up to RootPanel. ONLY when the

Re: GlassPanel in IE6 -- color changes when scrolling

2010-02-05 Thread Sky
There is no GlassPanel in GWT, so I'll assume it's your own panel. I don't know much about iframe shim other than a quick skim of the first site I found doing a search. Why don't you just use a transparent png image set as the background of your panel? That's what I would do. On Feb 4, 9:53 am,

Re: Changed war destination no refresh

2010-02-05 Thread cretz
I use the URL it recommends (http://127.0.0.1:/index.html? gwt.codesvr=127.0.0.1:9997) and I add a history token, but it keeps the gwt.codesvr (i.e. http://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997#login). When I login, I do issue a full redirect for OpenID and security reasons.

Re: GlassPanel in IE6 -- color changes when scrolling

2010-02-05 Thread Tim K
I had problems in the past using a background image in html. It could not scale to fit. http://www.w3schools.com/Html/tryit.asp?filename=tryhtml_bodybgimg Try something like this. Remember to use absolute position. IMG style=WIDTH: 100%; HEIGHT: 100%; position: absolute;

GWT-RPC and SOP

2010-02-05 Thread Fabiano
Hi, I have already read the old threads about and I have read the GWT tutorial about SOP. The solution using the script's tag is interesting but is not suitable in my case. Having developed a fair complex GWT application which uses GWT-RPC I'm quite curios if there is a way to avoid SOP with the

Re: Changed war destination no refresh

2010-02-05 Thread Rajeev Dayal
Hi, I don't think that's the best way to handle it, as you'll be littering those calls throughout your code. Take a look at our Showcase sample - in particular, look at the code that gets executed when the user changes locales by selecting a different one in the upper-right hand corner of the

Re: Source code availability to the GWT Compiler

2010-02-05 Thread Micah
I acknowledge that the source needs to be available for the gwt compiler but I still question if the source needs to be in the same jar as the compiled endstates you'd ship to a client. Is there documentation that states the requirements (location/conditions) for providing source code to the gwt

Debugging a maven GWT project in Eclipse with gwt-maven-plugin

2010-02-05 Thread dane.molotok
I've been trying to do what I read here[1]. I am able to use the gwt:run goal to launch the app in development mode, make code changes in Eclipse, and then refresh the browser and see the code changes reflected. However when I try to use gwt:debug instead, my first attempt to hit the server

How to resubmit RPC after session timeout/login

2010-02-05 Thread Jamie
Hi everybody. I'm trying to extend AsyncCallback to always have the same behavior onFailure. I can successfully catch the session timeout exception that I'm looking for, open a login dialog, and have the user login. What I want to do after that is done is to resubmit the original RPC call that

Re: Charts in Visualization API -- pushing data

2010-02-05 Thread Richard
You can use gwt-comet to streaming messages to the browser over long lived HTTP requests. http://code.google.com/p/gwt-comet/ On Feb 4, 11:33 pm, Sean slough...@gmail.com wrote: http://code.google.com/p/rocket-gwt/wiki/Comet Comet will allow you to push data from the Server to the Client.

Newbee CSS questions

2010-02-05 Thread dhoffer
How can I make some simple changes to the CSS GWT 2.0 uses for the standard theme? How can I change the font family/name used for everything? (Is there a global place for this?) How can I change the color of the font used for everything? (Is there a global place for this?) How can I change the

Code Splitting: lots of overhead. Too much?

2010-02-05 Thread Sky
I successfully used code splitting on a few classes in my project. By looking at the compilation report it appears to me that code splitting has an incredibly large amount of overhead. I've gone through the report carefully and the code that I'm splitting is indeed being split and not included in

Re: Code Splitting: lots of overhead. Too much?

2010-02-05 Thread Sky
It appears I am wrong. If you notice this, don't bother reading my entire blurb above, instead learn from what I will explain here that was my mistake. I put inside my onFailure() method a call to the method that calls GWT.runAsync() and creates the async handler, effectively making it retry to

Re: Code Splitting: lots of overhead. Too much?

2010-02-05 Thread Sky
Sorry, I have to retract that last post entirely! I made a mistake in testing it when I removed that one line of code. I forgot that I was no longer actually calling GWT.runAsync() and thus it had gone back to it's original Initial download size. Even removing the retry code, but properly using

Re: How to resubmit RPC after session timeout/login

2010-02-05 Thread Joe Cole
This is one area where gwt could improve. We ended up patching ProxyCreator (look up the class) to automatically retry any requests with strange error codes (0, 12090, 400), and now that I think about it, it would be nice to do this for session timeouts as well. It would be great if gwt could

Re: Hiding server-side code from the client?

2010-02-05 Thread Axel Rauschmayer
The problem is that the GWT compiler will complain about server-only classes that the dual code uses. -- 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

Re: Hiding server-side code from the client?

2010-02-05 Thread Gal Dolber
Yes... I just had a case of that... now I understand your problem 2010/2/5 Axel Rauschmayer aurausc...@googlemail.com The problem is that the GWT compiler will complain about server-only classes that the dual code uses. -- You received this message because you are subscribed to the Google

Re: Charts in Visualization API -- pushing data

2010-02-05 Thread John Ivens
Thanks, guys. In the meantime I am polling, and resetting down to intervals currently of 5 seconds per refresh. Actually works fairly well if you don't have too many data points. I definitely want to investigate Comet later, though. For a bunch of reasons... On Fri, Feb 5, 2010 at 2:43 PM,

Loading the gwt developer plugin inside an ie webbrowser control?

2010-02-05 Thread Ronen
Hey, We're developing a desktop application where the ui is presented inside a hosted web browser (ie webbrowser control). The application is written in gwt. We want to debug the application with the hosted web browser, since the application's functionality depends on custom com objects accessed

Re: Newbee CSS questions

2010-02-05 Thread Gal Dolber
You can... ..copy the entire theme and customized it. or ..overlap the css classes that you want to customize in a css and include it (on each Widget there is a description of what css classes it uses) 2010/2/5 dhoffer dhoff...@gmail.com How can I make some simple changes to the CSS GWT 2.0

Re: Newbee CSS questions

2010-02-05 Thread Sky
I just include my own CSS file (you can include it in the top html file) and create styles inside it and set the style name via myWidget.setStyleName(). If I just want to change one or two CSS properties I use a global method: MyJS.setStyle(Widget w, String style, String value)

Re: Newbee CSS questions

2010-02-05 Thread dhoffer
So is there a global way to change all font? Or is this done per class and completely separate from each other? I've tried just adding some css to my app's css (which is specified in the html) like: .qwt-Label{ color: #DF0101; font: normal 12px tahoma, arial, helvetica, sans-serif;

Re: Debugging a maven GWT project in Eclipse with gwt-maven-plugin

2010-02-05 Thread matttai
I ahve been able to get it to work with this setup: http://claudiushauptmann.com/tutorial-gwt-maven-and-eclipse-with-m2eclipse.html I am now trying to get it to work with -server com.google.appengine.tools.development.gwt.AppEngineLauncher but unsuccessfully You may also get problems with class

Re: Newbee CSS questions

2010-02-05 Thread Sky
There is no global way to override more specific styles. Thats just how CSS works. The more specific style is going to override the more general style. If you have no need for GWT's css, remove it from your project and create your own. Then you can specify font styles for the body, which will be

Re: DialogBox broken in Firefox 3.6

2010-02-05 Thread JY
Anyone managed to find a solution to get a native GWT 1.4 Dialogbox to work properly in Firefox 3.6? On Jan 30, 12:18 pm, Lee Chuen Yang, Jeremy chueny...@gmail.com wrote: Mayor, specifying a background color for the iframe solves your problem. Anyone managed to solve the non-draggable problem

Re: Newbee CSS questions

2010-02-05 Thread Abdullah Shaikh
Hey Dave, I dont know if you have copy/pasted the css from your css file or typed it down here. It should be gwt-Label instead of qwt-Label, note the G instead of Q. - Abdullah On Sat, Feb 6, 2010 at 6:59 AM, dhoffer dhoff...@gmail.com wrote: So is there a global way to change all font? Or

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread stuckagain
Hi, I tracked it down to the PopupPanel changes in http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java?r=7391 For a diff see:

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread Konstantin.Scheglov
I've added this issue yesterday, found during running tests for GWT Designer. http://code.google.com/p/google-web-toolkit/issues/detail?id=4584 On Feb 4, 6:36 pm, Joel Webber j...@google.com wrote: It shouldn't be -- if you kick off History's static initializer, it will

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread Joel Webber
I just clarified the issue a bit and assigned it. Thanks for catching this. On Feb 5, 6:00 am, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote:   I've added this issue yesterday, found during running tests for GWT Designer.

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread Joel Webber
I just clarified the issue a bit and assigned it. Thanks for catching this. On Feb 5, 6:00 am, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote:   I've added this issue yesterday, found during running tests for GWT Designer.

[gwt-contrib] Re: html5 + gwt ... or gears?

2010-02-05 Thread Joel Webber
Karl-Heinz, We are planning on adding built-in support for the HTML5 AppCache, but have not done so yet. I believe there are some projects already in existence working to do this, such as gwt-mobile-webkit ( http://code.google.com/p/gwt-mobile-webkit/). I haven't used this project personally, but

[gwt-contrib] Re: GWT Incubator Status Update and Schedule

2010-02-05 Thread stuckagain
Hi, I only realized now that we are depending on the ProgressBar in incubator... so if I read this right it might get scrapped from GWT :- S. David On Jan 12, 7:04 pm, John LaBanca jlaba...@google.com wrote: Incubator Users - The Google Web Toolkit Incubator project began as a proving

Re: [gwt-contrib] Re: GWT Incubator Status Update and Schedule

2010-02-05 Thread John LaBanca
I only realized now that we are depending on the ProgressBar in incubator... so if I read this right it might get scrapped from GWT :- It depends on whether we can implement it without using a ResizeTimer in a way that makes sense. Really, the only problem with ProgressBar is positioning the

Re: [gwt-contrib] Re: html5 + gwt ... or gears?

2010-02-05 Thread Bart Guijt
What Joel said :-) (I started gwt-mobile-webkit) However, I am far from done: The AppCache behaviour is rather 'undefined' when an iframe is involved which is dynamically inserted by Javascript. According to a thread on WHATWG

Re: [gwt-contrib] GWT build requirements and packaging for Fedora

2010-02-05 Thread James Laska
Greetings John, Just the feedback I was in need of, thanks for taking the time to respond! On Thu, Feb 4, 2010 at 8:05 PM, John Tamplin j...@google.com wrote: On Wed, Feb 3, 2010 at 8:25 AM, jlaska james.la...@gmail.com wrote: I am looking into packaging GWT for Fedora.  According to the

  1   2   >