Re: Using the hibernate4gwt?

2008-10-07 Thread noon
Hi, As far as I know, the Dozer solution suffers of the following issues : - The service class must know how the entity has been loaded to use the proper clone configuration (not a very good encapsulation), - Each configuration is associated to one XML file, which can be expensive for

getting to servlet (non rpc) in hosted mode vs. Tomcat

2008-10-07 Thread Michel
Hi, I need to call a servlet from my GWT application. It all works fine, except that I appear to need different code for hosted mode versus deployment in Tomcat. In hosted mode, this works: RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL

Re: getting to servlet (non rpc) in hosted mode vs. Tomcat

2008-10-07 Thread Isaac Truett
Those are two different URLs. /IDServlet means http://host/IDServlet while IDServlet means http://host/WhereEverTheCurrentPageIs/IDServlet. In hosted mode, your servlet is mapped to http://localhost:/IDServlet. In web mode, your servlet is probably mapped to something like

Firebug tells me that __gwt_initHandlers is not defined

2008-10-07 Thread doubtintom
I've been editing a GWT 1.4.x project to run with GWT 1.5.2. The application works fine in hosted mode. But deployed in Tomcat, it recently started showing only a blank screen in Firefox. Firebug tells me that __gwt_initHandlers is not defined Here is a snapshot of the full Firebug error:

chat GWT webapp on Android: why do I sometimes lose messages ??

