HELP NEEDED!!!!!

2009-01-05 Thread rsoto
Hi I have a piece of code but at run time is giving me this error: Exception in thread main java.lang.ExceptionInInitializerError at com.google.gwt.maps.client.geocode.DirectionQueryOptions.init (DirectionQueryOptions.java:62) at

Re: HELP NEEDED!!!!!

2009-01-05 Thread rsoto
Hi Lothar, First of all I apologize for the behavior it is my first time using any type of blog or forum. On the other hand what I am trying to achieve is to get route directions, travel time and route points from point A to point B. Thank you, rsoto On Jan 5, 9:31 am, Lothar Kimmeringer

Re: gwt-ext similar

2009-01-05 Thread mikedshaf...@gmail.com
Smart Client is the only other comprehensive UI library for GWT that I'm aware of. It is free and well done. As is Ext GWT, the well done part that is. On Jan 5, 6:24 am, asianCoolz jim.the...@gmail.com wrote: can anyone list any similar tool like gwt-ext ? from what i know this tool is not

exception not caught in a javascript constructor in IE

2009-01-05 Thread blissteria
Hi, I have a pb related to InternetExplorer and probably GWT (but I'm not convinced) since I have not managed to reproduce it outside of my gwt project. Let foo.js a javascript file containing: function MyObject(){ throw String Thrown; }; In my Module.gwt.xml I add the following line to

Re: IllegalStateException (onDetach) in Internet Explorer 6 and 7

2009-01-05 Thread Óscar Frías
We have found a fix to this problem. We were doing an RPC call before building all the UI. And just moving the RPC call to the end of the initialization routine has fixed the problem. Anyway, could there be a bug in the GWT code? I am asking because it is not clear to me if calling a RPC

Re: Gwtai: Problem to include the Gwtai jars in my Project

2009-01-05 Thread kilkenny
Hi Leif Sorry for the late response... Do you still have problems? If so, please post to the newly-made GwtAI- Google-Group = http://groups.google.com/group/gwtai Regards, Adrian On 7 Nov. 2008, 17:13, teremin l.westerm...@pearlpool.de wrote: Hello everyone, hope someone can help me here.

GWT

2009-01-05 Thread ALPER
Hello, i get this error when compile my web project on eclipse -style should be followed by one of OBF, PRETTY, or DETAILED Google Web Toolkit 1.5.3 GWTShell [-port port-number | auto] [-noserver] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logLevel level] [- gen dir] [-out

Re: Properties file: how to use several maps with the same key and different values?

2009-01-05 Thread Eric Ayers
I hope you've worked through this by now, but the problem you're seeing is because each property key needs to be unique. You need to name your properties differently, such as: EVENTTYPE_1 = concert EVENTTYPE_2 = parade CATEGORY_1 = entertainment CATEGORY_2 = sports CATEGORY_3 = arts

Re: Unable to read div element id from html into java using RootPanel.get(id)

2009-01-05 Thread Lothar Kimmeringer
ManishU schrieb: I checked all values for rootPanel variable as an HashMap, there is no key pair for stockList element. Is the HTML your browser is loading really the one you were changing? Maybe you load an old version of it leading to that effect. Add some static content to the page and

Re: I need help please

2009-01-05 Thread Lothar Kimmeringer
Loryto schrieb: I need to know how GWT can be implemented in the enterprise, the challenges, recommendations , guidelines and suggestions for developers in enterprises. The theme of my project is: GWT as a solution for Web 2.0 application development on the enterprises Your question sounds

Re: How do I make a pretty, easy to use button without making custom images for each one?

2009-01-05 Thread Chi H
I've had great success using the 'sliding doors' technique for buttons. Just google for the phrase - here is a good example of the css needed - http://www.jorkas.com/lab/css/rounded_button/index.html I basically just created my own 'MyButton' class which extends InlineHTML and populates it with

Re: How do I make a pretty, easy to use button without making custom images for each one?

2009-01-05 Thread lukehashj
If you are able to use .pngs with a full alpha channel in your project (IE6 does not support them without a work-around - google 'ie6 png') you can have great success using images. If you only have a few different background colors on your site, than create a rounded corner - fill in the area

I need help please

2009-01-05 Thread Loryto
Good night, I am a college student in Mexico and I need help for a school project, I've been studying GWT but I'm in a situation in which I can not move forward, and I need to know how GWT can be implemented in the enterprise, the challenges, recommendations , guidelines and suggestions for

how reset FileUpload?

2009-01-05 Thread fother
I need reset the FileUpload.. In my form when I submit the form I need clear all fields.. it's possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Panel not clearing?

2009-01-05 Thread olivier FRESSE
You should use an Image widget instead of setText. something like *Image image = new Image(); * *image.setUrl('http://www.vella-gulf.navy.mil/Site%20Images/under_construction.jpg;); * *// Use image.addLoadListener(...) to manage loading errors bioText.add(image); * regards, O. 2009/1/3

Re: Extra pixels above image when added to popup panel

2009-01-05 Thread olivier FRESSE
You can use a tool like firebug to analyze the generated DOM. Maybe it's a result of a CSS style. regards 2009/1/4 falcon_whiz sultan.yas...@gmail.com Hi all, I am using the lates release of gwt (gwt-windows-1.5.3). now the problem is that whenever I am adding an image to a popup panel the

Re: how reset FileUpload?

2009-01-05 Thread fother
I use private native void resetForm() /*-{ $doc.forms[0].reset(); }-*/; On 5 jan, 12:20, olivier FRESSE olivier.fre...@gmail.com wrote: it may depend of the way your form is built, but you can call reset() on the form object in javascript. This means that you need a

Re: Coverage tools for GWT/JUnit?

2009-01-05 Thread Arthur Kalmenson
There was a patch that was added recently to enable Emma reporting, I'm not sure if it's been committed yet. -- Arthur Kalmenson On Wed, Dec 31, 2008 at 7:46 AM, fker...@gmail.com fker...@gmail.com wrote: Hi! Has anybody experimented with coverage tools for GWT/Junit? I assume the

Re: Waiting on multiple RPC calls

2009-01-05 Thread stephen.sm...@paretopartners.com
This is the first iv heard of this kinda thing. Im doing alot of seperate rpc calls. could you give me an example of how to cache it please. currently im just doing: /** An rpc call. */ private void getData() { SignoffService.Server.getInstance().getData(new AsyncCallbackString() {

Why Google AdSense May Not Be Suitable For page content?

2009-01-05 Thread gayathri
Hi, I have developed a web site using GWT1.4.62. I want to show Google Adsense on it. now ads displayed. but ads not related to page content. Why Google AdSense May Not Be Suitable For page content? pls Guide me. cheers, Gayu --~--~-~--~~~---~--~~ You received

Re: How do I make a pretty, easy to use button without making custom images for each one?

2009-01-05 Thread jhulford
GWT 1.5+ has a nine box panel called DecoratorPanel. You can see it in action on the DialogBox. It shouldn't take much effort to create nice looking buttons using that. On Jan 2, 9:12 am, gregor greg.power...@googlemail.com wrote: Hi Anders, I looked into this a year or so ago. As I recall

Trouble with setting split position in CSS...

2009-01-05 Thread shaselai
I am trying to set the verticalSplitPane's split position in CSS but it doesn't seem to be working or maybe i am doing it wrong. Java: VerticalSplitPanel tempPanel = new VerticalSplitPanel(); tempPanel.addStyleName(gwt-VerticalSplitPanel); tempPanel.setTopWidget(VerticalPanelForTopSection);

Re: HELP NEEDED!!!!!

2009-01-05 Thread Lothar Kimmeringer
rsoto schrieb: Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create () is only usable in client code! It cannot be called, for example, from server code. public static void main(String args[]){ DirectionQueryOptions opts = new DirectionQueryOptions();

Re: exception not caught in a javascript constructor in IE

2009-01-05 Thread blissteria
Thanks for the really quick answer!!! I can modify the script I include but I'd rather not. The calls of throw are already wrapped in a function therefore your solution could be envisaged. There is another solution that works but I do not trully understand why. I wrap the call of new MyObject()

Google I/O 2009

2009-01-05 Thread Allen
I was wondering if there is going to be a Google I/O conference in May of 2009, as there was in May of 2008. My primary interest is GWT, as my company has developed an application using GWT, and would like to increase the number of developers on an ongoing project using GWT. If there is going

gwt-ext similar

2009-01-05 Thread asianCoolz
can anyone list any similar tool like gwt-ext ? from what i know this tool is not free. i found another call smartclient. how about others.. ? which one should i use? seem to me smartclient is free --~--~-~--~~~---~--~~ You received this message because you are

Re: Approach for paging large dataset

2009-01-05 Thread stephen.sm...@paretopartners.com
I used continuous pagination inside a scrollTable loading 10 rows at a time. I used the client to keep a state of what rows it currently had and simply requested more using rpc when approaching the bottom. I ahd issues with getting the possition of the scrollbar as scrollPanel didnt have a

Re: how reset FileUpload?

2009-01-05 Thread olivier FRESSE
it may depend of the way your form is built, but you can call reset() on the form object in javascript. This means that you need a JSNI call. A file input can be accessed in JS for security reason, but reseting the form will clear it. And all the inputs of the form... 2009/1/5 fother

Re: GWT and applets

2009-01-05 Thread kilkenny
Hi Dave The previous poster is right, you have to move the applet class outside of the client package. Concerning the hosted mode problem: the GWT Shell can not handle embedded things like Flash or Applets. To test your application you have to compile the code and run it in a browser. To easy

Benchmarking

2009-01-05 Thread szebeni
Hi all! This topic in the GWT's documentation is very short. I have tried the Benchmarking example with the console's scripts, but it works sometimes, and sometimes it doesn't. Otherwise with the simple GWTTestcase I don't have any problem. I have a question: After the benchmarking, in the xml

Re: HELP NEEDED!!!!!

2009-01-05 Thread Eric Ayers
The gwt-maps library is meant to be translated into JavaScript and run inside a browser when it is deployed. You cannot run the code by using a standard JVM and you cannot create a standalone Java application using this API. If you are indeed writing a web app, for testing, you can run it inside

Re: exception not caught in a javascript constructor in IE

2009-01-05 Thread Ian Petersen
On Mon, Jan 5, 2009 at 9:02 AM, blissteria blisste...@hotmail.com wrote: There is another solution that works but I do not trully understand why. I wrap the call of new MyObject() in a function defined in the foo.js file : function wrappingMyObjectConstructor() { try { return new

Re: Newbie Question on GWT/JSON

2009-01-05 Thread Reinier Zwitserloot
Whoops, forgot my footnote: [1] http://www.ietf.org/rfc/rfc4627.txt I don't know if that makes it official. I believe the official entity that vets mime types is IANA, but on their site I couldn't quickly get to an official list of recognized mime types. Still, if Doug Crockford says the type

Unable to read div element id from html into java using RootPanel.get(id)

2009-01-05 Thread ManishU
HTML --- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=content-type content=text/html; charset=UTF-8 titleStockWatcher/title script type=text/javascript language=javascript

Re: GWT project creation indefinetly creates folder recursively

2009-01-05 Thread Isaac Truett
Raj, What version of GWT are you using? Also, can you describe what you mean by unlimited recursive files in your project? Thanks, Isaac On Sat, Jan 3, 2009 at 3:09 AM, Raj raj...@gmail.com wrote: Hi, I'm trying to setup GWT in my machine and followed the steps given in the instruction

Re: Properties file: how to use several maps with the same key and different values?

2009-01-05 Thread Fred Janon
Thanks Eric. Fred On Mon, Jan 5, 2009 at 22:31, Eric Ayers zun...@google.com wrote: I hope you've worked through this by now, but the problem you're seeing is because each property key needs to be unique. You need to name your properties differently, such as: EVENTTYPE_1 = concert

gwt_module_id property

2009-01-05 Thread Braudes, Robert (Bob)
I ran into a problem with the integration of GWT and Gears, and was told to post it to this group rather than the Gears group. I have no problems running the SimpleGadget sample application directly on iGoogle, but when I try to run it out of Eclipse I get the stack trace: [ERROR] Failure to

Re: 1.6 : New event system

2009-01-05 Thread Adam T
Step3331, You should just download the 1.6 code from svn and look what is available to calm your nerves down. //Adam On 3 Jan, 19:32, step3...@yahoo.fr step3...@yahoo.fr wrote: I heard that the listener is deprecated in 1.6 (and removed in 2.0) and will be replaced by handler. So how to

can we have multiple directories in source path for module inheritance?

2009-01-05 Thread Smith
I have a module that inherits another module. The inherited module has module source path=mydir / /module placed in a directory called sample. It works for all sources inside mydir . Can I specify multiple source paths? I need source from mydir as well as current directory (sample) which

Re: can we have multiple directories in source path for module inheritance?

2009-01-05 Thread Smith
My specific question was if I can give . to the current directory or do they all have to be under subdirectories to be specified in source path=mydir / ? Can I give source path=mydir / source path=. / On Jan 5, 4:46 pm, Smith smitha.kang...@gmail.com wrote: I have a module that inherits

Re: exception not caught in a javascript constructor in IE

2009-01-05 Thread blissteria
I finally managed to reproduce this pb outside of gwt. It seems to be due to the fact the js is loaded inside an iframe (which is the case of the js generated by gwt). Here is a simple example to reproduce it. main.html html head script type=text/javascript function

Re: can we have multiple directories in source path for module inheritance?

2009-01-05 Thread blissteria
Hi, Here is an allowed example: source path=mydir / source path= / !-- no dot between the brackets -- but the first line is not useful as the second line will include mydir unless you specify any include and exclude rules but this is another topic. On 6 jan, 01:51, Smith

Re: can we have multiple directories in source path for module inheritance?

2009-01-05 Thread blissteria
*brackets = quotes ! On 6 jan, 06:02, blissteria blisste...@hotmail.com wrote: Hi, Here is an allowed example: source path=mydir / source path= / !-- no dot between the brackets -- but the first line is not useful as the second line will include mydir unless you specify any include

.gwt.xml not on your class path

2009-01-05 Thread Sandeep
Hi, I have created a GWT RPC application. It runs fine when i deploy it in sepetrate Tomcat and when i run it using .shell command. But when i try to run it using Run-Configuration of eclipse it gives me an error saying that [ERROR] Unable to find 'com/sandeep/transfer/ StringReverse.gwt.xml' on

Re: GWT hosted mode in infinity loop when debugging

2009-01-05 Thread tony,benbrahim
Had the same problem, in my case, the hang was 5 minutes of 50% CPU, since the project is barely started (3000 LOC) A full rebuild fixed the problem Tony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Setting Cookies in GWT

2009-01-05 Thread Venkat
Hi All, I am very new to GWT? I would like to know how to set and retrive cookies in GWT. Thanks Regards, Venkat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: form submit new window ... request getparameter not working???

2009-01-05 Thread Sam Wells
Try this . It worked for me form.setEncoding(FormPanel.ENCODING_URLENCODED);//ENCODING_MULTIPART); Thanks Sam On Dec 31 2008, 8:35 am, bharat.j...@gmail.com bharat.j...@gmail.com wrote: Hi,  I have a GWT form and Isubmitthe form to a spring controller. The formsubmitshould open in new

[gwt-contrib] Re: Code review request, Creating gen2 versions of Time and Date Spinner to use the new 1.6 datepicker and event system

2009-01-05 Thread dflorey
btw: Why is the datepicker in a separate package and why is this package not located under user/client/ui? It looks very strange to me that the datepicker package is currently on the same level as server, theme and tools... On 4 Jan., 18:37, dflorey daniel.flo...@gmail.com wrote: Hi Emily,

[gwt-contrib] Re: review request: add missing packages to javadoc

2009-01-05 Thread John Tamplin
On Mon, Jan 5, 2009 at 11:34 AM, Freeland Abbott gwt.team.fabb...@gmail.com wrote: I waffled around OOPHM, but decided I shouldn't add it yet. There isn't anything for OOPHM in user, so I am not sure what would be documented for it. -- John A. Tamplin Software Engineer (GWT), Google

[gwt-contrib] Re: review request: add missing packages to javadoc

2009-01-05 Thread Emily Crutcher
Can we automatically include all shared and client (excluding impl) packages instead of manually listing them out? It seems like that may be less of a maintenance headache at least for the user package organization. On Mon, Jan 5, 2009 at 11:34 AM, Freeland Abbott gwt.team.fabb...@gmail.com

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

2009-01-05 Thread codesite-noreply
Comment by e...@google.com: Cyril, Can you enter an issue report with some sample code here(http://code.google.com/p/google-web-toolkit/issues/entry)? Feel free to e-mail me the issue number directly after you are done, as any memory leak you can create with just a tab panel + widgets

[gwt-contrib] review request: add missing packages to javadoc

2009-01-05 Thread Freeland Abbott
Two semantically-equivalent patches attached: I think we want the following new packages in the user javadoc set, but they weren't there. - com.google.gwt.event.dom.client - com.google.gwt.event.logical.shared - com.google.gwt.event.shared - com.google.gwt.debug.client -

[gwt-contrib] [google-web-toolkit commit] r4377 - releases/1.6/user/src/com/google/gwt/user/client/ui

2009-01-05 Thread codesite-noreply
Author: jlaba...@google.com Date: Mon Jan 5 11:25:31 2009 New Revision: 4377 Modified: releases/1.6/user/src/com/google/gwt/user/client/ui/Widget.java Log: Corrected the JavaDoc of Widget#doAttach/DetachChildren() to reflect its actual usage. The old comment stated that all implementors

[gwt-contrib] Re: review request: add missing packages to javadoc

2009-01-05 Thread Freeland Abbott
I'd rather have a blacklist (with regexp matches for e.g. .impl packages), personally... but yes, it can be done; no, it's not entirely trivial. Javadoc itself will let you explicitly list packages, list root packages with recursive descent, or list files. There's no exclusion, so we'd have to do

[gwt-contrib] Re: Code review request, Creating gen2 versions of Time and Date Spinner to use the new 1.6 datepicker and event system

2009-01-05 Thread Emily Crutcher
On Mon, Jan 5, 2009 at 5:16 AM, dflorey daniel.flo...@gmail.com wrote: btw: Why is the datepicker in a separate package and why is this package not located under user/client/ui? It looks very strange to me that the datepicker package is currently on the same level as server, theme and

[gwt-contrib] [google-web-toolkit commit] r4376 - in releases/1.6: reference/code-museum/src/com/google/gwt/museum/client/defaultmuseum use...

2009-01-05 Thread codesite-noreply
Author: jlaba...@google.com Date: Mon Jan 5 08:04:11 2009 New Revision: 4376 Modified: releases/1.6/reference/code-museum/src/com/google/gwt/museum/client/defaultmuseum/VisualsForTree.java releases/1.6/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css

[gwt-contrib] OOPHM LinkageError in trunk

2009-01-05 Thread Sam Gross
Hi John -- The last merge from releases/1.6 into trunk (r4367) introduced a LinkageError in OOPHM. A call to injectJsniFor, which was removed during the OOPHM merge (r4201) reappeared in CompilingClassLoader#findClassBytes. Removing the call from the trunk version of CompilingClassLoader fixes

[gwt-contrib] Re: PopupPanel style applied to wrong element on Firefox 3 for Mac

2009-01-05 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/1401 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] RR: use jarjar to rename GWT's internal dependencies

2009-01-05 Thread Lex Spoon
The gwt-dev-*.jar files include a lot of code that GWT depends on but that should not be directly used by clients of GWT. This can cause issues for any application that both tries to run the GWT compiler and also has its own copy of one of these dependencies. One way to help is to use jarjar to

[gwt-contrib] Re: OOPHM LinkageError in trunk

2009-01-05 Thread John Tamplin
On Mon, Jan 5, 2009 at 5:00 PM, Sam Gross colesb...@gmail.com wrote: The last merge from releases/1.6 into trunk (r4367) introduced a LinkageError in OOPHM. A call to injectJsniFor, which was removed during the OOPHM merge (r4201) reappeared in CompilingClassLoader#findClassBytes. Removing

[gwt-contrib] [google-web-toolkit commit] r4378 - trunk/dev/core/src/com/google/gwt/dev/shell

2009-01-05 Thread codesite-noreply
Author: j...@google.com Date: Mon Jan 5 14:15:04 2009 New Revision: 4378 Modified: trunk/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java Log: Fix OOPHM breakage from latest merge. Patch by: sgross Review by: jat Modified:

[gwt-contrib] Proposed change: further flexibility for logging/filtering requests and responses on servlets

2009-01-05 Thread Rodrigo Damazio
The attached patch adds the capability of inspecting and changing both the serialized and deserialized contents of requests and responses (including intercepting exceptions before they're sent to the client). This opens all kinds of possibilities if properly used - monitoring the type and