Re: RPC in timer and memory leak

2009-03-02 Thread Алексей Циунчик
Hi Koalina, We have similar issue in our app. In our case we use static field to hold RPC service reference. In your case please check whether proxyAsync.getServiceWsNaviInMare() return always the same instance of RPC service, or not. If it is always the same, refector your code to return

Re: Add DOM Object to an Event Handler

2009-03-02 Thread Алексей Циунчик
Hi Mat, We start digging exatly in the same direction. We are also generating html for big tables on serverSide. Currently what we plan to do to add handlers is following: private native void regHandlers() {/* $wnd.customEventHandler(someParam) = function() { } */} 2009/2/28 Mat

Re: Add DOM Object to an Event Handler

2009-03-02 Thread Алексей Циунчик
The only thing, you shold remember is to clean this field on some moment before app closes (to aviod memory leaks). Hi Mat, We start digging exatly in the same direction. We are also generating html for big tables on serverSide. Currently what we plan to do to add handlers is following:

Re: Jsni Help

2009-03-02 Thread jagadesh
Hi i read the article. i was able to get the primitive values liks String , int e.t.c. i want an javascript object to be transmitted to java Code[Gwt ] . Thank u, jagadesh. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Jsni Help

2009-03-02 Thread sutarsa giri
you may could set the jsni method return instance of subclass of com.google.gwt.core.client.JavaScriptObject for example : class Person extends JavaScriptObject{ } On Mon, Mar 2, 2009 at 4:34 PM, jagadesh jagadesh.manch...@gmail.comwrote: Hi i read the article. i was able to get the

Re: Jsni Help

