Re: Strange List serialization behaviour

2009-03-17 Thread Arthur
Ah, you're using OSGi. I've had a few difficult to track down problems too. I use something like the following: A class which adapts RemoteLoggerServiceImpl: public class OsgiGwtRemoteLoggerServiceImpl extends RemoteLoggerServiceImpl { private static final long serialVersionUID =

Re: Strange List serialization behaviour

2009-03-17 Thread Arthur
Oh, just a small remark: The comment in OsgiGwtRemoteServiceServlet doesn't refer to modules as in GWT modules but to modules of our own system. Not to confuse anybody. Arthur On Tue, Mar 17, 2009 at 7:46 AM, Arthur avand...@gmail.com wrote: Ah, you're using OSGi. I've had a few difficult to

Rpc Serialization best practice

2009-03-17 Thread razo
Hi all , Am developing an enterprise application using Gwt and am using RPC to send a complex objects to the client ,i was wondering of what is the best practice of serializing/deserializing objects to get the best performance. not that my RPC request size is approximately 17 - 20 k its very

GWT more entry points on one html

2009-03-17 Thread Alex D
Hello, I was wondering if I can make 2 or more GWT application embedded on one page. I know this is possible, but, it there a way to make them communicate with each other? It seems to me that the only way is through history tokens, but this coupling is too weak. I have to be sure that the

Re: Interesting issue for experts!

2009-03-17 Thread djd
For hibernate entity beans, can I use hibernate's specific annotations? I never actually tried it, since we've mapped them using .hbm.xml config files. But will GWT ignore the annotations or, better said, how do I map entity beans using annotations without making GWT scream about the imports? :)

Re: Interesting issue for experts!

2009-03-17 Thread Jason Morris
As far as I know it won't complain (doesn't complain when I use annotations from EoD SQL). The best way to find out is write a test class with some annotations and try compile it ;) //J djd wrote: For hibernate entity beans, can I use hibernate's specific annotations? I never actually

DialogBox's height not based on its content

2009-03-17 Thread Danny Schimke
I have a dialog box with a invisible widget at the dialogs bottom. There is a button to show this (invisible) widget. The Widget is shown and the dialog box's size grows up (correctly). But when I hide this widget the height of the dialog box is not reduced back to the initial state. It stays

Changing Image

2009-03-17 Thread ArunDhaJ
Hi All, I'm using Image class for displaying image. I've even provided my website user the ability to change the image by choosing their own. When uploading I'll be replacing the old image in the server with the newly selected image without changing the file name. Since there is no change in the

Re: Interesting issue for experts!

2009-03-17 Thread Jason Gillam
Even if it doesn't complain about the annotations... I don't think this really addresses the problem, does it? If your annotations are in your client-side code, they aren't going to be used, are they? It seems to me that putting them there just confuses matters. This goes back to what some of

Re: Changing Image

2009-03-17 Thread alex.d
Just add smth. like nocache=12345689 to image url where 1234567 is current time in ms. This way browser will think that image-url has changed. On 17 Mrz., 12:25, ArunDhaJ arund...@gmail.com wrote: Hi All, I'm using Image class for displaying image. I've even provided my website user the

Re: NoClassDefFoundError

2009-03-17 Thread Luigi Iannone
Hi, that actually helped. Turned out it was an Exception in the constructor of the private member that prevented its initialization, thus causing problem in the servlet initialization itself. Thank you very much, Luigi On 17 Mar 2009, at 02:00, Vitali Lovich wrote: You'd have to provide

Re: gwt framework recomendations

2009-03-17 Thread Arthur Kalmenson
We use Hibernate to communicate with the database and Spring for IoC. We also use Spring Security for all the security requirements you mentioned. Haven't tried Gears yet. -- Arthur Kalmenson On Sun, Mar 15, 2009 at 12:25 PM, kedar kedaar.ghane...@gmail.com wrote: Hi, I am looking for a

