Garbled InfoWindows in gwt-maps

2008-09-30 Thread Alberto Núñez
Since the upgrade to the 1.0.0 version of gwt-maps, I cannot see the InfoWindows properly. They are messed up, displaying the complete resource background image behind the text. For example, the InfoWindow shadow is shown as this image: http://maps.google.com/intl/es_ALL/mapfiles/iws2.png Is

Re: Safe to make *ServiceAsync a singleton?

2008-09-30 Thread Lothar Kimmeringer
hezjing schrieb: I have many service creation (like the following code) in my GWT application, XxxxServiceAsync Service = GWT.create(XxxxrService.class); Is it safe to make all XxxxServiceAsync a singleton? It's common practice. There are already IDEs that do that for you

Calendar button

2008-09-30 Thread Romain
Hello all, I searched in gwt API if there was a calendar button to allow selecting a date from a calendar in form. But I didn't find it. Anybody can tell me if such button exist? Thanks in advance, Romain --~--~-~--~~~---~--~~ You received this message because

Re: RichTextToolbar

2008-09-30 Thread ivan
+1 even for me On 19 Set, 12:27, Martin Trummer [EMAIL PROTECTED] wrote: +1 from me On Sep 19, 4:52 am, Michael Neale [EMAIL PROTECTED] wrote: Is there any reason why RichTextToolbar is not including as part of GWT but is only as a sample ? (in the Showcase project)? Shouldn't this

DialogBox in top window?

2008-09-30 Thread Nick
I'm currently integrating GWT into an already existing application. The errors for this application are caught by a default handler in the specific frame they occur. I am currently dynamically populating a dialogBox using this handler. Unfortunately, the dialog box is limited to the current

Issues with dynamic binding

2008-09-30 Thread Madhu
Strange issue. I am trying to use dynamic binding in my application. I have set the meta property in my html file under head /head meta name='gwt:property' content='customProvision=NetworkProf'' I have the following entries in my .gwt.xml b/w replace-with / replace-with any

Enabling text selection on particular widget

