Re: What are you using for a backend??

2009-01-22 Thread doopa
I'm using java on the backend, accessed through RPC. It just makes life a lot easier. Also, since I'm using the tomcat server to access soap and rest services, using java makes all of this much easier. Also its nice to have the whole thing in one code base/language. Later I plan to make the RPC

Re: GWT's generated javascript is opaque to 'view source'

2009-01-22 Thread Paul Robinson
So, my question is: Is there some (non-default) compile option or build-option that I could use to make the generated javascript less obscure? Add this to your GWTCompiler arguments: -style PRETTY Paul --~--~-~--~~~---~--~~ You received this message

GWT's generated javascript is opaque to 'view source'

2009-01-22 Thread David H. Cook
I recently re-wrote an old page that I originally developed using just 'google maps' APIs, to now use GWT and google maps. One thing that I really LIKE about my original implementation is that it is totally transparent (i.e. using any browser's view source), one can then see the whole

Re: Browser Issues- Please help me

2009-01-22 Thread Venkat
HI All, Thank you so much for your guidance. I have changed the flow panel to vertical panel. and its working very fine. Thank you so much Venkat On Jan 21, 9:29 pm, Danny Schimke schimk...@googlemail.com wrote: I would use VerticalPanel. I think thats the easiest way and I never had sizing-

Inherit tag to integrate JFreeChart under GWT application

2009-01-22 Thread Lonifasiko
Hi, created a new GWT application and would like to use charts from JFreeChart library. I added jfreechart-1.0.12.jar and jcommon-1.0.15.jar (a dependency of the first one) to the classpath of the project. Then, as must be done with any other third-party library in GWT, I just added an inherits

Re: accessing jsapi in native method

2009-01-22 Thread Eric Ayers
Over at the Google APIs for GWT project ( http://code.google.com/p/gwt-google-apis) we are working on that. Basically, you need to create wrappers for creating a script element in JavaScript and injecting it into the DOM. the jsapi script takes an argument which is a function to call when the

RichTextArea problem when applying format under IE

2009-01-22 Thread Luis Fernando Planella Gonzalez
Hi. I'm using custom widgets as a RichTextArea toolbar, and those with a dropdown selection (fore and back color, font and font size) use a div in a PopupPanel to show the options. Everything is ok in Firefox and Opera, but Internet Explorer seems to loose the cursor position when the user

Re: IE8 support

2009-01-22 Thread Arthur Kalmenson
Yes, it'll use the regular IE permutation. At the moment, AFAIK, GWT generates one permutation of IE. -- Arthur Kalmenson On Wed, Jan 21, 2009 at 12:08 AM, davidroe roe.da...@gmail.com wrote: I am curious about current and future support for IE8. The list of browsers that GWT currently

Re: Problem with file upload

2009-01-22 Thread gregor
Hi Danielle, I might have twigged what the problem is if you are getting this problem in hosted mode. In hosted mode, the GWT dev shell creates a temporary Tomcat instance, but it does not seem to copy the public or client folders to that instance, only the servlets and server side stuff. I

Re: Stock Watcher Tutorial

2009-01-22 Thread Arend van der Veen
Hi Isaac, I ran the tutorial again using Eclipse and everything went fine. Thanks for your help, Arend On Wed, Jan 21, 2009 at 4:52 PM, Isaac Truett itru...@gmail.com wrote: I am not using Eclipse. Eclipse, like any good IDE, compiles for you automatically in the background. I haven't

Re: how to get the list box value in gwt

2009-01-22 Thread Jeff
On Jan 7, 10:28 am, rajasekhar raja...@gmail.com wrote: How to get the selected list box value.I have to display field is username and value is email. when username is selected I need to get  value as email id . Please help me on this regard. For widget w, this snippet would work:

Eclipse Version

2009-01-22 Thread Arend van der Veen
Hi All, I have convinced myself that I really should use an IDE to support GWT development. At this point I think that Eclipse would be the best option. I am now wondering what version of Eclipse I should use. I am running Xubuntu 8.04 LTS Desktop and it comes with Eclipse SDK 3.2.2. I think

Re: GWT's generated javascript is opaque to 'view source'

2009-01-22 Thread David H. Cook
Tho, the resulting code isn't all that helpful, your answer DOES work! It's alot less obscure than it was. That answers it...thanks. On Jan 22, 5:49 am, Paul Robinson ukcue...@gmail.com wrote: So, my question is:  Is there some (non-default) compile option or build-option that I could

Re: XMLParser error Property name is invalid

2009-01-22 Thread alex
Turns out it was because msxml3.dll wasn't registered. regsvr32 c:\windows\system32\msxml3.dll On Jan 13, 9:01 am, alex mr.alex.h...@googlemail.com wrote: Hi, I was having a problem with client side xml parsing getting the below error. I tried running the SimpleXML sample and got exactly

Re: Eclipse Version

2009-01-22 Thread mikedshaf...@gmail.com
In general, I tend to stay current with Eclipse, especially if you aren't inheriting any old habits. 3.4 is a great product and an outstanding IDE. For GWT plugins there are really to choose from: Instantiations GWT Designer Cypal Studio Cypal is free where Instantiations is not (but is very

Re: How to set parameters in com.google.gwt.http.client.RequestBuilder

2009-01-22 Thread Jax
Thanks, Jake, I'll give that a try. The problem I was addressing is that I had not figured out a way to attach the ?foo=barwoof=arf post data. I'd tried setRequestData but it did not work. I interpreted builder.sendRequest(postData, RequestCall) as semantically equivalent to

Re: Eclipse Version

2009-01-22 Thread Erbsbär
Hi, For the GwtDesigner http://www.instantiations.com/windowbuilder/gwtdesigner/download.html you need Eclipse 3.4. But I also interest to other GWT Plugins or Extensions btw Netbeans 6 with the GWT4NB is also a possibility Rainer On Jan 22, 3:46 pm, Arend van der Veen

Re: Parent Window using Splitters and DialogBox Question

2009-01-22 Thread sjn...@gmail.com
Ok. I figured out what the root cause of the dialog box blending with the parent widget was: If you show the dialog box first before adding the parent widget to the root panel that's when the blending of the dialog box with the parent widget (window) happens. The easy fix is to just add the

hosting GWT application

2009-01-22 Thread avi.yaf...@gmail.com
I am trying to deploy my GWT application. according to my hosting provider, i can't use the port in the address line: mydomain:port/appPath... but when i am not using the port, it looks like it doesn't work properly can anybody inlight me what to do?

Getting Exception com.google.gwt.core.client.JavaScriptException: (TypeError): Object required

2009-01-22 Thread Saurabh
Hi, I am new to GWT and in a learning phase. Now while creating one example i am getting an exception for which i would like to get someone's help from this forum. Problem : -- I created on textbox and a Button in GWT. Now in action listener of button i am trying to invoke a

What is the advantage of using GWT RPC over RequestBuilder or JSON via HTTP?

2009-01-22 Thread adambossy
I am building a Web application using GWT on top of a python django server. I've been busting my butt to be able to interface the two cleanly. My goal is to be able to define two-line services in a django views file such as this: def service_get_male_users(request): return

Re: Parent Window using Splitters and DialogBox Question

2009-01-22 Thread sjn...@gmail.com
Nevermind on this question. The dialog box is working fine now, but I don't know how it was fixed. The problem was that the dialog box and the parent widget with vertical panel splitters seemed to be blending into each other. Scott On Jan 21, 4:50 pm, sjn...@gmail.com nichols_sc...@yahoo.com

Doubt in GWT suggest box-Cleared value in Suggest Box got submitted

2009-01-22 Thread Nidheesh
I am a beginner to GWT technologies . I am facing an issue in Suggest Box. I have a pop up form containing a suggest box . I chose a value to the suggest box, after that i cleared it. Then i submitted the form, but the cleared value in Suggest Box got submitted . Iam using GWT 1.5. Tested

Retrieve different kind of file from server using plain Java servlet

2009-01-22 Thread mannobug
Hi all I'm really new about GWT and GXT. At this moment i developed a little application that show data in a row. My idea is to export data in some different format using this procedure: 1. With a button ask to a servlet to do job; 2. Doing extraction and manipulation; 3. Creation of file (XML,

Re: What is the advantage of using GWT RPC over RequestBuilder or JSON via HTTP?

2009-01-22 Thread Shawn Pearce
On Wed, Jan 21, 2009 at 23:47, adambossy adambo...@gmail.com wrote: What is the big advantage of using GWT RPC over Request Builder [http://code.google.com/docreader/#p=google-web-toolkit-

TabPanel and ScrollPanel not setting size properly

2009-01-22 Thread vroom_vroom
I posted this yesterday but it never appeared on the board. I am new to GWT and trying to have a TabPanel containing a ScrollPanel which contains a Tree. Originally I had the Tree directly in the TabPanel but the panel would not hold its size. when the tree was collapsed the panel would be very

Re: GWT's generated javascript is opaque to 'view source'

2009-01-22 Thread Jason Essington
The compiled javascript in any form is probably less than useful to anyone wanting to reuse the code. probably the simplest solution would be to package the source up into a jar (or a zip file) and place a link in comments just before your script tag that loads the module !-- source code

Height value in DOM isn't the same than in my code

2009-01-22 Thread Mehdi Rabah
Hi GWT experts, My problem is with TabPanel elements. I'm adding a widget into a TabPanel, which width and height are set up, for example to 50px. The problem is that in the DOM, the width and height are explicitly set to 100%. (I inspect the DOM with chrome inspect element feature) I suspect

Re: What is the advantage of using GWT RPC over RequestBuilder or JSON via HTTP?

2009-01-22 Thread adambossy
Thanks for the great reply. I'll modify my generators to output this code. Are there any resources you suggest to get started on properly protecting against a XSRF attack? Adam On Jan 22, 10:16 am, Shawn Pearce s...@google.com wrote: On Wed, Jan 21, 2009 at 23:47, adambossy

Re: Trouble with Panels expanding and size not setting

2009-01-22 Thread vroom_vroom
stateNavTree.addItem(new TreeItem(region)); //populate the tree with more stuff . . . stateTreeScroll.add(stateNavTree); navTabPanel.add(stateNavTree, By State); navTabPanel.setSize(250px, 750px); so this is basically where i started. instead of having a panel sized to those

Re: Trouble with Panels expanding and size not setting

2009-01-22 Thread vroom_vroom
Figured it out. GWT needs some better documentation! On the tab panel you need to do a .getDeckPanel().setSize(). this is the only way to set the size for the actual panel in the tab. On Jan 21, 11:29 pm, alex.d alex.dukhov...@googlemail.com wrote: Can you make a simple and small example that

Re: TabPanel and ScrollPanel not setting size properly

2009-01-22 Thread vroom_vroom
Mod please delete this thread if possible. thanks On Jan 22, 10:43 am, vroom_vroom slabarb...@gmail.com wrote: I posted this yesterday but it never appeared on the board. I am new to GWT and trying to have a TabPanel containing a ScrollPanel which contains a Tree. Originally I had the Tree

GWTTestCase v/s Selenium

2009-01-22 Thread rex
Hi, Can anyone please clarify to me about GWTTestCase for UI testing? I am currently using Selenium for this purpose. Read about GWTTestCase class some time back and got confused. It would be a great help. Thanks, Rex --~--~-~--~~~---~--~~ You received this

MultiSelectComboBox

2009-01-22 Thread chandraj...@gmail.com
Hi, I am looking for a MultiSelectComboBox widget. Is there any such available or any plans how to approach one? Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Common login process for multiple GWT applications

2009-01-22 Thread Thomas Broyer
On 19 jan, 18:06, eadams harriersoftw...@comcast.net wrote: I've been working on an intranet application. The application has used Tomcat's security to require a simple login to access several related applications. The goal now is to increase the user authorization so that functions inside

iGoogle Panels Question

2009-01-22 Thread sjn...@gmail.com
iGoogle has some cool looking sizable panels for storing different apps in. Are those panels available yet in GWT? Thanks Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Browser cache control from GWT client

2009-01-22 Thread Thomas Broyer
On 17 jan, 10:17, Gabor Szokoli szoc...@gmail.com wrote: Hi, GWT has sheltered us from browser- and javascript intricacies so far so well, my questions are probably laughably clueless, so just point me to the relevant literature: We use simple HTTPRequests to get JSON data from the same

Re: passing events up from a widget?

2009-01-22 Thread Thomas Broyer
On 16 jan, 17:40, seven.reeds seven.re...@gmail.com wrote: Never mind.  It looks like the answer is to implement SourcesChangeEvents and all the associated methods.  There might be great documentation on this somewhere with examples but i have not seen it.  Looking at the TextBoxBase and

Async RPC freeze / hang / exception after app runs for N days

2009-01-22 Thread jol-blazey
Our app runs smoothly for days or weeks then intermittently the browser fails to receive a RPC response. Either the client code receives a throwable in onFailure() or no response is received and the page sits there Loading ... . Server logging shows the Servlet executed normally right up to the

Re: Casting from long to int

2009-01-22 Thread Arthur Kalmenson
This has actually happened to us before and someone on IRC was reporting it too. There doesn't seem to be an issue about this... can you post one? http://code.google.com/p/google-web-toolkit/issues/list The problem seems to happen because GWT emulates longs on the client side (since native JS

Re: Error

2009-01-22 Thread Arthur Kalmenson
Have you included the JAR file for the GAL GWT project? Did you include it in the classpath you use when executing hosted mode? -- Arthur Kalmenson On Wed, Jan 21, 2009 at 5:53 AM, Naveen naveen.wiz...@gmail.com wrote: Hi, I am getting the following errors while compiling: 1. Unable to

Re: GWT and MS Office interoperability

2009-01-22 Thread Arthur Kalmenson
I don't know, is it possible to do mail merge with MS Word using Javascript and HTML? If the answer is yes, then it's possible with GWT. Somehow I doubt it is, AFAIK you need to use VBA for that. -- Arthur Kalmenson On Wed, Jan 21, 2009 at 4:55 PM, DanM dan_mara...@hotmail.com wrote: Hello

Re: java.io.Serializable

2009-01-22 Thread Arthur Kalmenson
No problem, glad to help. -- Arthur Kalmenson On Wed, Jan 21, 2009 at 7:37 PM, tomekp tom...@mailinator.com wrote: Hi guys! Thanks for all the answers. I just wanted to confirm that problems which I observe are indeed very similar to what danox and Arthur have reported. I'm also using

Re: hosting GWT application

2009-01-22 Thread Arthur Kalmenson
GWT is just Javascript and HTML. You can drop it in any folder in an Apache or other web server and run it. It does not require any ports to be open to work (unless you're making requests to a specific port). -- Arthur Kalmenson On Thu, Jan 22, 2009 at 11:06 AM, avi.yaf...@gmail.com

Re: GWTTestCase v/s Selenium

2009-01-22 Thread Arthur Kalmenson
Selenium is your best bet for doing functional tests. GWTTestCase is for unit testing specific logic that you may put inside a widget. -- Arthur Kalmenson On Thu, Jan 22, 2009 at 5:19 PM, rex ruchi.malp...@gmail.com wrote: Hi, Can anyone please clarify to me about GWTTestCase for UI

Re: MultiSelectComboBox

2009-01-22 Thread Arthur Kalmenson
It should be in the incubator. The incubator is a little hairy, so you're going to have to decipher how it works from the sample code in the project. -- Arthur Kalmenson On Thu, Jan 22, 2009 at 5:38 PM, chandraj...@gmail.com chandraj...@gmail.com wrote: Hi, I am looking for a

Re: how to store values in gwt wigets from one jsp page to next page

2009-01-22 Thread Arthur Kalmenson
-- Arthur Kalmenson 1)how to store values in gwt wigets from one jsp page to next page. That's not really possible to do through GWT because going to another JSP page entails refreshing the page. The best you can do is save the state on the server side and in the onLoad() on the new JSP

Re: hosting GWT application

2009-01-22 Thread darkflame
You are compiling it arnt you? It only needs the port in the url when its runningly localy, once you compile and copy the result of that to the sever, it can run anywhere. On Jan 22, 5:06 pm, avi.yaf...@gmail.com avi.yaf...@gmail.com wrote: I am trying to deploy my GWT application. according

The method forName(String) is undefined for the type Class !!!

2009-01-22 Thread keith.m...@gmail.com
Hi I'm pretty new at the GWT, but have been using java for a few years. For whatever reason, I simply CANNOT get around this dumb error. Every example of using the mysql jdbc connector uses the Class.forName (com.mysql.jdbc.Driver) in it, but whenever I try to run this, I always get this: The

Re: The method forName(String) is undefined for the type Class !!!

2009-01-22 Thread Litty Preeth
This code is where? in ur client side GWT code or server side? You cant use Class.forName in GWT. Remember GWT code is eventually to get converted into JS. Refer the following for the supported JRE lib emulations in GWT:

Re: how to listen to ESC key for popup

2009-01-22 Thread sagar
hey thanks Hasan it works. However it is working only for ESC and not for ENTER even though i have used the above lines in my code. On Thu, Jan 15, 2009 at 2:57 PM, Hasan Turksoy hturk...@gmail.com wrote: you can override the PopupPanel#onKeydownPreview method like below; @Override

Re: how to listen to ESC key for popup

2009-01-22 Thread Hasan Turksoy
In general, this occurs when another widget other than dialog (which is listening Enter and Esc keys) has got the focus... On Fri, Jan 23, 2009 at 6:40 AM, sagar sagar5...@gmail.com wrote: hey thanks Hasan it works. However it is working only for ESC and not for ENTER even though i have used

Re: Trouble with Panels expanding and size not setting

2009-01-22 Thread alex.d
I would rather put another panel (like Vertical- or HorizontalPanel) between your tree and navTabPanel and set it's size. Works for me ;-) On 22 Jan., 23:00, vroom_vroom slabarb...@gmail.com wrote: Figured it out. GWT needs some better documentation! On the tab panel you need to do a

gray effect when dialogbox appears

2009-01-22 Thread ramesh chiluveri
Hai All, I want to transparent background window when dialog box shown. i think we have solutions to this. please give me your suggestions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

[gwt-contrib] Code review: update 1.6 branch-info.txt

2009-01-22 Thread rjrjr
Reviewers: jgw, Description: Updates 1.6 branch-info.txt to reflect today's merge (490:4497,4498:4511). () to be updated when merge lands. Note that --accept=postpone has been dropped. svn says there is no such thing. Please review this at http://gwt-code-reviews.appspot.com/2011 Affected

[gwt-contrib] Re: GWT 1.5.3: Type mismatch with enum in parameterized class.

2009-01-22 Thread Isaac Truett
And if I'd been silly enough to bet against you, Scott, then I would've lost. For posterity: 1. SVN r4361 contains the updated JDT. I copied that to my 1.5 release branch. 2. SVN r4362 contains a small code change to LongFromJSNIChecker.java. I applied that to my 1.5 branch. 3. SVN r4362 also

[gwt-contrib] [google-web-toolkit commit] r4513 - releases/1.6

2009-01-22 Thread codesite-noreply
Author: rj...@google.com Date: Thu Jan 22 08:34:50 2009 New Revision: 4513 Modified: releases/1.6/branch-info.txt Log: Updates 1.6 branch-info.txt to reflect today's merge (490:4497,4498:4511). Note that --accept=postpone has been dropped. svn says there is no such thing. LGTM from jgw

[gwt-contrib] Browser-agnostic RequestBuilder available in Core?

2009-01-22 Thread Lex Spoon
I'd like runAsync to use XHR for the iframe linker, so that GWT applications can get timely notification if an async code download fails for any reason. I've outlined all the code changes, but there is a remaining question about how the runAsync support should access XHR. Ten minutes of reading

[gwt-contrib] Re: Browser-agnostic RequestBuilder available in Core?

2009-01-22 Thread Scott Blum
SGTM. On Thu, Jan 22, 2009 at 12:14 PM, Lex Spoon sp...@google.com wrote: I'd like runAsync to use XHR for the iframe linker, so that GWT applications can get timely notification if an async code download fails for any reason. I've outlined all the code changes, but there is a remaining

[gwt-contrib] Re: [google-web-toolkit commit] r4513 - releases/1.6

2009-01-22 Thread John Tamplin
On Thu, Jan 22, 2009 at 12:17 PM, Scott Blum sco...@google.com wrote: What version of svn are you using? I'm using 1.5.x, and that flag for me means the merge will definitely finish, albeit with conflicts, rather than prompting you for every conflict encountered (which hangs the merge waiting

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

2009-01-22 Thread codesite-noreply
Comment by srdrucker: A qualified.ModuleName/ directory for GWT artifacts sounds great. However, I don't see a need to call the nocache file qualified.ModuleName.nocache.js, it could just be nocache.js. Then, in MyProject.html, you could just have src=qualified.ModuleName/nocache.js

[gwt-contrib] Proposal: Lightweight GWT-RPC implementation for OpenSocial and Gadgets

2009-01-22 Thread Alex Epshteyn
Background: OpenSocial containers provide the method gadget.io.makeRequest because gadget scripts aren't able to use XHR due to the SOP. Furthermore, I believe, OpenSocial containers don't expose the _IG_GetCachedUrl(url) method that the gwt-gadgets library uses. Now, regarding the gwt-gadgets

[gwt-contrib] Re: Proposal: Lightweight GWT-RPC implementation for OpenSocial and Gadgets

2009-01-22 Thread Alex Epshteyn
Success - I got this to work! Now running GWT-RPC through OpenSocial's gadget.io.makeRequest! Only two lines of code had to be changed in GWT to make the RPC system pluggable. Here is a patch against trunk. Could someone review and approve? The other half consists of custom RequestBuilder and

[gwt-contrib] Re: Proposal: Lightweight GWT-RPC implementation for OpenSocial and Gadgets

2009-01-22 Thread Ray Cromwell
I don't quite understand this point. Any JSO you create is going to be tightly bound to the underlying Gadget/OpenSocial APIs, so what's the difference between a JSO binding which is isn't dependency injected, vs one that is, with regard to keeping up with API changes? Are you arguing against

[gwt-contrib] [google-web-toolkit commit] r4519 - in trunk/dev/core/src/com/google/gwt/dev: . shell/tomcat

2009-01-22 Thread codesite-noreply
Author: fabb...@google.com Date: Thu Jan 22 18:04:36 2009 New Revision: 4519 Added: trunk/dev/core/src/com/google/gwt/dev/ArgHandlerOutDirDeprecated.java Modified: trunk/dev/core/src/com/google/gwt/dev/Compiler.java trunk/dev/core/src/com/google/gwt/dev/GWTShell.java

[gwt-contrib] UIObject.setStyleName(Element, String, boolean) visibility

2009-01-22 Thread adam
It occurs to me that the static methods UIObject.setVisible and UIObject.setStyleName are akin to each other -- they're both static, they both alter properties of an Element, and they're both called by public instance methods in UIObject -- yet the former has public visibility whereas the latter

[gwt-contrib] Re: Proposal: Lightweight GWT-RPC implementation for OpenSocial and Gadgets

2009-01-22 Thread Ray Cromwell
Agreed. I used a similar patch in my own implementation a few weeks ago, although yours is simpler. One thing I'd suggest though is to get the superclass setting either from a module property, or from something in the type system, or runtime, rather than the environment. e.g. define-property

[gwt-contrib] Re: Proposal: Lightweight GWT-RPC implementation for OpenSocial and Gadgets

2009-01-22 Thread Alex Epshteyn
I agree that an environment variable isn't ideal, but could you explain the annotations you listed? Is that a proposed future way to access module properties from inside a generator? GeneratorContext.getPropertyOracle() is the way to get these at runtime, correct? So do you want me to add

[gwt-contrib] Re: Proposal: Lightweight GWT-RPC implementation for OpenSocial and Gadgets

2009-01-22 Thread Ray Cromwell
You can extend properties in your own module file, so if a user has a need in the future to override the proxy superclass, they can extend-property + set-property the new override. You'll see that RPC already uses a property for settings in the RemoteService.gwt.xml -Ray On Thu, Jan 22, 2009 at