need suggestion on scalable blinking implementation

2009-03-17 Thread denis56
His, if anyone could share experience with achieving blinking behavior for several items on a page? in my case there is a table being shown whose rows should have multiple blinking elements (labels and images). Each of the blinking elements has -its own- timeout value defined to stop blinking.

Re: need suggestion on scalable blinking implementation

2009-03-17 Thread Ben Tilford
You could do it with a single timer then have your blinking components listen for a tick event that the timer would fire. On Tue, Mar 17, 2009 at 8:52 AM, denis56 denis.ergashb...@gmail.com wrote: His, if anyone could share experience with achieving blinking behavior for several items on a

Re: gwt framework recomendations

2009-03-17 Thread Harun Pathan
We also used GWT+Spring+Hibernate stack and it worked well for us. On Tue, Mar 17, 2009 at 12:38 PM, Arthur Kalmenson arthur.k...@gmail.comwrote: We use Hibernate to communicate with the database and Spring for IoC. We also use Spring Security for all the security requirements you mentioned.

Re: gwt framework recomendations

2009-03-17 Thread Harald Pehl
We alos use spring / hibernate. Furthermore we used GWT Server Library (http://gwt-widget.sourceforge.net/) for the clue code between spring dispatcher servlet and GWT services. Greetings Harald On Mar 17, 1:38 pm, Arthur Kalmenson arthur.k...@gmail.com wrote: We use Hibernate to communicate

Re: need suggestion on scalable blinking implementation

2009-03-17 Thread denis56
thanks, I would not have come to that idea. would that, from the implementation point of view, mean that i will again have elements extending component with appropriate fields, something like - isChangable : boolean [if timeNow timeStarted + timeToBlink] - timeStarted : long - timeToBlink : int

Re: gwt.1.5.3 on jboss.5.0.1 with ejb3 notation

2009-03-17 Thread tetsuo
i solved it today. the explicit configuration from the *.jar *.war *.ear must correspondent with the xsd/dtd files from sun/jboss in order to deploy that stuff right. anyway, the ingredients of the connector chain, i quite amusing :/ thanks for the links hints, i surfed it but couldnt get a

Re: Interesting issue for experts!

2009-03-17 Thread Ian Petersen
On Tue, Mar 17, 2009 at 5:14 AM, Jason Morris lem...@gmail.com wrote: Except that objects that are bound to some sort of server-side data store (DB, FS, whatever) will be used on both the client and the server. Some of these tools use annotations to describe parts of the mapping

NumberFormat getCurrenyFormat()

2009-03-17 Thread fatjack1...@googlemail.com
Hi, I am having some problems correctly displaying currency. Here is the code I am using: //Format the discount to two decimal places NumberFormat fmt = NumberFormat.getCurrencyFormat(); String formatted = fmt.format(discountAmount); discountAmount =

Re: Interesting issue for experts!

2009-03-17 Thread djd
On Mar 17, 1:59 pm, Jason Gillam jason.gil...@gmail.com wrote: Even if it doesn't complain about the annotations... I don't think this really addresses the problem, does it?  If your annotations are in your client-side code, they aren't going to be used, are they?  It seems to me that

Huge Javascript Size and 5 different copies

2009-03-17 Thread Deba
We have been developing a CRM app using GWT for last few months. The fully functioning codebase is quite huge for a team of our skills and size. After web mode - compile we have 5 different cache.html (e.g 39E6CED23236BBA7EF1704B96900B4D8.cache.html) files .. each one of approximately 545 kb.

Re: Huge Javascript Size and 5 different copies

2009-03-17 Thread Shawn Pearce
On Tue, Mar 17, 2009 at 07:40, Deba padhy.debas...@ensarm.com wrote: After web mode - compile we have 5 different cache.html (e.g 39E6CED23236BBA7EF1704B96900B4D8.cache.html) files .. each one of approximately 545 kb. We are keen to know how these 5 different files with similar size are

Re: Huge Javascript Size and 5 different copies

2009-03-17 Thread Brian
Only one of those files is downloaded by the browser. Each one of those large files is a browser-specific version of all your app's generated javascript. You can reduce the size by ensuring you're generating obfuscated code, and turning on compression in your webserver. Zip one of those files

Organizing CSS with GWT

2009-03-17 Thread Ice13ill
Hello, I'm trying to create an interface for an application using gwt to arrange widgets and CSS (bigtime) for widgets properties/styles. Can somebody give a few links for hints or tutorials on how is it better to organize, arrange, cascade etc. styles using CSS in GWT ?

Re: Show PDF with POST request

2009-03-17 Thread nikolcha
Thanks! I just tried, and for my problem, it works great! On Mar 12, 5:21 pm, Thomas Broyer t.bro...@gmail.com wrote: On 12 mar, 11:01, nikolcha risticnik...@gmail.com wrote: I have this: 1. [client] Call server from client via GWT-RPC 2. [server] Create map of the data and store them

Re: Need help with callback

2009-03-17 Thread Dean Mikel
Vitali, you are awesome. I was able to pass in the java dataHandler using JSNI, with an overlay for the SQLResultSet class as you suggested... and it is working beautifully. Took me a minute to get my head around the overlay concept, but I get it now, very cool. Now, I only wish I could have

Re: Huge Javascript Size and 5 different copies

2009-03-17 Thread mikedshaffer
And I guess I'd be curious to hear if the concern is the amount of space required for these files on their webserver, which would be reduced if the code is obfuscated, or if their concern is the size of the code base as it impacts the browser, which was answered by both posts. Or if lastly, the

Re: Need help with callback

2009-03-17 Thread Vitali Lovich
Actually, AFAIK, hosted mode on OS X is Safari. It's an old version of the browser (IE6 on Windows some old Mozilla branch on linux). You'll need to use OOPHM if you want HM features with a newer browser *still experimental though). On Tue, Mar 17, 2009 at 11:15 AM, Dean Mikel