2008-10-07 Thread Steven
Hallo everybody, I have just programmed a chat application to be applied to Android (SDK m5-rc15) and to as many browsers as possible. At present I am exploiting only the GWT (1.5.1) API, with the 'smack' library which allows connection to a xmpp server. (For now I'm using just Firefox as XMPP

My project can't use browser back/forward!

2008-10-07 Thread hooly.jia
hello! I created a project and add a lot of panels. Completion of the basic operation of the panel to switch between, but my project can not use the browser's back/forward button. What is the problem? History is not just for the link. How should I do? Thanks.

MenuBarImages problem on mac os x

2008-10-07 Thread Massimiliano Masi
Hello, I'm using Gwt on mac os x on ppc. I created a simple MenuBar with separator (no MenuBarImages), but I got this error in the shell: ERROR] Uncaught exception escaped java.lang.RuntimeException: Deferred binding failed for 'com.google.gwt.user.client.ui.MenuBar$MenuBarImages' (did you

Re: GWT Active Menu Item Highlighted - Please help

2008-10-07 Thread karmela
Still having the same problem. I need to make the selected link from the menu to be in a different color. When the user goes to a specific page, that page on the menu is in a different color. How can I add a class/id to the menu items? In MenuItem class there is private static final String

Re: Memory leak with DOM method ?

2008-10-07 Thread Thomas Broyer
On 7 oct, 15:38, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks. Is there recommandation to use DOM ? how must i use DOM.seteventlistener ? You have to call DOM.setEventListener(elt, null) whenever elt is detached from the document (that's what Widget.onDetach does) or at least at

Re: ScrollTable scroll position

2008-10-07 Thread Thomas Broyer
On 7 oct, 14:04, ivovnenko [EMAIL PROTECTED] wrote: Hello everyone. Is there any way to set scroll position in incubator's ScrollTable? The use case: I'm adding the element to the bottom(top) of the ScrollTable, and I want it to be selected and visible - need to scroll to its position.

Re: getting to servlet (non rpc) in hosted mode vs. Tomcat

2008-10-07 Thread Thomas Broyer
On 7 oct, 14:26, Isaac Truett [EMAIL PROTECTED] wrote: Those are two different URLs. /IDServlet meanshttp://host/IDServletwhile IDServlet meanshttp://host/WhereEverTheCurrentPageIs/IDServlet. In hosted mode, your servlet is mapped tohttp://localhost:/IDServlet. In web mode, your servlet

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

2008-10-07 Thread Manuel
Actually yes. This seems to be slow down in FF3 on my mac. I have asked people to test using ff3 on Windows and they say its slower but not as sever as on the mac. Thanks, Manuel On Oct 6, 5:51 am, Sumit Chandel [EMAIL PROTECTED] wrote: Hi Manuel, Thanks for the follow-up. As far as I can

Re: colorating a tab

2008-10-07 Thread Zied Hamdi
Hi Thomas and Alex, Thanks for your fast reply, I was Ill these last days so sorry for my delay. this is because you don't have the required styles names in your CSS file (main.css). Otherwise, GWT would load the styles from your file. Alex: Belive me they are there and firefox shows them as

Re: JSONP Server Side - Dan Morrill Article

2008-10-07 Thread eggsy84
I expect thats what I'm missing then! My calling method is as follows: public native static void getJson(int requestId, String url, CallModel handler) /*-{ var callback = callback + requestId; var script = document.createElement(script); script.setAttribute(src, url+callback);

ScrollTable scroll position

2008-10-07 Thread ivovnenko
Hello everyone. Is there any way to set scroll position in incubator's ScrollTable? The use case: I'm adding the element to the bottom(top) of the ScrollTable, and I want it to be selected and visible - need to scroll to its position. Thnx --~--~-~--~~~---~--~~ You

i18n, hosted mode with noserver : strange crash

2008-10-07 Thread philippe
Hi all, I'm using i18n for the first time in a GWT app. When I add the following line in my gwt.xml file : extend-property name=locale values=en,fr / The app crash in hosted mode (stack trace below). I'm using a noserver configuration (PHP backend). The problem seems to be that GWT can't find

Re: ScrollTable scroll position

2008-10-07 Thread ivovnenko
Well, haven't noticed such methods in ScrollTable... On Oct 7, 5:32 pm, Thomas Broyer [EMAIL PROTECTED] wrote: On 7 oct, 14:04, ivovnenko [EMAIL PROTECTED] wrote: Hello everyone. Is there any way to set scroll position in incubator's ScrollTable? The use case: I'm adding the element to

Re: ScrollTable scroll position

2008-10-07 Thread ivovnenko69
I'm using gwt1.5, and don't see such methods in ScrollTable. On Tue, Oct 7, 2008 at 8:19 PM, Peter D. [EMAIL PROTECTED] wrote: They were added in GWT 1.5. So if you are using a 1.4 version or lower they do not exist. On Oct 7, 1:11 pm, ivovnenko [EMAIL PROTECTED] wrote: Well, haven't

Re: getting to servlet (non rpc) in hosted mode vs. Tomcat

2008-10-07 Thread Michel
Thank you both for the responses. I haven't tried it out yet, because I am right now stuck with another problem. I wonder if it is caused by a similar misunderstanding on my part. My application needs several files on the server (myproject.properties, log4j.properties, hibernate.cfg.xml and so

Re: ListBox: Drop-Down Images using CSS?

2008-10-07 Thread Kevin
Hi Isaac, I went to this URL, http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=MakingIncubatorBetter, however I could not SVN to either http://google-web-toolkit.googlecode.com/svn/tools/ or

Approximate release time for GWT 2.0

2008-10-07 Thread jbdhl
Can anyone give an estimate for when GWT 2.0 will be released? Will it be within a year? Or two years? I ask because we have decided to move our fairly large application to GWT as soon as the i18n-part becomes sufficiently mature and we need to know how to prioritize our resources. That is, we

Re: getting to servlet (non rpc) in hosted mode vs. Tomcat

2008-10-07 Thread Michel
Hi again, I tried this now: RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL .encode(GWT.getHostPageBaseURL() +IDServlet)); as you suggested, and it works fine, both in hosted mode as well as in Tomcat. Thank you very much for your

Problem import class external path /client/ HELP!

2008-10-07 Thread Shi
Hi! Mine is a project with the classes (in the package DAO) that communicate with the database. The problem is that GWT apparently does not recognize the classes out of /src/client. The struct of my project is: /src/ /src/dao/ /src/to/ /src/client/ /src/server/ /src/public/ The compilation of my

Re: Problem import class external path /client/ HELP!

2008-10-07 Thread Lothar Kimmeringer
Shi schrieb: Hi! Mine is a project with the classes (in the package DAO) that communicate with the database. The problem is that GWT apparently does not recognize the classes out of /src/client. How do you come to that conclusion? The compilation of my GWT application from this result:

Re: How can a GWT application dynamically invoke another GWT application?

2008-10-07 Thread Sumit Chandel
Hi David, Alternatively, until something like the GWT.runAsync() feature comes out, you could design your GWT components as two separate entities, where one can be painted into the main display or main root panel at a time so you can control which component you want to load up and display. I'm

Exception while dispatching incoming RPC call

2008-10-07 Thread Thad
My GWT application is using a native function to call another GWT app embedded in my main app: native JavaScriptObject openWindow(String param) /*-{ $wnd.open('./ProjectB.html?param='+param, '_blank'); return true; }-*/; The ProjectB window opens and it's app runs perfectly.

Re: Problem import class external path /client/ HELP!

2008-10-07 Thread Shi
Thank you for reply me! How should specify the source package in the file .gwt.xml? I changed the file .gwt.xml: module inherits name=com.google.gwt.user.User/ inherits name=com.gwtext.GwtExt/ entry-point class=gwt.client.GwtApplication/ source path=to/ stylesheet

Re: Problem import class external path /client/ HELP!

2008-10-07 Thread Lothar Kimmeringer
Shi schrieb: How should specify the source package in the file .gwt.xml? I changed the file .gwt.xml: [...] source path=to/ That's correct, but you need to add all source-paths if you specify source-paths. So now, client is missing. Regards, Lothar

Re: Memory leak with DOM method ?

2008-10-07 Thread jay
In a few cases, I've found that the Widget I'm working with isn't getting events as I expected. Fixing this entails something like this: class MyWidget extends Widget { . . . protected void onAttach() { super.onAttach(); DOM.setEventListener( getElement(), this ); }

Re: Firebug tells me that __gwt_initHandlers is not defined

2008-10-07 Thread doubtintom
Well, the explanation, in case it is any use to someone else, is this. I had been paring down my previous multiple entry point app to having just one entry point. As I wanted only a log in dialog at the outset, I had nothing, or almost nothing, in the RootPanel. I had not planned on

Re: Own class-generation and repeated call of GWT.create

2008-10-07 Thread Ian Petersen
It's by design that the second and subsequent calls to tryCreate return null. The null return value indicates that the generator has already created an implementation for the given type. You should just bail out early in that case. I usually write my generators like this: public String

Hosted Mode won't load my app, just sits there at http://localhost:8888

2008-10-07 Thread Matt Bishop
I have run into a strange problem with an existing project I have been working on. It runs on GWT 1.5.2, OS X, 10.5.5, Java5. The project I am working on has been in development for the last 4 months on this configuration. I debug it daily, make changes, etc. Yesterday I was starting up the

Re: Hosted Mode won't load my app, just sits there at http://localhost:8888

2008-10-07 Thread Matt Bishop
I forgot to mention, the only logging I can find is in system.log: Oct 7 15:11:33 vanjma12 /System/Library/Frameworks/JavaVM.framework/ Versions/1.5.0/Home/bin/java[423]: CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore. Oct 7 15:11:35 vanjma12

Re: I am not a JAVA developer

2008-10-07 Thread Guy Rouillier
SID wrote: Dear experts, I have come across this GWT recently and I need to know more about it and its usage. I need to develop some intranet applications like Contact Manager, Activity Manager, Some workflow for ESS (like leave request, business travel request, etc), and some other

Re: My project can't use browser back/forward!

2008-10-07 Thread hooly.jia
Thank you! I know how should I do! On 10月7日, 下午10时32分, Isaac Truett [EMAIL PROTECTED] wrote: Hi! Are you using History.newItem() and HistoryListener(s) to switch between panels? Can you show us that code? On Tue, Oct 7, 2008 at 4:32 AM, hooly.jia [EMAIL PROTECTED] wrote: hello! I

Re: ListBox: Drop-Down Images using CSS?

2008-10-07 Thread Kevin
Hey Isaac! It looks like it was a firewall error. You were spot on! Anyway, I'm at home trying to make this JAR so I can ship it to work. I tried to import using Tortoise SVN to http://google-web-toolkit- incubator.googlecode.com/svn/trunk/ but it was asking for a username and password. I tried

[gwt-contrib] Code Review: gwt-google-apis maps Status Code not translated - issue 189

2008-10-07 Thread Eric Ayers
Hello Miguel, Here is another patch I'd like for you to review. It addresses issue 189 in the issue tracker: http://code.google.com/p/gwt-google-apis/issues/detail?id=189 The problem was very easy to solve, but I went ahead and added some more unit testing and eliminated some warnings from a

[gwt-contrib] Re: data binding framework for GWT

2008-10-07 Thread Arthur Kalmenson
Hello Ian, I had a coworker take a look at the data binding framework. It looks really good so far, but we had a couple of questions: - Is it possible to run the binding on demand instead of automatically with the attached listeners? Say I want to only run the binding after the user pressed the

[gwt-contrib] Re: A rose by any other name (what to call addHandlersAndSink)

2008-10-07 Thread Emily Crutcher
Would it be typical to addHandler() for a DOM event and *not* want to sink? If so, then it makes more sense for the names to be uniform, perhaps even left as is. It would typically be the case that you would want to sink, however this is not always true, so we want users to have the option

[gwt-contrib] [google-web-toolkit commit] r3724 - trunk/user/src/com/google/gwt/user/client/ui

2008-10-07 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Tue Oct 7 07:54:14 2008 New Revision: 3724 Modified: trunk/user/src/com/google/gwt/user/client/ui/DialogBox.java trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java Log: Let users drag DialogBoxes off the screen in any direction, but only as

[gwt-contrib] Re: Code Review Request - PopupPanel modal and autoHide accessors

2008-10-07 Thread Ray Ryan
It might be good for the javadoc on the setter methods to mention that they have no immediate effect if called while the dialog is showing. In fact, should we encourage people to hide the dialog before using the new setters? It looks like we have no test coverage for the panel's behavior in its

[gwt-contrib] Re: data binding framework for GWT

2008-10-07 Thread Ian Petersen
On Tue, Oct 7, 2008 at 10:56 AM, Arthur Kalmenson [EMAIL PROTECTED] wrote: Yes, I'm looking to avoid updating the bean automatically. I want to specify when the bean should be updated. I see. I hadn't thought of that use case. As it stands, no, you can't do that. BoundFieldImplB, P has a

[gwt-contrib] Re: A rose by any other name (what to call addHandlersAndSink)

2008-10-07 Thread Emily Crutcher
On Tue, Oct 7, 2008 at 11:30 AM, Ray Ryan [EMAIL PROTECTED] wrote: On Tue, Oct 7, 2008 at 10:51 AM, Emily Crutcher [EMAIL PROTECTED] wrote: Would it be typical to addHandler() for a DOM event and *not* want to sink? If so, then it makes more sense for the names to be uniform, perhaps

[gwt-contrib] Re: A rose by any other name (what to call addHandlersAndSink)

2008-10-07 Thread Ray Ryan
On Tue, Oct 7, 2008 at 11:36 AM, Emily Crutcher [EMAIL PROTECTED] wrote: On Tue, Oct 7, 2008 at 11:30 AM, Ray Ryan [EMAIL PROTECTED] wrote: On Tue, Oct 7, 2008 at 10:51 AM, Emily Crutcher [EMAIL PROTECTED] wrote: Would it be typical to addHandler() for a DOM event and *not* want to

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

2008-10-07 Thread Rajeev Dayal
Thanks for keeping us honest, Ray! Alex and I will add a test for this behavior to DialogBoxTest and reply back on this thread with the code review. On Tue, Oct 7, 2008 at 11:26 AM, Ray Ryan [EMAIL PROTECTED] wrote: Shouldn't there be a change to PopupTest to go along with this? On 10/7/08,

[gwt-contrib] Code Review: gwt-google-apis gears fix typo in method name.

2008-10-07 Thread Eric Ayers
Hi Miguel, This patch addresses issue 183, a typo in a method name: http://code.google.com/p/gwt-google-apis/issues/detail?id=183 I renamed the method in the library class and updated the test. M test/com/google/gwt/gears/client/localserver/LocalServerTest.java M

[gwt-contrib] Re: data binding framework for GWT

2008-10-07 Thread Ian Petersen
Hi Arthur, On Tue, Oct 7, 2008 at 1:51 PM, Arthur Kalmenson [EMAIL PROTECTED] wrote: I don't mean to nitpick, but it's actually the editor that puts back the previous value, not the converter. The converter just throws a ConversionException if the String couldn't be converted. It's up to

[gwt-contrib] [google-web-toolkit commit] r3726 - changes/jat/oophm-branch/dev/core/src/com/google/gwt/dev/util/log

2008-10-07 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Tue Oct 7 15:35:36 2008 New Revision: 3726 Modified: changes/jat/oophm-branch/dev/core/src/com/google/gwt/dev/util/log/SwingLoggerPanel.java Log: Don't display stubbed-out filtering controls. Modified: