Re: Integrating GWT+Spring application with Hibernate

2009-02-14 Thread Malte Legenhausen
Look at this libraries that will do all that you want: http://gwt-widget.sourceforge.net/?q=node/51 http://noon.gilead.free.fr/gilead/index.php?page=gwt On Feb 13, 4:18 pm, Arthur Kalmenson arthur.k...@gmail.com wrote: This topic has also been discussed a million times, if you search the

Re: Code refactoring to minimize listeners decoupling actions from view class

2009-02-14 Thread gregor
Hi dodo, Currently in my app all the services and action related methods are there inside the view class itself. How can I refactor my code to decouple action related methods in a different controller/supervisor class? Why would you want to do that? GWT follows (roughly) Swing/SWT

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread BobM
Okay. Here is my code: From the client side: The proxy inerface: // SelectionSearchService package org.bcs.client.gui; import com.google.gwt.user.client.rpc.RemoteService; public interface SelectionSearchService extends RemoteService { public String[][] findAllLikeThis(String[]

Re: Closable Tab- Changing Tab text

2009-02-14 Thread Behrooz Nobakht
I believe you should use the TabPanel.addWidget(panelWidget, tabWidget) method of TabPanel. On Sat, Feb 14, 2009 at 8:58 AM, GWTFan valavanur...@gmail.com wrote: We need closable tab panel. I'm using TabPanel's add(widget, widget) method to add tabs. I'm using an horizontalpanel as tab

Servlets / war file help

2009-02-14 Thread Dan
Hi Guys I'm relatively new to web development, I have a lot of experience with C++, C, Java a bit of php and Symbian C++. Would anyone mind If I asked a couple of generic servlet / war file questions? I have started to created a site using the google web toolkit (GWT). So far my server side my

Re: Announcing GWT 1.6 Milestone 1

2009-02-14 Thread Allahbaksh
GWT 1.6 M1 log.tld file not found error Hi, I was using GWT 1.5. Today I moved my application to GWT1.6M1 so as to try the rich features. When I move the project I am getting below error when I start my application. Please note if I create some example application it works fine. Can some one

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread gregor
Hi Bob, Most likelly either you have not specified SelectionSearchServiceImpl in your module xml file correctly (so the URL doesn't match and it can't find it), or there is something wrong with your own code that's throwing an exception. if 1) In the main dev shell window, you should see some

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread gregor
Bob, It's not clear from your post where the problem is. Chances are either you have set up the RPC servlet wrong in your module xml file (i.e. it doesn't match ((ServiceDefTarget) selectionSearchService).setServiceEntryPoint (GWT.getModuleBaseURL() + /selectionSearchService); so the

Re: Servlets / war file help

2009-02-14 Thread gregor
Hi Dan, Yes, to get it to work in web mode (i.e. deployed) you need to a) make sure your web.xml file has the correct RPC servlet mappings, and b) you need to deploy all the static HTML/js/CSS etc and the java classes/ libs in the right structure. The simplest way (IMO) to deploy is to use an

Re: Need to enable parallel download .

2009-02-14 Thread Ghostcoder
Thanks for the reply . I am compressing the html file(gzip) but my html file is 190 kb .It takes 12 secs to download. Can I reduce the size by using multiple modules so that the initial page load can be quick and the subsequent module html files can be downloaded lazily. Will multiple modules

ServiceImpl and existing java app

2009-02-14 Thread hermis
Hello all, I am developing a Java application which will eventually embed a HTTP server and then act as the server for my GWT application. I need help with getting the GWT app to access a method in the Java app :) Until now, just for the sake of developing I have been instantiating my java app

GWT Serialization issue with detachable JDO class

2009-02-14 Thread Prempena
Hi, I would like to be able to use JDO objects, persisted by Datanucleus, directly in the GWT client, after the class has been serialized from the server to the client via the GWT serialization mechanism. It works fine when working with transient JDO objects. I'm able to move the object back

Re: ServiceImpl and existing java app

2009-02-14 Thread mikedshaf...@gmail.com
If I'm understanding what you're attempting correctly, that's the easiest way to do it. Your ServiceImpl is still running in pure Java, and that's where an existing Java app can live. Your client will be compiled out into Javascript, so if you wanted your existing Java classes to be available

Re: Closable Tab- Changing Tab text

2009-02-14 Thread GWTFan
Yes that is what I do. I use TabPanel.add(widget, widget). My tab text is a horizontal panel with text and an icon for close. But in our application after the tab is displayed, based on user action the tab text should change. My tab text is a widget. How do I change the widget. I could not find

Re: Inside RichTextArea

2009-02-14 Thread A Friend Of Yours
Got things working a little... could anyone tell me how to get the cursor location in a RichTextArea? On Feb 14, 1:34 am, A Friend Of Yours omer.akh...@gmail.com wrote: Hello I am working on a project where I need a (java) source code highlighting editor. I searched everywhere but could not

Re: Event keyboards left , right , up , down and enter TOO TOO SLOW

2009-02-14 Thread Pascal
I think you're adding a new keyboard listener to your table every time the onBrowserEvent method is called. That will end up being a lot of keyboard listeners. Pascal On Feb 13, 3:53 pm, sibopis...@googlemail.com sibopis...@googlemail.com wrote: Hello all, Please I’d appreciate if you could

Design Question Regarding GWT

2009-02-14 Thread avivg
Hello, I'm a GWT newbie. I've read the GWT docs and played with the samples, but still i have some basic questions about how to design and use GWT in a web app: 1) GWT communicates asynchronously with a server. When a GWT application loads, i would like to be able to display some initial data

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread BobM
This is how the service is called: selectionSearchService.findAllLikeThis(serviceProvider, selectionSearchCallBack); How the service is setup in the module xml file: servlet path=/selectionSearchService class=org.bcs.server.SelectionSearchServiceImpl / this is the report from