Re: Can't download GWT even older versions

2009-03-17 Thread Bill
Sumal and Alex, thanks for your help. This does appear to have been a FF/connection issue -- I was able to download successfully when I got back to my usual, reliable network. Thanks, -Bill On Mar 13, 12:43 am, alex.d alex.dukhov...@googlemail.com wrote: That kind of error with FF occures

Re: Need help with callback

2009-03-17 Thread Jason Essington
On OS X the hosted mode browser is Web Kit (Safari4-ish). You could set the environment variable DYLD_FRAMEWORK_PATH to point to your latest WebKit nightly (for your hosted mode launch configuration) and see how that treats you :-) -jason On Mar 17, 2009, at 9:15 AM, Dean Mikel wrote:

Servlets

2009-03-17 Thread bhanu
Hi, I am new to GWT. It is very interesting for me to work on GWT. I just would like to know one thing, in GWT will support MVC pattern? suppose if I am creating a user login page and do I need to create the servlets for GWT? I know I can create servlet. But I just would like to know which is

Issue with services

2009-03-17 Thread Carlos A
Hi,currently I'm working on a project with GWT that has this special condition:we'll deliver two products,a framework and an application.The application uses the framework classes through a JAR file.The big problem is that the framework package contains all the clases that implements Services and

Changing CSS dynamically in GWT code

2009-03-17 Thread Sush
Hi, First off my apologies, if this is the duplicate topic. I need to change the style of the panel based on the URL parameter which contains the syle sheet name (css/LoginMenu.css) For differrent users, there would be different set of stylesheets. I have added below JSNI code in my

multiselect country polygons

2009-03-17 Thread artonice
dear GWT community, I am a student at the University of Amsterdam working on a Information visualization project for my master. I'm new to gwt and tried to look for a solution to my challenge, but cannot seem to find the right one. what i want to do: I want to use google maps where it is

