Re: Creating new methods for Async class

2009-10-21 Thread ylmz
I did this and it work perfectly QueueResult processActions(String user,QueueAction actionQueue) when I implemented it I had a lot of problem due to serializable interface. and it is very hard to catch. On Oct 20, 9:03 pm, Sudeep S sudee...@gmail.com wrote: try doing ListString clients = new

Re: how to send variables in form panel

2009-10-21 Thread YoeZ
Hey abhiram, I still have a problem in server side,, can you tell me how to catch variable from client. Let say I have a textbox in client. Textbox txtComment = new Textbox; txtComment.setName(txtComment); txtComment .setText(hello); in server side: I've tried: String varXXX = (String)

Re: programmatically set focus to TabBar tab

2009-10-21 Thread Akash
I think method you are looking for is tabPanel.setActiveTab(); On Oct 21, 6:10 am, BryanDavid bryan.verg...@gmail.com wrote: Hello, The TabBar tabs have the ability to have keyboard focus, and if you click on one, it will get the dotted outline showing keyboard focus. This is great since I

Re: GWT best Practices - JS Library Wrappers Overlay Types

2009-10-21 Thread Bobby
Version 2.0.1 will be available probably later this month. The IE bug is gone, which is nice since it makes it possible to use the AjaxLoader module, which eliminates the need for a script tag and simplifies loading packages individually. The samples for 2.0.1 dynamically load packages as

Re: No addClosingHandler(CloseHandler handler) in Window class

2009-10-21 Thread goolie
Ah, of course! Thx! I was blind looking for the method addClosingHandler... Is this maybe an error in the naming convention for the new event handlers? :-) /O --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: Targettting Rhino with GWT compiler

2009-10-21 Thread Thomas Broyer
On 20 oct, 15:53, Attila Szegedi szege...@gmail.com wrote: Hi all, I really like the development model of GWT - using Java for development, with all its type robustness and refactoring friendliness. I have a rather large JS system that badly needs rewriting after five years of incremental

GWT and MySQL Connection

2009-10-21 Thread Proxy
Hey, I am trying to create a voting system I've got a MySQL DB already up (using WAMP) and I'm using Eclipse Galileo with GWT. I have looked everywhere on how to make this connection and now I am sure I connect to the DB at least, however I am unsure regarding if I actually retrieve anything from

Re: requestBuilder and file location

2009-10-21 Thread Thomas Broyer
On 20 oct, 19:34, Tomek tomekmist...@interia.pl wrote: Hello, Is it possible to load file using requestbuilder that is not in WAR folder but in some package for example com.tom.test.xml? If the file is in a public/ subfolder (see the doc about the gwt.xml file format), it'll be copied into

Re: GWT and MySQL Connection

2009-10-21 Thread Alvin Reyes
can you post the actual exception your having? On Wed, Oct 21, 2009 at 7:11 AM, Proxy luigiadva...@gmail.com wrote: Hey, I am trying to create a voting system I've got a MySQL DB already up (using WAMP) and I'm using Eclipse Galileo with GWT. I have looked everywhere on how to make this

Re: GWT and MySQL Connection

2009-10-21 Thread Lothar Kimmeringer
Proxy schrieb: PreparedStatement ps = conn.prepareStatement( SELECT user, pass FROM usuarios WHERE user = \ + user1 + \ AND + pass = \ + pass + \ ); Using a PreparedStatement is one thing but not using its features is another. You still can do SQL-injections here allowing you to

Re: UiBinder i18n Example

2009-10-21 Thread Lore
if you look at the compiler output, you'll see something like: Generating sample_translate_source_nl.properties from SampleEntryBinderImplGenMessages_ for locale nl (assumming a template Sample.ui.xml) So take the generated property files from the -gen directory, translate and put them next to

Re: Creating new methods for Async class

2009-10-21 Thread Trevis
Not to complicate matters but using ArrayList instead od List supposed to be better in gwt? I could have sworn that ray ryan alluded to this in his presentation. I still don't do it because I hate seeing that in my code but still, ymmv On Oct 20, 1:03 pm, Sudeep S sudee...@gmail.com wrote:

Re: programmatically set focus to TabBar tab