Re: Devolping strategy, get parameters on gwt

2009-02-14 Thread Gert
On Feb 13, 3:06 pm, Tuvok davidfreg...@gmail.com wrote: Hi guys, I'm elaboratating the strategy to take in the devolping of my first gwt app; it's gonna be an online tournament and matchmaking system supporting team managing and other (in my mind :D) cool features. I am using Tomcat/Apache

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread gregor
That looks like a glassfish message? Are we talking about hosted mode here or web mode? On Feb 14, 8:07 pm, BobM bmar...@bcscomputers.com wrote: This is how the service is called:     selectionSearchService.findAllLikeThis(serviceProvider, selectionSearchCallBack); How the service is

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread BobM
Yes. It certainly seems to be a glasfish message, but it is hosted mode. I am using netbeans 6.5 and glassfish v3 prelude. When I click Debug main project in NB, it deploys to glassfish but brings up the hosted mode shel and runs the app in a sub shell. On Feb 14, 5:28 pm, gregor

Re: How to recognize hibernate exception on the client side

2009-02-14 Thread jhulford
You can catch it in your RPC service implementation (server-side) and then rethrow it to the client as your own Exception type that's declared as part of your RPC method's signature. If I remember right, you can inspect the hibernate exception types to determine what sort of failure occurred.

Re: GWT Serialization issue with detachable JDO class

2009-02-14 Thread Prempena
Yes, I've read in detail all the Gilead documentation and also tried the examples. Good job indeed! But it is a pity to have to duplicate an object already available to be used at the client side, just because of serialization issues. We should be able to customize the GWT serialization process

Re: Need to enable parallel download .

2009-02-14 Thread Eric Ayers
You could try creating multiple modules and having some parts of the application load up a new GWT module. I don't know of any tutorials, sorry. There is a GWT feature under development called 'runAsync' that is meant to help developer split up code for just the kind of thing you're talking

Third party libraries for GWT

2009-02-14 Thread Omer Shakil
Today while searching on the web, I came across GWT EXT, EXT GWT, SmartGwt, and a ton of other third party libraries. I found a lot of arguments in favor and against them. Can we summarize them here once again please? In short: 1. Which third-party libraries would you recommend in general and

Re: can gwt do flying butterfly?

2009-02-14 Thread ytbryan
thanks adam! On Feb 10, 7:41 am, Adam T adam.t...@gmail.com wrote: yes it can. You should check out RootPanel.get().add(widget, x, y) method to position several Composite widgets on your page, and use a Timer to schedule(delay) the moving of those composites in a Math.random manner using

Re: how to get icon to appear?

2009-02-14 Thread ytbryan
can someone give me a clue on this ? thank you! On Feb 13, 1:37 pm, ytbryan ytbr...@gmail.com wrote: thank you for your reply. sorry mon3y. i was assuming that there is a standard way of making icon appear. i have this toolbarbutton  and its method setIconCls();     ToolbarButton

Re: Third party libraries for GWT

2009-02-14 Thread Shawn Brown
I came across GWT EXT, EXT GWT, SmartGwt, and a ton of other third party libraries. 1. Which third-party libraries would you recommend in general and why. 2. Which third-party libraries would you want to stay away from and why. Well anyone can correct me if I am wrong but I think GWT EXT

[gwt-contrib] [google-web-toolkit commit] r4727 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:20:16 2009 New Revision: 4727 Modified: wiki/ArrayAndObjectLiteralOptimization.wiki Log: Edited wiki page through web user interface. Modified: wiki/ArrayAndObjectLiteralOptimization.wiki

[gwt-contrib] [google-web-toolkit commit] r4728 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:21:28 2009 New Revision: 4728 Added: wiki/BooleanIfExpressionOptimization.wiki Log: Created wiki page through web user interface. Added: wiki/BooleanIfExpressionOptimization.wiki

[gwt-contrib] [google-web-toolkit commit] r4726 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:20:00 2009 New Revision: 4726 Modified: wiki/ArrayAndObjectLiteralOptimization.wiki Log: Edited wiki page through web user interface. Modified: wiki/ArrayAndObjectLiteralOptimization.wiki

[gwt-contrib] [google-web-toolkit commit] r4729 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:23:00 2009 New Revision: 4729 Modified: wiki/BooleanIfExpressionOptimization.wiki Log: Edited wiki page through web user interface. Modified: wiki/BooleanIfExpressionOptimization.wiki

[gwt-contrib] [google-web-toolkit commit] r4730 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:24:27 2009 New Revision: 4730 Modified: wiki/BooleanIfExpressionOptimization.wiki Log: Edited wiki page through web user interface. Modified: wiki/BooleanIfExpressionOptimization.wiki

[gwt-contrib] [google-web-toolkit commit] r4724 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:13:03 2009 New Revision: 4724 Added: wiki/CompilerOptimizations.wiki Log: Created wiki page through web user interface. Added: wiki/CompilerOptimizations.wiki == ---

[gwt-contrib] [google-web-toolkit commit] r4731 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:25:00 2009 New Revision: 4731 Added: wiki/ReturnStatementOptimization.wiki Log: Created wiki page through web user interface. Added: wiki/ReturnStatementOptimization.wiki

[gwt-contrib] [google-web-toolkit commit] r4732 - wiki

2009-02-14 Thread codesite-noreply
Author: j...@google.com Date: Sat Feb 14 06:26:48 2009 New Revision: 4732 Added: wiki/IfToTernaryExpressionOptimization.wiki Log: Created wiki page through web user interface. Added: wiki/IfToTernaryExpressionOptimization.wiki