Re: Servlets

2009-03-17 Thread Vitali Lovich
It's perfectly possible, but the approach I take is this: MVC is done on the client-side, except changes to the model that affect or require business logic are asynchronous RPC calls into the servlet. You have to be careful to understand the asynchronous nature of it notify the user

Inheriting an external java project which has references to external jar files

2009-03-17 Thread erincarikan
Excuse my illiteracy as a newbie if my question is too trivial. I am trying to build a gwt application, my application is going to be an extension to an existing big project. In the existing project there's a package which contains objects with serialization and deserialization capabilities.

Re: NumberFormat getCurrenyFormat()

2009-03-17 Thread MN
please provide your full code. you print out formatted oder discountAmount? why you parse again the formatted string back to discountAmount? On 17 Mrz., 15:18, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, I am having some problems correctly displaying currency. Here is

Stupid Question on Client side Session

2009-03-17 Thread joe young
I would like to store some data on client side so that it can be access easily everywhere on the client side code (at any level and any widget), data like what data source, application state (demo or production) Without GWT, usually I put it on session, however now the session access is in

Re: Inheriting an external java project which has references to external jar files

2009-03-17 Thread levi.bracken
You're right that the problem is GWT won't be able to compile the files having xstream references. Remember GWT converts parts of your application from Java to JavaScript. If you use the GWT standard packaging conventions then everything in the 'client' folder is restricted to the GWT JRE

Re: Stupid Question on Client side Session

2009-03-17 Thread Lothar Kimmeringer
joe young schrieb: So what is the best suggestion to store those data, is there something like session in client side? You can define variables static. This has some effects in hosted mode if you open more than one window but should work in a browser. Regards, Lothar

Re: Inheriting an external java project which has references to external jar files

2009-03-17 Thread erincarikan
Thanks Levi. That's what I though it would be. Java Javascript conversion won't allow that to happen. I wanted to use xstream to create xml files from objects in a quick and automated way. I was hoping for a case like this: User clicks a button, through the rpc, a xml file is created from the

Re: Stupid Question on Client side Session