2008-09-30 Thread Charan
I have disabled the default mouseEvents of browser by using the following code DOM.addEventPreview(new EventPreview() { public boolean onEventPreview(Event event) { switch (DOM.eventGetType(event))

Seems like there is a conflict in the tutorial docs

2008-09-30 Thread Peter Recore
I have been working my way through some of the getting started docs, and found what I think is a conflict on the page: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStartedJSON First we have this paragraph: However, because eval() can execute any JavaScript code (not just JSON

Enabling text selection on particular widget

2008-09-30 Thread Charan
hi, I have disabled the default mouseEvents of browser by using the following code DOM.addEventPreview(new EventPreview() { public boolean onEventPreview(Event event) { switch

RichTextToolbar ...great!

2008-09-30 Thread ivan
+1 for me! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Gwt with php

2008-09-30 Thread John
On 9/29/08, stymie [EMAIL PROTECTED] wrote: Hi, I cannot figure out how to get gwt working with php on the server side. I can describe my setup, if it helps. First, I have Xampp (linux, but Windows would be the same) set up on my computer, and apache is configured so that

Re: linkable resources, caching, xslt xhtml generation with embedded js

2008-09-30 Thread Lawrence
Walden, What you say is quite true. Transformation/XSLT is not ideal. However, our system is all written in C++ and generates XML. I can't change that. I can't put java on the server and I'm not sure it would make any sense. So basically no RPC, no serialization of objects .. i'm stuck with xml.

Problem in running GWT-EXT

2008-09-30 Thread vimalp015
Hi, Am facing few problems with my gwt-ext application. Its a simple tree more or less very similar to one in showcase checkbox tree. I have done all the things, even I got the desired output, but wen I compile/browse and I take the output, the HTML output runs fine on:

Re: How to call applet in gwt

2008-09-30 Thread Lothar Kimmeringer
Hello ... whoever, ship schrieb: I am using gwt in a application in which when i click on a button, then an applet will be called. How can i call a simple java applet in my gwt app??? Pl help me! first of all, your keyboard needs a repair, it repeats ! and ? all the time. What

onBrowserEvent override of Tree

2008-09-30 Thread ArunDhaJ
Hi, I'm overriding the onBrowserEvent event of Tree for capturing mouse right click, for generating context menu. How to get the Tree Item which has been right clicked in onBrowserEvent? else is there any way to capture right click event of TreeItem? Thanks in Advance -ArunDhaJ

Enable Text Selection on HTML widget while browser default events are prevented

2008-09-30 Thread Charan
hi, I have disabled the default mouseEvents of browser by using the following code DOM.addEventPreview(new EventPreview() { public boolean onEventPreview(Event event) { switch

Re: Background color for DecoratedTabPanel

2008-09-30 Thread Shri
Thanks but it didnt work for .gwt-DecoratedTabBar also. On Sep 29, 10:28 am, Ian Bambury [EMAIL PROTECTED] wrote: .gwt-DecoratedTab*Bar* .gwt-TabBarItem  {   background:#FF0; } Ian http://examples.roughian.com 2008/9/29 Shri [EMAIL PROTECTED] Hi, I am not able to change the

Re: GWT and servlet session

2008-09-30 Thread walden
Sim123, I don't think you mentioned whether you are using the regular Hosted Mode or the -noserver variant of that. To test ServletFilter behavior, you will have to go with -noserver, or else test in a web mode environment. That's the first thing. Second, you are making assumptions about how

Re: FocusPanel not allowing focus on nested text fields

2008-09-30 Thread walden
Michael, I suspect you have not built your composite correctly. Please post your composite code here. Walden On Sep 29, 10:41 pm, Michael Neale [EMAIL PROTECTED] wrote: I am just trying to detect that the user has clicked on ANYTHING within the FP. I just capture an event that they clicked

Re: I18n in GWT1.5 sufficiently mature?

2008-09-30 Thread jbdhl
Yes, the problem is about sufficient tools to provide appropriate information for the translators, but indirectly also about GWTs use of conventional java property files and their lack of support for meta data. I filed an issue about the need for better translator tools here:

Re: Combobox Display problem

2008-09-30 Thread walden
Mark, I'm not sure about your ComboBox. That's a Gwt-Ext widget, something whose internal structure I'm not familiar with, and for support with that you ought to consult the right group. However, I can clear up a CSS misunderstanding for you. The 'dot' at the beginning of a CSS selector means

ANNOUNCE: HtmlUnit 2.3 now supports GWT 1.5

2008-09-30 Thread Ahmed Ashour
Dear all, It is a pleasure to announce that HtmlUnit 2.3 is released, and GWT support is one of its main points. The other additions: - Better generics: which eliminates casting for the most commonly used 'get' methods. - Add Firefox 3 support, and making Internet Explorer 7 the default

Re: Garbled InfoWindows in gwt-maps

2008-09-30 Thread Eric Ayers
Hello Alberto, I've not heard of this before. Can you send a small code sample that reproduces the issue along with the necessary resources? -Eric. On Tue, Sep 30, 2008 at 3:13 AM, Alberto Núñez [EMAIL PROTECTED] wrote: Since the upgrade to the 1.0.0 version of gwt-maps, I cannot see the

Re: Enabling text selection on particular widget

2008-09-30 Thread Charan
hi can anyone help me in this it should only highlight / text selection only on HTML widget only On Sep 29, 8:16 pm, Charan [EMAIL PROTECTED] wrote: hi, I have disabled the default mouseEvents of browser by using the following code DOM.addEventPreview(new EventPreview()                 {  

Re: Delaying a loop.

2008-09-30 Thread sutarsa giri
Hi Peter, i think you should change your callback method, so server 2 restart request invoke after server1 restart command complete(onSuccess or onFailure invoked by call back) -gede- On Mon, Sep 29, 2008 at 10:49 PM, Peter D. [EMAIL PROTECTED] wrote: I've read a few posts on here on how to

Re: Delaying a loop.

2008-09-30 Thread Thomas Broyer
On 29 sep, 17:49, Peter D. [EMAIL PROTECTED] wrote: I've read a few posts on here on how to delay loops and such using Timers but I am unsure if they fit with my particular needs. I am writing a feature for a GWT app I inherited that controls application server states. (e.g.

Re: common stuff

2008-09-30 Thread walden
In my project, I have my own data proxy class that behaves pretty much like what you describe. It's a singleton that proxies all requests to the actual RPC (generated) proxy. It is the layer into which I make all RPC calls. It performs caching and notification for certain data queries. It

Re: My googlebot approach for GWT: UserBotRouter

2008-09-30 Thread jdwyah
Hey John, From what I can tell, you need to be careful with that approach (although it's pretty darn cool). Google get's very nervous when it finds out that the googlebot is going one place but users are going another since this is something that evil, spam-y websites do. It's tough to get a

Re: linkable resources, caching, xslt xhtml generation with embedded js

2008-09-30 Thread walden
Hi Lawrence, That's life I guess. You still have some options, though. For instance, what if you create an alternate set of transforms that output JSON, and again just concentrate on outputting application data, not HTML elements. Then you can do RequestBuilder requests from your client to

Standard themes not crossbrowser?

2008-09-30 Thread mattscape
I've written a small GWT application using a standard theme. After testing my site in IE6 I was rather surprised that the site is looking so different in IE6. If you for example compare http://gwt.google.com/samples/Showcase/Showcase.html#CwBasicButton in IE6 and Firefox 3.0 you get two

Re: onBrowserEvent override of Tree

2008-09-30 Thread gaurava
Attach a listener to the tree and select the event as treeEventObj's right click. But it will work only with jdk 1.5 and not jdk 1.6. Create a Menu inside the isRightClick condition,and attach the menu to the tree as context menu. Please see the sample code below:- tree.addListener(

Re: linkable resources, caching, xslt xhtml generation with embedded js

2008-09-30 Thread Lawrence
Oh, I agree completely. You got to invest time if you want it to be done *right*. We really want to offload any transformation on the client side, such as xml - xhtml or xml - json. However I see how we would be better off controlling the UI via GWT rather than generating it, so I believe I'm

Re: Integration testing ImageBundles

2008-09-30 Thread Thomas Broyer
On 29 sep, 18:25, mfuzzey [EMAIL PROTECTED] wrote: Hi; I'm trying to integration test a GWT application using ImageBundle with WebDriver. At one point I have images that represent various states of an object and I need to check the correct image is being displayed. However due to the use

Re: Random elem is null errors on Firefox 3

2008-09-30 Thread Sumit Chandel
Hi Steve, Could you link the thread or issue report you've started to report the problem back to the folks at Mozilla? It would be interesting to track the issue, especially for other community members who might run into the same problem. From the snippet of code you've traced down, it seems like

Re: My googlebot approach for GWT: UserBotRouter

2008-09-30 Thread Junyang
Creative idea. One big note of caution. This technique of showing a different page to the search engine bot from one that is seen by a normal user is often considered as black hat SEO and can get your site banned. Secondly, using user-agent to detect search engine is unreliable. I do not want

Re: common stuff

2008-09-30 Thread sumanth s
Hi walden thanks for ur reply. Your are saying It is the layer into which you make all RPC calls.so what you are saying is every RPC call from client class will go first to this so called proxy class before calling implementation class..is it right? How did u do that?How can u call a common

Integration testing ImageBundles

2008-09-30 Thread mfuzzey
Hi; I'm trying to integration test a GWT application using ImageBundle with WebDriver. At one point I have images that represent various states of an object and I need to check the correct image is being displayed. However due to the use of ImageBundle the browser is actually seeing something

Upload XML file

2008-09-30 Thread Stefano Cristiani
I'm trying to upload an XML file on the server to get back the string of the file content to parse on the client side, but it seem that the server side code that you suggested doesen't work properly. This is my code :

GTW tutorial - a minor inaccurateness?

2008-09-30 Thread Jaroslav Záruba
Couple of times there is the instruction browse to the StockWatcher (and run some GWT command), I believe it is misleading. In the scenario the StockWatcher folder is placed under GWT install- dir so obviously the commands can not be resolved (without using some path-prefix or adjusting the

Re: common stuff

2008-09-30 Thread walden
rty, google 'singleton pattern'. if it's not that, then i don't understand what you are missing. walden On Sep 30, 10:06 am, sumanth s [EMAIL PROTECTED] wrote: Hi walden thanks for ur reply. Your are saying  It is the layer into which you make all RPC calls.so what you are saying is every

Re: onBrowserEvent override of Tree

2008-09-30 Thread ArunDhaJ
Hi, I'm using GWT 1.4.62. Is this code applicable to this? -ArunDhaJ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com

GWT Menu Active Item Hightlighted

2008-09-30 Thread karmela
Hi all, Hope someone can help me with this. I want to have the active menu item to be highlighted. Basically when an item gets selected and goes to a page, i want that link (menu item) to be in a different color. Is that possible to do with GWT? Thanks!

Re: SEO for web toolkit

2008-09-30 Thread jdwyah
Hey Flockton, You might check out the SEO for GWT approach outlined in the free chapter of my book, posted here: http://www.infoq.com/articles/progwt It pipes GWT serialization into the page itself and then puts code in noscript blocks as well. -jeff On Sep 26, 4:04 am, MN [EMAIL PROTECTED]

Re: Delaying a loop.

2008-09-30 Thread Peter D.
This makes a lot of sense thank you. But I am still unsure about how to create a delay. If I were to create a command with a Timer in it would it cause a delay in calling the next command in the queue? On Sep 30, 8:33 am, Thomas Broyer [EMAIL PROTECTED] wrote: On 29 sep, 17:49, Peter D. [EMAIL

Re: Safe to make *ServiceAsync a singleton?

2008-09-30 Thread obesga
In which fashion you mean safe ? If it is about internet security, it doesn't hurt or make good - the code will de downloaded by the client across the net and he can look at it. If it is about safe threading, f.e. to avoid two rpc calls at same time, the caveats must be resolved by your code

RPC Across Modules

2008-09-30 Thread [EMAIL PROTECTED]
Hi, I have a fairly large gwt that is using a large number of libraries. To ensure there are no unwanted dependencies i am trying to split my project into 3 modules client (everything ui related), server (server processing related) and rpc (All my bussiness objects). both client and server

GWT Help

2008-09-30 Thread vanitha saran
Hi all, i have a question. i am trying to building a registration page with Name and address(as an example). i have to store the data to a database. i am MYSQL database. how do i coneect database from GWT-eclipse platform. clearly 1.Name and address widgets are created using GWT. 2. data

Bug - GWT1.1.0 - Loading Jar file modules generated from Eclipse

2008-09-30 Thread Kristal
My problem the same as aglaforge's, and I am still working on it. So I find this discussion very interesting. I have a GWT module, say MyGWT. I also have a java class, say org.Foo, packaged in a jar file, say foo.jar. foo.jar contains the source files, and Foo is Serializable. after specifying

Re: Severe performance problem after upgrading to GWT 1.5.2 (final)

2008-09-30 Thread Manuel
Has anyone figgured this out. I am having sever performance problems with this. accross the board all 1.5.2 compiled apps are a lot slower On Sep 18, 4:59 am, hbatista [EMAIL PROTECTED] wrote: Thanks for the suggestion, but changing data types didn't help. I did not profile my code, but the

Re: IE8

2008-09-30 Thread Jamie
My condolences on getting blocker bugs against a beta product... A brief use of IE8 seems to show that it has problems on virtually any website, until you swtich it to compatibility mode. On Sep 30, 1:00 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've searched around this group, the

JSONNumber getValue() and ints

2008-09-30 Thread seven.reeds
Hi I am using Eclipse 3.4.1, java 1.6.0_07, gwt 1.5.2 under linux. I have a JSON object that contains an integer value. I am trying the following to get it: int rowCount = index.Info.get(RowCount).isNumber().getValue().intValue(); Eclipse tells me the getValue() for JSONNumber is depreciated

RE: JSONNumber getValue() and ints

2008-09-30 Thread Perelman Nathan (Nathan)
Use doubleValue() and then cast to int. All JavaScript numbers (and therefore all JSONNumbers) are really doubles. -Original Message- From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of seven.reeds Sent: Tuesday, September 30, 2008 16:43 To: Google Web

Re: JSONNumber getValue() and ints

2008-09-30 Thread Alex Rice
A very good question, because there is a doubleValue() but no intValue() ... Hmm, On Sep 30, 2:43 pm, seven.reeds [EMAIL PROTECTED] wrote: Hi I am using Eclipse 3.4.1, java 1.6.0_07, gwt 1.5.2 under linux. I have a JSON object that contains an integer value.  I am trying the following to

Re: JSONNumber getValue() and ints

2008-09-30 Thread Alex Rice
Got it! thanks On Sep 30, 2:52 pm, Perelman Nathan (Nathan) [EMAIL PROTECTED] wrote: Use doubleValue() and then cast to int. All JavaScript numbers (and therefore all JSONNumbers) are really doubles. --~--~-~--~~~---~--~~ You received this message because you

Re: RPC Across Modules

2008-09-30 Thread xavierunited
Can u tell me what the rcp folder is for i am lost. On 09/30/2008, Jamie [EMAIL PROTECTED] wrote: In your module.gwt.xml, you need to add the rpc folder as a source. client is automatically added for you. module source path=client / source path=rpc / /module When building

Re: My googlebot approach for GWT: UserBotRouter

2008-09-30 Thread John Fowler
Jeff, Thanks for the warning. I think your warning is significant enough to dissuade me from trying my way. I'll have to think of another, or buy your book... I took a quick look at your book in Amazon, and it looks comprehensive and well written. john... On Sep 30, 7:49 am, jdwyah [EMAIL

Re: RPC Across Modules

2008-09-30 Thread gregor
Hi Steve, It's certainly possible to divide things up into separate modules. I think you need to give us more info to help. For starters, when and where are you getting the ClassNotFound exceptions? During compilation when you try to run the application in hosted mode? What is the stack trace?

How to disable The hyperlink

2008-09-30 Thread [EMAIL PROTECTED]
Hi all, In my application we have some hyperlinks. The hyperlink should disable from number of clicks on the same hyperlink. So how can i disable a hyperlink. Thanks In Advance :) --~--~-~--~~~---~--~~ You received this message because you

GlassPanel bug: has anyone else encountered this

2008-09-30 Thread rusty
http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=152 I've been trying to work around it, but have given up. Has anyone else had this issue with the GlassPanel from the gwt incubator? --~--~-~--~~~---~--~~ You received this message because you

[gwt-contrib] RR: make PopupPanels stay on the screen, even in RTL situations

2008-09-30 Thread Alex Rudnick
Hey Rajeev, Would you review this patch for PopupPanel? It's a cleaned up version of what we did yesterday. This fixes the odd behavior we noticed where Popup Panels could not be placed near the right edge of the screen on IE, and normalizes popups in RTL and LTR modes, so they can't be dragged

[gwt-contrib] code review requested, shard TypeSerializerCreator createMethodMap

2008-09-30 Thread John Tamplin
[fix bad GWTC address] Please review the attached patch for trunk, which fixes a hosted mode crash with a large set of serializable types. On Linux hosted mode, a very large list of serializable types can cause a crash inside Mozilla. This appears to be related to the size of the JSNI function

[gwt-contrib] Re: code review requested, shard TypeSerializerCreator createMethodMap

2008-09-30 Thread Freeland Abbott
Mostly LGTM. The only (marginally) substantive complaint is that it may make sense to rework the property parsing around lines 285-293 so that it's done once, statically, rather than re-parsing the String-int conversion for every TypeSerializer we create, especially if (as I suggest as a nit) you

[gwt-contrib] Re: code review requested, shard TypeSerializerCreator createMethodMap

2008-09-30 Thread Freeland Abbott
On Tue, Sep 30, 2008 at 4:27 PM, John Tamplin [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2008 at 3:49 PM, Freeland Abbott [EMAIL PROTECTED] wrote: Mostly LGTM. The only (marginally) substantive complaint is that it may make sense to rework the property parsing around lines 285-293 so that

[gwt-contrib] Re: code review requested, shard TypeSerializerCreator createMethodMap

2008-09-30 Thread John Tamplin
On Tue, Sep 30, 2008 at 4:51 PM, Freeland Abbott [EMAIL PROTECTED] wrote: But, again, it's a nit: my way saves at most ~10b of code size and could gain or lose a few miliseconds in execution time depending on whether branch prediction in the JVM is so far below bytecode interpretation that

[gwt-contrib] Re: RR: Hosted mode accepts 'undefined' or 'null' for boolean primitive type

2008-09-30 Thread Eric Ayers
Thanks Scott - I'm glad you were following the thread! On Sat, Sep 27, 2008 at 2:20 AM, Scott Blum [EMAIL PROTECTED] wrote: On Fri, Sep 26, 2008 at 11:37 AM, Eric Ayers [EMAIL PROTECTED] wrote: (arg2 == null ? false : arg2) Use the !! coerce-to-boolean idiom instead. -- Eric Z.

[gwt-contrib] Re: DatePicker review

2008-09-30 Thread Emily Crutcher
Something like this? protected void refreshAll() { getDatePicker().refresh(); } Yep, and baring unexpected events, all the changes should be committed into incubator trunk tomorrow. Thanks for your help in pounding on it! On Mon, Sep 29, 2008 at 5:18 PM, Isaac Truett [EMAIL

[gwt-contrib] Re: code review requested, shard TypeSerializerCreator createMethodMap

2008-09-30 Thread Freeland Abbott
LGTM On Tue, Sep 30, 2008 at 5:26 PM, John Tamplin [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2008 at 4:51 PM, Freeland Abbott [EMAIL PROTECTED] wrote: But, again, it's a nit: my way saves at most ~10b of code size and could gain or lose a few miliseconds in execution time depending on