2009-03-02 Thread sutarsa giri
sory, i make a mistake when pressing keyboard, so message sent before i finish typing sample is like this class Person extends JavaScriptObject{ protected Person(){} public native String getUserName ()/*-{return this.username.}-*/; public native void setUserName(String

Re: RPC in timer and memory leak

2009-03-02 Thread koalina
Thx for help... I think i'm already in this situation, async service is retrieved through the following class: public class ProxyAsync { public ProxyAsync(){} public static ProxyAsync getInstance(){return new ProxyAsync();} public CCN_WS_WrapNaviInMareAsync getServiceWsNaviInMare()

Re: Error's , PLEASE HELP ME :)

2009-03-02 Thread taourirt1...@googlemail.com
kannst du bitte uns zeigen, wie du das gemacht hast? ich habe nämlich das gleiche problme!!! Gruß taourirt1981 On 9 Jan., 17:50, King m-em...@hotmail.de wrote: hello guys, at first i thank you all for the big feedback! I solved the problem :) I have asked friend who helped me thank

Openfire and gwt

2009-03-02 Thread frankCostello
Hi, In openfire I have registred 2 user : user1 and user2 When the users connect to openfire with the method connect(), in the server the users are online. The problem is this : When I create a chat beetwen the users , the 2 users don't receive any messages. Do I do to set openfire server??

tabpanel and size computation in onLoad

2009-03-02 Thread LEDUQUE Mickaël
Hello, I have a TabPanel. Inside this tabpanel, I have some widgets that do some size computation (using getOffsetHeight) in their onLoad() method. What I get : The widgets that are in the selected panel when the TabPanel is inserted get their size properly. But for the widgets inside the other

Re: tabpanel and size computation in onLoad

2009-03-02 Thread LEDUQUE Mickaël
We're using GWT 1.5.2 on IE6 if that matters. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from

Re: tabpanel and size computation in onLoad

2009-03-02 Thread alex.d
Widgets don't return proper size values because they are not attached to the DOM before they are showed. Use fixed size values. On 2 Mrz., 11:46, LEDUQUE Mickaël mledu...@gmail.com wrote: We're using GWT 1.5.2 on IE6 if that matters. --~--~-~--~~~---~--~~ You

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread Sean
I did restart Tomcat still no go. #1 The latest I tried putting all the google files and Web-INF directory in my base http directory. So I am just calling: http://www.celticlock.com/Foo.html I'm on a shared Tomcat server and the documentation says I can only have one Web-INF directory there

Unable to solve the warning.

2009-03-02 Thread poonam pac
Hello, As suggested by you I made the changes in my Application developed integrating GWT+Spring +Hibernate in the Hosted mode but still I am getting the same Warning message as : StandardContext[]Exception while dispatching incoming RPC call Please help me to solve it. I am sending

Render site in Tab

2009-03-02 Thread Naga
Hello, Is it possible to show the contents of a site upon clicking a tab in TabPanel? Thanks --~--~-~--~~~---~--~~ 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: tabpanel and size computation in onLoad

2009-03-02 Thread LEDUQUE Mickaël
Well, I would already have done that if that was possible. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To

Re: Unable to solve the warning.

2009-03-02 Thread Lothar Kimmeringer
poonam pac schrieb: Hello, As suggested by you I made the changes in my Application developed integrating GWT+Spring +Hibernate in the Hosted mode but still I am getting the same Warning message as : StandardContext[]Exception while dispatching incoming RPC call Please help

Re: tabpanel and size computation in onLoad

2009-03-02 Thread gregor
If you size you tab content widgets in % terms, they will size up automatically when tab is selected if the main one is set to 100%, 100%. If you can't do that, there are several ways to approach the problem depending on exactly what your situation is. Perhaps you can be more specific. As Alex

Re: tabpanel and size computation in onLoad

2009-03-02 Thread LEDUQUE Mickaël
Well, there are multiple case here : 1. Widgets that adjust themselves depending on the size of neighbour widgets. Some widgets have their size fixed decided in CSS styles, the other ones adjust depending on this size in the onload() 2. widgets like the incubator PagingScrollTable that have

Re: Render site in Tab

2009-03-02 Thread Sean
Yeah sure, at some point a GWT site can boil down to one Widget, typically some Panel. Just add that Panel to your tabPanel, which you add to the RootPanel and you should have your desired functionality. On Mar 2, 7:39 am, Naga nvija...@gmail.com wrote: Hello, Is it possible to show the

Re: tabpanel and size computation in onLoad

2009-03-02 Thread gregor
1. Widgets that adjust themselves depending on the size of neighbour widgets. Some widgets have their size fixed decided in CSS styles, the other ones adjust depending on this size in the onload() Widgets given fixed sizes in CSS/code should appear correctly when tab selected. Is there a

Re: Which version of Javascript is supported ?

2009-03-02 Thread Arthur Kalmenson
I'm not really sure what you mean by that? Do you mean which version of ECMAScript does GWT generate? It generates the version that's supported by a each specific browser. -- Arthur Kalmenson On Mon, Mar 2, 2009 at 12:58 AM, bala.linux bala.li...@gmail.com wrote: Hello All,          Can

Re: Render site in Tab

2009-03-02 Thread rb
You can put the site in a GWT Frame in the tab panel. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Frame.html On Mar 2, 7:39 am, Naga nvija...@gmail.com wrote: Hello, Is it possible to show the contents of a site upon clicking a tab in TabPanel?

Problem with Openfire e Gwt

2009-03-02 Thread frankCostello
Hi, In openfire I have registred 2 user : user1 and user2 When the users connect to openfire with the method connect(), in the server the users are online. The problem is this : When I create a chat beetwen the users , the 2 users don't receive any messages. Do I do to set openfire server?? The

Re: Project dependencies in GWT 1.6.1

2009-03-02 Thread Duong BaTien
On Mon, 2009-03-02 at 09:19 +0900, Shawn Brown wrote: Hi, GWT 1.6 seems to require a JAR of the required project be put in the war/WEB-INF/lib directory, even for hosted mode. Has anybody been able to work around this? (not using additional build tools) Yes. You also need it in your

Exception while dispatching incoming RPC call: IndexOutOfBoundsException

2009-03-02 Thread Mirek
Hi, I've just came through this forum, found several posts on this topic, but haven't found any explanation. Is it a GWT bug? Or am I missing somethig? I'm using GWT 1.5.3, Glassfish V2, NetBeans IDE 6.5 and also Sanjiv's SmartGWT. I've got simple application, just added simple service, but

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread John Ivens
I'll bet dollars to donuts that you are having the same problem that I had. The sample code works in embedded tomcat but not in external tomcat. You need to add code something like this: if (observationSvc == null) { observationSvc = (ObservationServiceAsync) GWT.create(ObservationService.

Re: Conditional Breakpoints in Hosted Mode

2009-03-02 Thread Sean
Yeah, I was able to get conditionals to work. I added a varable int test = 0 and incremented it in a loop and put in the condition of the break point test50 and it stopped when test was 51. A small workaround could be, insert if(test50) System.out.println(BREAK) and put a break Point

Re: tabpanel and size computation in onLoad

2009-03-02 Thread Duong BaTien
On Mon, 2009-03-02 at 04:22 -0800, alex.d wrote: Widgets don't return proper size values because they are not attached to the DOM before they are showed. Use fixed size values. Yes, you are right. But please share how to set the widget to the height of the browser window. For example, in the

SSH in GWT

2009-03-02 Thread CarlosGE
Hi, it's possible to use ssh in gwt, creating an web ssh client? Best regards --~--~-~--~~~---~--~~ 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: Render site in Tab

2009-03-02 Thread Naga
Thank you. I appreciate. I was looking for something like this. Thanks. On Mar 2, 7:19 am, rb rex.beir...@gmail.com wrote: You can put the site in a GWT Frame in the tab panel. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... On Mar 2, 7:39 am, Naga

Re: SSH in GWT

2009-03-02 Thread Lothar Kimmeringer
CarlosGE schrieb: Hi, it's possible to use ssh in gwt, creating an web ssh client? It should be, but the effort to do this is much higher than using one of the many Java-Applets that do the same and are freely available. Regards, Lothar --~--~-~--~~~---~--~~

Re: No Style for my DatePicker

2009-03-02 Thread Jason Essington
indeed, GWT 1.6 does come with 3 different sets of CSS HOWEVER you would have to import one of the themes in your project to get them inherits name='com.google.gwt.user.theme.chrome.Chrome'/ For instance. -jason On Feb 26, 2009, at 2:47 PM, Arthur Kalmenson wrote: I think you have to

Re: How to use SuggestionHandler

2009-03-02 Thread donnysp
Can anyone tell me if this javadoc is correct?: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/SuggestBox.html#addEventHandler(com.google.gwt.user.client.ui.SuggestionHandler) Has anyone got this working before? D On 1 Mar, 14:30, donnysp

Re: iGoogle-like effect with GWT

2009-03-02 Thread Jason Essington
Grab Ryan Dewsbury's book Google Web Toolkit Applications one of the example projects in there shows you exactly how to do that! -jason On Mar 1, 2009, at 3:59 AM, Pete Kay wrote: Hi, I would like to use GWT to develop a user portal much like the front page of iGoogle where user can add

Re: What are your thoughts on Cappuccino and SproutCore?

2009-03-02 Thread jottos
This is real competition, for those of you that haven't tried 280North's PowerPoint application http://280slides.com/Editor/ is really good. Another application that is jaw dropping is the Photoshop clone http://pixlr.com/editor which was done in Flash. Both of these applications are

How is it possible to override the Same Origin Policy in Hosted mode?

2009-03-02 Thread Ian Bambury
1.6 seems to have introduced this as a new 'feature' for IE in hosted mode and it means I can't run PHP on a server on a different port. Now I seem to remember that the only reason it comes up is because Google coded it in, so how do I override it and get back to where I was in 1.5? Any ideas

Using the WordCloud object in GWT with the visualization API

2009-03-02 Thread jfagh
I am trying to use the WordCloud object (http://visapi- gadgets.googlecode.com/svn/trunk/wordcloud/doc.html) in my GWT project. Is there a way I could create such an object without embedding the code in the HTML? Can I just add some libs in my GWT project instead? Thanks. James

Re: How is it possible to override the Same Origin Policy in Hosted mode?

2009-03-02 Thread Ian Bambury
Don't worry - sorted :-) Ian http://examples.roughian.com 2009/3/2 Ian Bambury ianbamb...@gmail.com 1.6 seems to have introduced this as a new 'feature' for IE in hosted mode and it means I can't run PHP on a server on a different port. Now I seem to remember that the only reason it comes

Setting up GWT on Websphere Development Studio Client for iSeries

2009-03-02 Thread TerriLyn
Has anyone done this? I've been looking without success for a method of setting this up. I've found many links of how to set it up in Eclipse, but WDSC isn't Eclipse, despite having Eclipse at it's center. (So a lot of the stuff that Eclipse can do, WDSC can't.) Help! I'm lost and can't

Openfire with Gwt

2009-03-02 Thread frankCostello
Hi, In openfire I have registred 2 user : user1 and user2 When the users connect to openfire with the method connect(), in the server the users are online. The problem is this : When I create a chat beetwen the users , the 2 users don't receive any messages. Do I do to set openfire server?? The

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread Sean
I do have that code, I even added in the null check just to be doubley sure and still no go. It works in hosted mode, just with this web.xml (and I tried removing the com.ll.server from teh Servlet-class) and I get the same error message. From my gwt.xml : servlet path=/Foo

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread Sean
I want to know if I am understanding this correctly. I outputted GWT.getModuleBaseURL()+/Foo and I get: http://www.celticlock.com//Foo Now if I understand this correctly, the /Foo at the end should be picked up because of the url-pattern/Foo/url-pattern to map to the Servlet-name. And the

Re: Setting up GWT on Websphere Development Studio Client for iSeries

2009-03-02 Thread TBirch
I use gwt designer and just included wdsc as one of the eclipse targets during the install. I use it for the entire development process. When ready to deploy, I just use the deployment feature that is part of the product. I use jtopen for i5 data access. Works very well for me. On Mar 2, 4:48 

Re: Announcing GWT 1.6 Milestone 2

2009-03-02 Thread Ian Bambury
I doubt it is considered a showstopper. No-one took any notice when I mentioned it for 1.5 and 1.6.0, but it severely limits what I would like to be able to do. There are a number of widgets which cannot be used anywhere inside DisclosurePanels and StackPanels and probably other things. For

Re: Announcing GWT 1.6 Milestone 2

2009-03-02 Thread Ian Bambury
id's in HTMLPanels have to be unique within an application for every HTMLPanel every time you use it. so, for example, if you go to a database and get some HTML returned, say div id=nameFred/div then getElementById(name).getInnerHTML() will return 'Fred' But from then on, every

GWT with JPA not working in hosted mode

2009-03-02 Thread grishag
Hi, I have a problem running GWT in hosted mode using JPA annotated domain classes. I can compile my project to JavaScript, package it up in a war and run it on a server no problem but I can't do the same in hosted mode. Really annoying, without hosted mode development is really slow. Here is

Re: tabpanel and size computation in onLoad

2009-03-02 Thread BaTien
I have tried the followings at the end of omModuleLoad of the entry point, but it does not work. Any suggestion? int totalHeight=DOM.getElementPropertyInt(app.getElement (),clientHeight); int topPanelHeight = app.getTopPanel().getOffsetHeight(); // set the height of the 2 widget in

Re: Jsni Help

2009-03-02 Thread jagadesh
Thanks For The Help , sutarsa giri Let me work on the tip you provided. Thank u, jagadesh. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

GWT and Oracle OC4J

2009-03-02 Thread t2k269
Hi all, When I am running GWTShellServlet in JDeveloper with standalone OC4J, I got the following errors in the log file. 09/03/03 12:23:59.977 samples-Hello-webapp: Module location: file:/D:/ jdevstudio10134/jdev/mywork/gwtsamples/Hello/classes/mo/hello/ Hello.gwt.xml 09/03/03 12:23:59.977

gwt development in team

2009-03-02 Thread gops
hi , i have a small team of 7 developers working on gwt. what should be the set up of the project ? .. i.e. version control system , testing etc. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: Exception while dispatching incoming RPC call: IndexOutOfBoundsException

2009-03-02 Thread alex.d
I'm using Eclipse and allows me to set breakpoints to Exceptions - not to just some line of code - i'm sure netbeans can do this too. It's what this Exception is telling you - somewhere you/gwt/whoever is going through the ArrayList, getting out of bounds. On 2 Mrz., 11:52, Mirek

Google Chrome + KeyboardListener

2009-03-02 Thread Txang
Hello ppl. Im making a small window that should close when I press escape (to leave without do anything more) or enter (reading several characters from a magnetic card). My listener gets all characters but escape. Any idea?. My listener's code is: public void onKeyDown(Widget sender, char

[gwt-contrib] Re: Code Review: Updated SliderBar to use the new event handling

2009-03-02 Thread Uwe Maurer
Hi Emily, thanks for code review. On Fri, Feb 27, 2009 at 5:13 PM, Emily Crutcher e...@google.com wrote: The changes look great. Thank you for doing this. Any chance you could you create a gen2 version of SliderBar and deprecate the widgetideas version instead on modifying the widgetideas

[gwt-contrib] Re: Code Review: Updated SliderBar to use the new event handling

2009-03-02 Thread Uwe Maurer
Hi, I moved the SliderBar to com.google.gwt.gen2.picker.client package, and the demo to the corresponding package. I added methods to use the new event handling to the Slider Bar, and removed the old event methods. I added style injection via Gen2CssInjector. (and added the images and css to

[gwt-contrib] Code Review: ValueSpinner, inject style only once

2009-03-02 Thread Uwe Maurer
Hi, I noticed that the ValueSpinner has code in the constructor which injects the style (default or user provided). This means it gets injected everytime a ValueSpinner is created. This patch changes this so that the default style only gets injected once. Also it changes from KeyboardListener

[gwt-contrib] Re: Code Review: Updated SliderBar to use the new event handling

2009-03-02 Thread Emily Crutcher
LGTM On Mon, Mar 2, 2009 at 7:49 AM, Uwe Maurer uwe.mau...@google.com wrote: Hi, I moved the SliderBar to com.google.gwt.gen2.picker.client package, and the demo to the corresponding package. I added methods to use the new event handling to the Slider Bar, and removed the old event

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

2009-03-02 Thread codesite-noreply
Comment by sco...@google.com: It will always be put into root war directory, there's currently not an option to deploy deeper. For more information: http://code.google.com/p/google-web-toolkit/wiki/WAR_Design_1_6 --~--~-~--~~~---~--~~

[gwt-contrib] [google-web-toolkit commit] r4900 - in trunk/dev/core: src/com/google/gwt/dev/resource/impl test/com/google/gwt/dev/resource/...

2009-03-02 Thread codesite-noreply
Author: amitman...@google.com Date: Mon Mar 2 07:32:12 2009 New Revision: 4900 Modified: trunk/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java trunk/dev/core/test/com/google/gwt/dev/resource/impl/DefaultFiltersTest.java Log: This patch enables Gwt's custom

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

2009-03-02 Thread codesite-noreply
Comment by sco...@google.com: That's correct, a more advanced setup would involve having a source war folder and copying it's contents into a target war folder; the GWT compiler would output into the target war folder, and you could clean just by blowing away the whole folder. For more

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

2009-03-02 Thread codesite-noreply
Author: e...@google.com Date: Mon Mar 2 11:17:57 2009 New Revision: 4901 Modified: releases/1.6/user/src/com/google/gwt/user/datepicker/client/DateChangeEvent.java Log: Fixes issue 3365 by making sure the date value is copied upon the construction of the date value change event. review

[gwt-contrib] [google-web-toolkit commit] r4902 - in trunk/dev: core/src/com/google/gwt/dev/shell oophm/overlay/com/google/gwt/dev/util

2009-03-02 Thread codesite-noreply
Author: j...@google.com Date: Mon Mar 2 18:14:20 2009 New Revision: 4902 Modified: trunk/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java trunk/dev/core/src/com/google/gwt/dev/shell/SyntheticClassMember.java trunk/dev/oophm/overlay/com/google/gwt/dev/util/Jsni.java