2009-03-17 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Or you could make them non-static member fields of your EntryPoint class. You can think of there being an instance of that class around for as long as your app is open in a browser window or tab. We use that approach in our app here. (Static

Re: multiselect country polygons

2009-03-17 Thread artonice
Ah yes, I saw that but now I see there are a lot more examples i missed. sorry. It seems that I can use KML/GeoRSS Overlays to do what I want. I'll dive into it, thanks! On Mar 17, 6:05 pm, Eric Ayers zun...@google.com wrote: Hello, Are you using the gwt-google-apis project for running Google

Re: How i found the real name of a obfuscated function? How i find the code lines?

2009-03-17 Thread Marcelo Emanoel B. Diniz
You can disable obfuscation by putting -style PRETTY on the compiler command line On Mar 17, 3:06 pm, MN nietz...@gmail.com wrote: I have a error message from a user. but i have only some obfuscated code for the stacktrace. is there a change to get the realnames method names from this? is

Re: Changing CSS dynamically in GWT code

2009-03-17 Thread Marcelo Emanoel B. Diniz
Can't you just change the style name? something like: include a all-in-one css: change the xpto-class-Style to xyzu-classStyle acording to the user role..? On Mar 17, 12:07 pm, Sush sush.r...@gmail.com wrote: Hi, First off my apologies, if this is the duplicate topic. I need to change

Re: NumberFormat getCurrenyFormat()

2009-03-17 Thread fatjack1...@googlemail.com
Ok, The reason I wasparsing it back in was to convert it from a String to an integer. I think I have fixed part of the problem. My code now looks like this: NumberFormat fmt = NumberFormat.getCurrencyFormat(); String formatted = fmt.format(discountAmount); discountAmount =

extends Composite VS extends DecoratorPanel

2009-03-17 Thread Moe48
I have been extending different panels to contain features of my app. I was told the other day that I should always use Composites. So what are the advantages to extending Composite VS just extending the class that I would initWidget() with? --~--~-~--~~~---~--~~

Re: extends Composite VS extends DecoratorPanel

2009-03-17 Thread Jason Essington
Composite allows you to hide the implementation details of the underlying panel (or other Widget)... For instance if you are creating some widget that has 3 columns of stuff, and are going to use a horizontal panel to be the ultimate parent of the stuff, you wouldn't want to extend

Returning Nested ArrayLists from RPC

2009-03-17 Thread erincarikan
Hi; Here's the situation: My Rpc prepares ArrayListA. A implements Isserializable interface and it contains some fields and an arraylistB field. B implements Isserializable interface and it contains some fields and an arraylistC field. C implements Isserializable interface and has primitive

Project class structure

2009-03-17 Thread Moe48
In my GWT project I create modular panels by just extending the panel. In a meeting the other day a coworker of mine told me to do everything as Composites. I am trying to see the advantages for extending Composite instead of just extending the widget with which I would initWidget() the

Re: extends Composite VS extends DecoratorPanel

2009-03-17 Thread Moe48
Why wouldn't I want people to message the panel into how they want it? On Mar 17, 3:16 pm, Jason Essington jason.essing...@gmail.com wrote: Composite allows you to hide the implementation details of the   underlying panel (or other Widget)... For instance if you are creating some widget that

Re: extends Composite VS extends DecoratorPanel

2009-03-17 Thread Jason Essington
In many cases it is not appropriate to expose the entire API of the underlying widget, so a Composite is used. If you don't want consumers calling certain methods of the underlying (extended) widget then use a composite, if you really are just adding additional functionality to an existing

Re: Stupid Question on Client side Session

2009-03-17 Thread joe young
OOo, cool, that works for me~~ Thank you guys for your prompt reply =] On Mar 17, 3:47 pm, Clint Gilbert clint.gilb...@childrens.harvard.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Or you could make them non-static member fields of your EntryPoint class.   You can think

ResourceBundle for client??

2009-03-17 Thread joe young
Can client code able to use java.util.ResourceBundle? I have some information in a propertie file and I don't want to get it via RPC, is there an easy way to do it? Right now when I use java.util.ResourceBundle in client side code, it gives me this error~ [ERROR] Hint: Check the inheritance

.gwt-DecoratedTabPanel missing from standard CSS?

2009-03-17 Thread Wendy Busath
The Javadoc says .gwt-DecoratedTabPanel uses style .gwt- DecoratedTabPanel but I don't see that style in the standard CSS file anywhere. Does this contributed to the display problem on IE where the corners do not show up? Can someone explain to me how it works on any browser when the style seems

Cannot launch Google Web Toolkit Hosted Mode applications in Vista

2009-03-17 Thread Rohit Patnaik
When I try to launch Google Web Toolkit hosted mode applications on Windows Vista, I get the following error: [WARN] Failed to write: C:\Windows\system32\tomcat\webapps\ROOT\WEB-INF \web.xml java.io.FileNotFoundException: C:\Windows\system32\tomcat\webapps\ROOT \WEB-INF\web.xml (The system

Re: Cannot launch Google Web Toolkit Hosted Mode applications in Vista

2009-03-17 Thread Rohit Patnaik
I fixed my own problem. Okay, it seems that you're not supposed to launch the projectname-shell.cmd from within Eclipse. To launch the project from within eclipse, use the Run button, or launch the shell manually from a shell. On Tue, Mar 17, 2009 at 8:12 PM, Rohit Patnaik quanti...@gmail.com

FastTree Demo Question

2009-03-17 Thread Jimmy Su
From the FastTree demo below, when a node is selected, the background color becomes blue. http://collectionofdemos.appspot.com/demo/com.google.gwt.demos.fasttree.FastTreeDemo/FastTreeDemo.html My project requirement dictates that I need the background color to go all the way to the left

[gwt-contrib] Re: Make DisclosurePanelImagesRTL public

2009-03-17 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/12807 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Make MenuBar#selectItem public

2009-03-17 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/13801 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

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

2009-03-17 Thread codesite-noreply
Comment by inventoriffic: This looks amazing. For more information: http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit commit] r5026 - Fix checkstyle error.