2009-10-21 Thread BryanDavid
There is no TabPanel.setActiveTab. There is, however a TabPanel.selectTab The problem is not selecting a tab, but getting the keyboard focus on to one of the TabBar.Tab objects. On Oct 21, 1:18 am, Akash akash.b...@gmail.com wrote: I think method you are looking for is

Re: Creating new methods for Async class

2009-10-21 Thread Paul Robinson
(1) The problem with the OP's code was that he had the getClients() method in the async class take an AsyncCallbackString but the non-async interface returned an ArrayListString. If you want to return an ArrayList of strings, then the callback should have been AsyncCallbackArrayListString (2)

Re: Is there any newer gwt library other than smartgwt and gxt?

2009-10-21 Thread DanJones
To get back to the original question about whether there is another free library, have you looked at Mosaic ? http://code.google.com/p/gwt-mosaic/ On Oct 20, 11:17 am, flyingb...@gmail.com flyingb...@gmail.com wrote: gwt-ext stopped development for a long time now. They went to make the

candle stick charts

2009-10-21 Thread Bobby Richards
Seems to be no good way to create candlestick charts (stock charts) with GWT. I noticed the chart API provides the option but does not integrate with GWT (although I think I saw a third party library, ill look more into that today). The visualization API does not allow it, at least as far as I

Appending request parameters to url

2009-10-21 Thread Name256
Hello all, I am new to the web toolkit. I was wondering whether there is a way to append request parameters to a url in gwt. Example www.app.com/dashboard.html?login=trueuser=name. Kind regards Abel --~--~-~--~~~---~--~~ You received this message because you are

Jasperreports with GWT

2009-10-21 Thread Haydar
Hi friends, I am new to GWT and I have a problem with Jasperreports usage in my GWT application. I have some fields and a button and I want to get a report when i click the button. I was doing it with JSF easily but I couldn't manage to do it with GWT. Can anyone suggest me something? A very

Passing javax.persistence.Entity pojo's to the client - Compilation Error

2009-10-21 Thread reyaron
Hi How can I pass to the RemoteService an Entity of JPA? If I do so I get the following error during the GWT-compile: No source code is available for type javax.persistence.Persistence; did you forget to inherit a required module? Application Architecture: Hibernate 3 with JPA spec in some

candle stick charts

2009-10-21 Thread Bobby Richards
Anyone have any experience with creating candlestick charts with GWT? Thanks, Bobby --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT and MySQL Connection

2009-10-21 Thread Proxy
The thing is that I get no error whatsoever, I just get a message from the hosted mode: [INFO] 200 - POST /votaciones/MySQLConnection (127.0.0.1) 14 bytes Which since it's 200 means it went ok... and yes I know about the injection but since it's still something I'm doing locally I won't get

Re: Hosted mode hanging 4 out of 10times

2009-10-21 Thread John V Denley
Just thought it might be worth mentioning that I have been having this problem for about 4 weeks now... I was hoping it might be dealt with in the lastest updates, but its still there! Im using GWT with GAE functionality, my app is built up from the original stockwatcher application. I actually

Re: programmatically set focus to TabBar tab

2009-10-21 Thread BryanDavid
For anyone interested, here is one solution: static native void nativeFocus(JavaScriptObject o)/*-{ try{o.focus();}catch(e){} }-*/; static void SetFocusToSelectedTab(TabBar tb){ final NodeListElement nl = tb.getElement ().getElementsByTagName(div); final int

Re: debug gwt compiled javascript

2009-10-21 Thread Adligo
Hi, I would recommend the following; 1) Add a uncaught exception handler and if that doesn't solve the issue 2) pick a log library gwt-log or i_log (my adligo packages) direct the log output back to the server, so you can determine where the code is blowing up, add a try catch to catch your

JSP version problem

2009-10-21 Thread Andrey
Hello! There is a big problem with JSP in Development mode. It uses java 1.4 and I cannot change the version. I thought this problem was eliminated, because I hadn't been facing it for long time using builds from SVN. Today after updating from SVN I met it again. Could this problem be solved

Re: GWT and MySQL Connection

2009-10-21 Thread Proxy
I actually managed to connect now, I only have one question left now, why is the onFailure from here private class AuthenticationHandlerT implements AsyncCallbackUser { public void onFailure(Throwable ex) { label.setText(Fail);

Modality to a part of the page

2009-10-21 Thread The Question
Hi all, I see tons of posts about making a dialog box modal to an application, but I haven't yet found any reference to the ability to make a dialog box modal to only a part of the page. I have multiple widgets which may or may not be loading at any given point on the screen. I want each of

Re: GWT and MySQL Connection

2009-10-21 Thread Lothar Kimmeringer
Proxy schrieb: I actually managed to connect now, I only have one question left now, why is the onFailure from here Because the method being called on the server-side has no declared exception that you throw. Regards, Lothar --~--~-~--~~~---~--~~ You

Need help with gwt webserver

2009-10-21 Thread flyingb...@gmail.com
I am going from netbeans glassfish to just using eclipse. It seems like eclipse does not use glassfish server for debugging and I get tons of error like Syntax error, parameterized types are only available if source level is 1.5 Is there a way to fix jetty so it can compile 1.5 sources?

Re: Announcing GWT 2.0 Milestone 1

2009-10-21 Thread jscheller
Is there a build of the GWT incubator library available for download somewhere for use with the GWT 2.0 ms1 build? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: debug gwt compiled javascript

2009-10-21 Thread Sudeep S
Thank you Ian Thank you Adligo, reg logging library approach, can we turn off the loggers without having to deploy the code again. -Sudeep On Wed, Oct 21, 2009 at 10:58 PM, Adligo sc...@adligo.com wrote: Hi, I would recommend the following; 1) Add a uncaught exception handler and if that

AsyncCallBack cannot be resolved to a type

2009-10-21 Thread michael.d.clay...@hotmail.com
All, Im trying to run a method after selecting an item in a listbox, I get the error: AsyncCallBack cannot be resolved to a type on this part: map = greetingService.getDataStatus(itemText, new AsyncCallBackHashMapString,Object(){ Here is the code: lb.addChangeHandler(

Re: why does GWT Showcase continually re-request CSS image under IE6

2009-10-21 Thread jmcmd
I figured out the issue finally. IE6 will cache all images reference on a given web page BUT! - if the image has a the same name as another image (even if in different directories); it will forgot the previous cache image and load it again from the server. Thus, in IE6: /image/foo/n.gif

Servlet and GWT

2009-10-21 Thread sillu
Hello friends, I am new to GWT. Recently i learnt servlet and JSP. My problem is i want to have a nice dynamic front end.When user performs some action, it should send request to server. Server should do some data manipulation on the basis of data sent from client and send back the response. I

Import externals API into eclipse project

2009-10-21 Thread BobString
Hi! , I'm trying to use a Twitter API (Twitter4J ) into my GWT app. I imported the .jar file in eclipse at Properties/JavaBuildPath/ AddExternalsJarFile and eclipse recognised it and don´t show any problem, but when I run it it showw many errors: [ERROR] Errors in

Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-21 Thread cretz
I am posting here before I post an issue to the tracker to see if anyone has run across it. I am using Eclipse 3.4.2, but I doubt it's specific to an Eclipse version. Basically, if you have two unrelated Web Application projects in the same workspace that have the same HTML filename then running

migrating to GWT and including custom data to module.nocache.js

2009-10-21 Thread John O'Conner
My company's product is accessed via a javascript file that is in our customer's host page. They're page just includes a script tag that links to the javascript file. We have many customers, and we create unique javascript files for each by generating custom data and the Javascript file. We

any way to return image through rpc?

2009-10-21 Thread rjcarr
I'm looking for a way to make a gwt service call, have the server create an image, and then send the image bytes back down to the browser. I can do this with a standard servlet call, but my query is getting unruly and I'd like to take advantage of gwt's serialization and build my request that

GWT - Google Ajax Search, problem in number of results returned

2009-10-21 Thread mfkilgore
I am using GWT integrating it with Google Ajax Search. Basic search is working fine, but I only get 4 results returned even after I set the result set size: WebSearch webSearch = new WebSearch(); webSearch.setResultSetSize(ResultSetSize.LARGE); It does not

Re: need to execute commands on windows machine from remote server

2009-10-21 Thread sathya
I need to execute command on client side.I have all clients username and passwords.So I need to login to client machine (windows) and execute commands On Oct 19, 1:00 pm, gwtfanb0y siegfried.b...@googlemail.com wrote: I dont exactly understand what you want. Do you want to execute a command

Re: Servlet and GWT

2009-10-21 Thread Kamal Chandana Mettananda
Hi, You can look at the following tutorial; hope that will help you. http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html Cheers. On Wed, Oct 21, 2009 at 10:42 PM, sillu priyabra...@gmail.com wrote: Hello friends, I am new to GWT. Recently i learnt servlet and

Re: candle stick charts

2009-10-21 Thread sathya
Why dont you use gcharts http://code.google.com/p/gchart/ On Oct 21, 8:10 pm, Bobby Richards bobby.richa...@gmail.com wrote: Anyone have any experience with creating candlestick charts with GWT? Thanks, Bobby --~--~-~--~~~---~--~~ You received this message

Re: AsyncCallBack cannot be resolved to a type

2009-10-21 Thread michael.d.clay...@hotmail.com
When I get in tomorrow, I'll try AsyncCallback() M On Oct 21, 5:05 pm, michael.d.clay...@hotmail.com michael.d.clay...@hotmail.com wrote: All, Im trying to run a method after selecting an item in a listbox, I get the error: AsyncCallBack cannot be resolved to a type on this part: map =

Re: any way to return image through rpc?

2009-10-21 Thread Ian Petersen
You can send bytes back to the client as an RPC response (it's just an HTTP request, after all) but the problem is what to do with the bytes once you have them. If you're willing to restrict yourself to browsers that support data:// URLs, you can send the image back as a data:// URL and just

Re: any way to return image through rpc?

2009-10-21 Thread Robert J. Carr
Thanks Ian ... I had a feeling it was going to be complicated, I just wanted to make sure I wasn't missing something. Looks like I'm relegated to building complex queries or making two requests. Thanks again for the time! On Wed, Oct 21, 2009 at 9:12 PM, Ian Petersen ispet...@gmail.com wrote:

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

2009-10-21 Thread codesite-noreply
Comment by heralight: Hello everybody, I come from silverlight and I want learn GWT with UIbuilder, which WYSIWYG editor can I use to produce design with UIBuilder (equivalent to Microsoft Blend) ? If not exist how create a design and maintains it with a standard WYSIWYG Html editor like

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

2009-10-21 Thread codesite-noreply
Comment by heralight: Hello everybody, I've just started studying GWT with UiBinder. good ! Which WYSIWYG editor can I use to produce design with UiBinder(equivalent to Microsoft Blend) ? If not exist how create a design and maintains it with a standard WYSIWYG Html editor like dreamweaver

[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-10-21 Thread brett.wooldridge
There is no WYSIWYG editor that I know of. Because UIBinder is so new (it's only been in the public source control for about two months), I wouldn't expect to see such an editor for several months at a minimum. If you see one it's likely to come from the guys who make MyEclipse (google it).

[gwt-contrib] Veary+cheep+guest+house+5star+hotels+Karachi+photo [30$ package Complementary food with 2 time]

2009-10-21 Thread ghjj
Veary+cheep+guest+house+5star+hotels+Karachi+photo [30$ package Complementary food with 2 time] http://guest-houses-5star-hotels-karachi.blogspot.com --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

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

2009-10-21 Thread codesite-noreply
Comment by arthur.kalm: I wouldn't if the Google Eclipse Plugin gets updated to support UiBinder in the near future, but it probably won't happen until GWT 2.0 is out. You'll have to ask Miguel Mendez :) For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder

[gwt-contrib] Re: Add a 'session' field to lightweight metrics events

2009-10-21 Thread bobv
LGTM, but change the stats proporty to 'sessionId' or the magic variable to '$session' to avoid typos in future changes to stats code. http://gwt-code-reviews.appspot.com/82803 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r6440 committed - Edited wiki page through web user interface.

2009-10-21 Thread codesite-noreply
Revision: 6440 Author: rj...@google.com Date: Wed Oct 21 12:06:47 2009 Log: Edited wiki page through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=6440 Modified: /wiki/UiBinder.wiki === --- /wiki/UiBinder.wiki Thu Oct 15

[gwt-contrib] [google-web-toolkit] r6441 committed - Add a 'sessionId' field to GWT lightweight metrics events, which is se...

2009-10-21 Thread codesite-noreply
Revision: 6441 Author: r...@google.com Date: Wed Oct 21 13:20:55 2009 Log: Add a 'sessionId' field to GWT lightweight metrics events, which is set to the value of the user-supplied global variable __gwtStatsSessionId at module startup. The field should not be considered a commited part of

[gwt-contrib] JUnitShell ignores -userAgent argument

2009-10-21 Thread jlabanca
Reviewers: jat, Description: Description: === Somehow during the merge, the remote user agents stopped getting passed into the compiler. Fix: CompileStrategy now passes the remoteUserAgents (which can be null) into JUnitShell#maybeCompileModule. Please review this at

[gwt-contrib] Re: JUnitShell ignores -userAgent argument

2009-10-21 Thread jat
LGTM http://gwt-code-reviews.appspot.com/83807 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Thoka
I don't think that you guys are seeing the whole picture. By making the string replacements part of the compiled code you actually bind the internationalization into the code. Trust me, when a web application is supporting 20+ languages, the translations will never be absolutely flawless, and the

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Ray Ryan
Thoka, does your code involve changes to GWT proper? If not (or if so, for that matter), would you be willing to create a new Google Code site for it? It doesn't have to be part of GWT proper to be useful. And there's no reason it couldn't reach GWT proper via that route--probably more likely for

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Thoka
No, the code does not involve changes to the standard library. The only thing you have to do is to replace the localization module to another in the gwt.xml file. It is very simple and contains about 5 simple classes. The only thing you have to do manually is to link lang.js to a servlet in

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Bruce Johnson
Thoka, I hope previous replies didn't come across as a debate as to whether the use cases you describe are valuable or not; clearly they are. The point is just that we want to identify exactly what the pros/cons of each world view are to decide, among other things, if there is one right answer

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Miroslav Pokorny
It sounds like an alternative might be to have the compiler to spit out properties files full of key value pairs with one per locale. Naturally the compile would output shortened keys etc and record a mapping file. A tool would be made available to update just these text resources and the

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread John Tamplin
On Wed, Oct 21, 2009 at 3:48 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: It sounds like an alternative might be to have the compiler to spit out properties files full of key value pairs with one per locale. Naturally the compile would output shortened keys etc and record a mapping

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Miroslav Pokorny
Perhaps the compiler just recompile Message etc type classes and have them in a separated *.js file. The problem with that is of course what about references to helper methods and the like that live in the main module. A mapping file would need to record names of said methods. There might also

[gwt-contrib] [google-web-toolkit] r6442 committed - Add rebased version of the Protocol Buffer library. ...

2009-10-21 Thread codesite-noreply
Revision: 6442 Author: rda...@google.com Date: Wed Oct 21 17:26:40 2009 Log: Add rebased version of the Protocol Buffer library. Review by: mmendez (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=6442 Added: /tools/lib/protobuf/protobuf-2.2.0/protobuf-java-rebased-2.2.0.jar

[gwt-contrib] Re: Code Review Request: Using the rebased protobuf library

2009-10-21 Thread mmendez
LGTM http://gwt-code-reviews.appspot.com/83809 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] [google-web-toolkit] r6444 committed - Fixed typo caught by mmendez in review of r6442.

2009-10-21 Thread codesite-noreply
Revision: 6444 Author: rda...@google.com Date: Wed Oct 21 18:10:55 2009 Log: Fixed typo caught by mmendez in review of r6442. http://code.google.com/p/google-web-toolkit/source/detail?r=6444 Modified: /tools/lib/protobuf/protobuf-2.2.0/README === ---

[gwt-contrib] Re: Code Review Request: Using the rebased protobuf library

2009-10-21 Thread rdayal
The MesageTransportTest passed without any problems. Committed as r6443. http://gwt-code-reviews.appspot.com/83809 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Ian Petersen
On Wed, Oct 21, 2009 at 3:52 PM, John Tamplin j...@google.com wrote: The problem is more than that. As mentioned above, the actual compiled code is frequently different depending on the messages, such as when the parameters are re-ordered in different locales or have different formatting