2009-03-17 Thread codesite-noreply
Author: j...@google.com Date: Tue Mar 17 07:45:09 2009 New Revision: 5026 Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/JJSOptionsImpl.java Log: Fix checkstyle error. Patch by: jat Review by: spoon (TBR) Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/JJSOptionsImpl.java

[gwt-contrib] [google-web-toolkit commit] r5027 - Makes DiscloserPanelImagesRTL public, to allow apps to include it in bigger bundles.

2009-03-17 Thread codesite-noreply
Author: rj...@google.com Date: Tue Mar 17 08:17:42 2009 New Revision: 5027 Added: trunk/user/src/com/google/gwt/user/client/ui/DisclosurePanelImagesRTL.java Modified: trunk/user/src/com/google/gwt/user/client/ui/DisclosurePanelImages.java

[gwt-contrib] small code review requested - remove deprecation warnings in DOMImplMozillaOld

2009-03-17 Thread John Tamplin
The attached patch, relative to trunk r5025, removes deprecation warnings. -- John A. Tamplin Software Engineer (GWT), Google --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] code review requested -- remove PlatformSpecific (one less OOPHM overlay class)

2009-03-17 Thread John Tamplin
The attached patch, relative to trunk r5025, removes PlatformSpecific by moving the pieces of functionality into CheckForUpdates or SwtHostedModeBase -- this gets one fewer class we have to maintain an OOPHM overlay class for. This is split out from the previous patch. -- John A. Tamplin

[gwt-contrib] Re: code review requested -- remove PlatformSpecific (one less OOPHM overlay class)

2009-03-17 Thread Scott Blum
Assuming you copy/pasted the relevant code sections correctly (I didn't diff all that stuff pedantically) this LGTM. On Tue, Mar 17, 2009 at 12:25 PM, John Tamplin j...@google.com wrote: The attached patch, relative to trunk r5025, removes PlatformSpecific by moving the pieces of functionality

[gwt-contrib] Re: small code review requested - remove deprecation warnings in DOMImplMozillaOld

2009-03-17 Thread Joel Webber
LGTM. 2009/3/17 John Tamplin j...@google.com The attached patch, relative to trunk r5025, removes deprecation warnings. -- John A. Tamplin Software Engineer (GWT), Google --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit commit] r5029 - Remove deprecation warnings from DOMImplMozillaOld.

2009-03-17 Thread codesite-noreply
Author: j...@google.com Date: Tue Mar 17 12:15:06 2009 New Revision: 5029 Modified: trunk/user/src/com/google/gwt/dom/client/DOMImplMozillaOld.java Log: Remove deprecation warnings from DOMImplMozillaOld. Patch by: jat Review by: jgw Modified:

[gwt-contrib] [google-web-toolkit commit] r5028 - Merge r1572 and 1573 from incubator that fixed an AST aliasing bug.

2009-03-17 Thread codesite-noreply
Author: b...@google.com Date: Tue Mar 17 11:59:31 2009 New Revision: 5028 Added: changes/bobv/clientbundle/user/src/com/google/gwt/resources/css/ast/CollapsedNode.java (contents, props changed)

[gwt-contrib] Quick code review: NativeEvent.getCurrentTarget() sometimes returns null on Safari 3

2009-03-17 Thread Joel Webber
Fred John, Would you guys mind having a quick look at this miniscule patch? It's very simple, so I just attached the diff inline. Background: Fred discovered some pretty odd behavior in his drag drop library against 1.6, and we tracked it down to a difference between Safari 3 4 (!). It turns

[gwt-contrib] Re: code review requested -- remove PlatformSpecific (one less OOPHM overlay class)

2009-03-17 Thread John Tamplin
On Tue, Mar 17, 2009 at 1:18 PM, Scott Blum sco...@google.com wrote: Assuming you copy/pasted the relevant code sections correctly (I didn't diff all that stuff pedantically) this LGTM. Thanks, committed at r5030. -- John A. Tamplin Software Engineer (GWT), Google

[gwt-contrib] [google-web-toolkit commit] r5030 - Remove PlatformSpecific, moving the functionality into SwtHostedModeBase or

2009-03-17 Thread codesite-noreply
Author: j...@google.com Date: Tue Mar 17 12:52:54 2009 New Revision: 5030 Removed: trunk/dev/core/src/com/google/gwt/dev/shell/PlatformSpecific.java trunk/dev/oophm/overlay/com/google/gwt/dev/shell/PlatformSpecific.java Modified: trunk/dev/core/src/com/google/gwt/dev/Compiler.java

[gwt-contrib] Re: Quick code review: NativeEvent.getCurrentTarget() sometimes returns null on Safari 3

2009-03-17 Thread Fred Sauer
Joel, The null problem is gone. However, with JOEL_PATCH = true, the event.getX/Y() coordinates are off when the document is scrolled. Launch the DragDropDemo with the window less that full size, scroll the document down a bit, then try dragging a red box. You'll notice that the box stays in place

[gwt-contrib] Re: -XdisableCastChecking

2009-03-17 Thread Scott Blum
Let me go ahead and commit this, but let's do discuss also eliding setCheck as well, which we could tack onto the same flag separately. On Tue, Mar 17, 2009 at 2:35 PM, Ray Cromwell cromwell...@gmail.com wrote: Can we roll in a disablement of setCheck() as well, or is this going to be a

[gwt-contrib] [google-web-toolkit commit] r5032 - Adds an experimental flag, -XdisableCastChecking which turns off runtime cast checks in c...

2009-03-17 Thread codesite-noreply
Author: sco...@google.com Date: Tue Mar 17 14:05:14 2009 New Revision: 5032 Added: trunk/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerDisableCastChecking.java (contents, props changed) trunk/dev/core/src/com/google/gwt/dev/util/arg/OptionDisableCastChecking.java

[gwt-contrib] Fixing MouseEvent.getX/Y() once and for all. No, really this time.

2009-03-17 Thread jgw
Reviewers: jlabanca, fredsa, Description: See recent GWTC thread on the subject. Please review this at http://gwt-code-reviews.appspot.com/13803 Affected files: user/src/com/google/gwt/dom/client/DOMImplSafari.java user/src/com/google/gwt/event/dom/client/DomEvent.java

[gwt-contrib] MapWidget being final

2009-03-17 Thread Alexandre Walter Pretyman
Hello all, Is there a special reason for MapWidget to be final? I find it useful to extend it so I can reach my specialization inside a click listener for example, though the MapClickEvent.getSender() method. I ask because I don't like the idea of changing the source of the API when the whole

[gwt-contrib] [google-web-toolkit commit] r5033 - Very minor spelling/capitalization tweaks

2009-03-17 Thread codesite-noreply
Author: br...@google.com Date: Tue Mar 17 14:58:02 2009 New Revision: 5033 Modified: releases/1.6/user/src/com/google/gwt/user/tools/README.txtsrc releases/1.6/user/src/com/google/gwt/user/tools/RpcClientTemplate.javasrc Log: Very minor spelling/capitalization tweaks Modified:

[gwt-contrib] Re: Quick code review: NativeEvent.getCurrentTarget() sometimes returns null on Safari 3

2009-03-17 Thread Fred Sauer
Joel, I did a quick test in Safari 3 on Mac and things appear to work well, including scroll. I haven't tested all platforms, so I'm assuming for the moment they work and that both scroll and zoom are non-breaking features :) Thanks for digging that deep deep rabbit hole. Fred On Tue, Mar 17,

[gwt-contrib] Re: MapWidget being final

2009-03-17 Thread Eric Ayers
Followups to gwt-google-a...@googlegroups.com. On Tue, Mar 17, 2009 at 5:58 PM, Alexandre Walter Pretyman alexandre.prety...@gmail.com wrote: Hello all, Is there a special reason for MapWidget to be final? I find it useful to extend it so I can reach my specialization inside a click

[gwt-contrib] Re: code review requested - add OOPHM support for HostedMode

2009-03-17 Thread Scott Blum
Looks good, with suggestions. Attached is what I meant when I was talking about subclassing HostedModeBase.BrowserWidgetHostImpl. This should remove some duplicate code. This also brings HostedMode in OOPHM up to the present. Apply my patch on top of yours. On Tue, Mar 17, 2009 at 6:14 PM,

[gwt-contrib] Re: Fixing MouseEvent.getX/Y() once and for all. No, really this time.

2009-03-17 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/13803 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Fixing MouseEvent.getX/Y() once and for all. No, really this time.

2009-03-17 Thread John LaBanca
committed as r5035 Thanks, John LaBanca jlaba...@google.com 2009/3/17 jlaba...@google.com LGTM http://gwt-code-reviews.appspot.com/13803 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: code review requested - add OOPHM support for HostedMode

2009-03-17 Thread John Tamplin
On Tue, Mar 17, 2009 at 8:38 PM, Scott Blum sco...@google.com wrote: Looks good, with suggestions. Attached is what I meant when I was talking about subclassing HostedModeBase.BrowserWidgetHostImpl. This should remove some duplicate code. This also brings HostedMode in OOPHM up to the

[gwt-contrib] [google-web-toolkit commit] r5035 - Fixes a bug where MouseEvent.getX/Y() returns the incorrect value when the event is captu...

2009-03-17 Thread codesite-noreply
Author: jlaba...@google.com Date: Tue Mar 17 18:06:16 2009 New Revision: 5035 Modified: releases/1.6/user/src/com/google/gwt/dom/client/DOMImplSafari.java releases/1.6/user/src/com/google/gwt/event/dom/client/DomEvent.java

[gwt-contrib] Re: code review requested - add OOPHM support for HostedMode

2009-03-17 Thread Scott Blum
I tried the launch config, but I don't have a plugin installed so I didn't actually run it. I'd say go ahead and commit and add more launch configs later. I agree the BrowserWidgetHost interface is temporarily ugly, but at least it's straightforward, and we'll remove them eventually. On Tue, Mar

[gwt-contrib] Please expose moveSelectionUp/Down methods in FastTree

2009-03-17 Thread Cameron Braid
in gwt incubator's FastTree, moveSelectionUp and moveSelectionDown are both private. Please either make these methods protected, so that I can subclass FastTree and make my own public api to call them, or provide a public API to controll navigation. It coudld be as simple as adding these two

[gwt-contrib] Re: code review requested - add OOPHM support for HostedMode

2009-03-17 Thread John Tamplin
On Tue, Mar 17, 2009 at 9:57 PM, Scott Blum sco...@google.com wrote: I tried the launch config, but I don't have a plugin installed so I didn't actually run it. I'd say go ahead and commit and add more launch configs later. Thanks, committed to trunk as r5036. -- John A. Tamplin Software

[gwt-contrib] [google-web-toolkit commit] r5037 - Delete empty file leftover after patch, add missing overrides from r5036.

2009-03-17 Thread codesite-noreply
Author: j...@google.com Date: Tue Mar 17 22:19:39 2009 New Revision: 5037 Removed: trunk/dev/oophm/overlay/com/google/gwt/dev/shell/BrowserWidgetHost.java Modified: trunk/dev/oophm/overlay/com/google/gwt/dev/HostedMode.java