How to tell if an image is done loading (or failed) for sure, given LoadListener is broken on IE?

2009-04-15 Thread dduck
Hi, Is there a cross-browser compatible, sure-fire way to tell if an image is loaded? I have used Loadlistener observers, but they do not work consistently on IE, and that's a deal breaker... I need it for delaying preloading of hidden images until the visible ones have loaded, or have failed

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-15 Thread Salvador Diaz
Who agrees that having a solid, feature complete Maven plugin from Google would increase adoption of GWT faster than anything? I think the google team is focusing in the basics first, and that implies not being able to deliver all the goodies at the same time, I think it all fits rather

Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-15 Thread Suren
Hi All, I am just trying out the example code given in the book named Google Web Toolkit Solutions-More cool and useful stuff for resizable columns in FlexGrid. I have created (carefully!!) all the required classes as like mentioned in the book. When I run the application, its launching

Re: How to share RPC service between GWT applications?

2009-04-15 Thread jfeid
Thanks for the reply. The RPC servlet uses a db layer jar which configures a Hibernate factory. Because of different classloaders I assume that there will be 2 instances of this factory. But I cannot say if this will present an issue until I test it. On Apr 14, 9:23 pm, gregor

Re: How to tell if an image is done loading (or failed) for sure, given LoadListener is broken on IE?

2009-04-15 Thread Salvador Diaz
I don't think LoadListener is broken, it's just that there's a catch in using it. The actual loading of the image doesn't take place if such image is not attached to the document, so if you really want to load it without the user seeing the actual load, you have to use a trick like loading it in

Catching exception in a filter.

2009-04-15 Thread jolero
I have maven GWT 1.5 project split into few parts. One of them is WAR with client side and other is WAR with server side included in some EAR application. There is also some JAR wich is proxy between client and server, i mean client and server do not see each other, but they are dependent of this

Re: Need help understanding code snippet

2009-04-15 Thread Paul Robinson
Yellow Jersey wrote: Hi, If someone could help me understand this code snippet from StockWatcher app. I cannot in particular understand the line marked THIS LINE. Button removeStock = new Button(x); removeStock.addClickListener(new ClickListener(){ public void onClick(Widget

Re: Need help understanding code snippet

2009-04-15 Thread Lothar Kimmeringer
Yellow Jersey schrieb: I cannot in particular understand the line marked THIS LINE. int removedIndex = stocks.indexOf(symbol); // - THIS LINE List.indexOf(Object) looks for the position of a given object. So without checking the actual source the implementiation in e.g. ArrayList should

CSS stylename code generation

2009-04-15 Thread Francois Wauquier
Hello I am trying android now, and i appreciate the simple code generation of the class 'R'. For non android user, it allows to associate a graphic element to an id. The id given in an xml file is automatically generated in java, in the class R. I am thinking about an equivalent code generation

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-15 Thread Salvador Diaz
I've experienced a similar issue on IE (Firefox was fine) when trying to run a custom animation. More specifically, I got the same InvalidArgument javascript error. I haven't tried to pin down the exact specific problem as I don't have an IE javascript debugger but I'm pretty sure the cause is

Re: Deferred Bind on Login to load different user interface

2009-04-15 Thread Thomas Broyer
On 14 avr, 09:09, matttai matt...@hotmail.com wrote: Hi everyone, Been checking out alot of the deferred binding tutorials that seem to involve reading from the meta data in the html before loading the appropiate module. If i wanted to load a deferred binding class after a user logs in

Re: insert text into a textarea at cursor position

2009-04-15 Thread Salvador Diaz
You should be able to do that with these methods from TextArea: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/TextArea.html#getCursorPos()

Re: Deferred Bind on Login to load different user interface

2009-04-15 Thread Salvador Diaz
The Showcase is a pretty neat example of how do you go about handling skins: * Go to http://gwt.google.com/samples/Showcase/Showcase.html * Click in one if the colored rectangles located in the top right corner of the page * Voilà ! (Profit ? :) ) You can look at the code that handles that in

Re: CSS stylename code generation

2009-04-15 Thread Francois Wauquier
It seems to look like what i dreamt. It is not code generation, but a java view of the CSS ressource (retrieved as an image Bundle) http://code.google.com/p/google-web-toolkit-incubator/wiki/CssResourceCookbook CssResource will use method names as CSS class names to obfuscate at runtime.

Re: filter for client package in MyApplication.gwt.xml

2009-04-15 Thread Thomas Broyer
On 14 avr, 12:38, SlowFlyer flas...@gmail.com wrote: I can define package with client code in MyApplication.gwt.xml. source path='myclientpackage'/ Is it possible to set filter for this package to ignore some classes? RTFM ? ;-)

Re: Load gwt module before image are loaded on IE7

2009-04-15 Thread Salvador Diaz
I think it should be helpful to understand the bootstrap sequence, maybe it will inspire you to come up with a better solution and share it with us :) http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_WhenDoModulesLoad Cheers, Salvador On Apr 14, 6:55 pm, Dominik Steiner

Re: How to include javascript files in GWT with eclipse plugin?

2009-04-15 Thread Salvador Diaz
If all you want to do is include some external js files: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideAutomaticResourceInjection If you're looking at including jars in your war, it could be worth to look at something for managing your

Re: hosted mode using seperate module for server side code

2009-04-15 Thread Thomas Broyer
On 14 avr, 12:34, Bezge bez...@gmail.com wrote: I use a servlet in the hosted mode which acts as a proxy since i cannot directly communicate with the server due to the same origin policy. Once deployed the servlet is no more needed since both would run on the same server. So I decided to

Re: GWT Serialization with CustomFieldSerializer fails because of SerializationPolicy

2009-04-15 Thread Salvador Diaz
perhaps can we use annotations like @gwt.typeArgs Those are deprecated, you should really avoid using them a simple java class containing a MapString,Object Can't you just use a MapString, Serializable ? If the map is going to be travelling through RPCs you really shouldn't be putting

Re: Problems with ImageBundle in IE8 when not in compatibility mode

2009-04-15 Thread Thomas Broyer
On 14 avr, 18:41, toont...@googlemail.com toont...@googlemail.com wrote: Greetings, Only in IE8 with compatibility mode off do I see the images in the ImageBundle displayed in the right location but other images from the bundle are displayed to the left of the displayed image. In other

Re: Problem in downloading Google Plugin for Eclipse

2009-04-15 Thread sandeepla...@gmail.com
That was nice info. Thanks Paul and Rvanlaak. I have resolved this by downloading plugin from http://code.google.com/p/cypal-studio/downloads/list But the links pointing to actual flavor are still down. :( Thanks Sandeep On Apr 14, 6:36 pm, Rvanlaak rvanl...@gmail.com wrote: Actually,

Re: How to share RPC service between GWT applications?

2009-04-15 Thread gregor
I would be careful about multiple Hibernate session factories etc. You may be able to get away with it, but there are potential problems that might be difficult to trace. I would do some research into your options as they relate to your particular use case. Two main ways to deal with this are:

how to listen event after press shift key for grid

2009-04-15 Thread vruddhi shah
Hi, I am using grid of gwtext, when I select rows with shift+click , Then after Grid can not listen any event like rowclicklistener and rowdblclicklistener. Anybody has solution? -- Vruddhi Shah Pyther Innovations Pvt. Ltd. Land line: 91 78 40074893 617, Devpath Complex C.G. Road, Ahmedabad

Re: File Upload with rpc call

2009-04-15 Thread evgeniy
Yes, you can do it only in FireFox 3, as far as I know. If you have FileUpload element then you can acces to file's data from native JavaScript. For example you have FileUpload and set its ID to file then following method returns binary data contained in file: private native String

Re: DateBox and onValueChange in GWT 1.6

2009-04-15 Thread Thomas Broyer
On 14 avr, 16:27, Peterman pserr...@gmail.com wrote: Hi I'am working with the DateBox component: show a calendar when you click on a box. But I have a problem: the listener onValueChange doesn't work like in the componente DatePicker. This is my code: DateBox dateBox = new DateBox();  

Re: GWT 1.6, JSP's wont compile.

2009-04-15 Thread Salvador Diaz
It looks like the app server on which you're trying to load the jsp doesn't support java 1.5 or you compiled your jsp with 1.4 or something like that. Can't really tell without more details though. I hope that helps you. Cheers, Salvador On Apr 15, 4:13 am, Adrian ahay...@gmail.com wrote: Ok,

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-15 Thread Salvador Diaz
We use the following classes com.google.gwt.widgetideas.table.client.ScrollTable com.google.gwt.widgetideas.table.client.FixedWidthGrid com.google.gwt.widgetideas.table.client.FixedWidthFlexTable ScrollTable table = new ScrollTable(getDataTable(), getHeaderTable());

efficiency of my gwt application

2009-04-15 Thread ytbryan
hi folks, my application has been running very slowly and i would like to know why. can somebody advise me on what are the common bottleneck that i need to optimise? I am pretty new with gwt. i read the speed up gwt compiler series

Re: GWT 1.6 and GXT

2009-04-15 Thread Rvanlaak
I think I'm permanently going to switch to GXT after i've read the following blog: http://www.sambastream.com/blogs/agiannone/26-01-09/rich-internet-applications-and-web-20-gwt-ext-gxt-and-smartgwt He makes some very good points! I've been messing around with the layouts in GXT1.2.3 (with

Re: Problem uploading SmartGWT and GWT to Java GAE

2009-04-15 Thread ivo
Ok, but my question is how to set-up gwt in such a way that it can look for static files from other urls (for the time being regardless of the specific IE quircks) thanks! On Apr 15, 12:25 pm, Salvador Diaz diaz.salva...@gmail.com wrote: You'll probably run into trouble with the Same Origin

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-15 Thread Suren
Hi Salvador, Thanks for the reply. I just had a look at the incubator and I have downloaded the latest jar. My requirement would be having a table with fixed header and resizable columns. So which demo/filename you suggess to use? btw, on the exception side, I tried it in Firefox, where I

Re: GWT 1.6 and GXT

2009-04-15 Thread Paul Grenyer
Hi I think I'm permanently going to switch to GXT after i've read the following blog: http://www.sambastream.com/blogs/agiannone/26-01-09/rich-internet-applications-and-web-20-gwt-ext-gxt-and-smartgwt He makes some very good points! Thanks! Very enlightening! -- Thanks Paul Paul Grenyer

How to get URL for image within an image bundle - if possible

2009-04-15 Thread Joe Hudson
Hi, I'm trying to use SmartGWT which doesn't seem to support GWT Image Bundles. I would like to set a background image on a canvas to be an image from an image bundle. Is it possible to get a url from an image within an image bundle to do this? Thanks. Joe

Re: GWT 1.6, JSP's wont compile.

2009-04-15 Thread Ken
The app server is the one bundled with GWT hosted mode, I believe it's Jetty. If you use a servlet that has 1.5 stuff in it, it works fine. When I was investigating, I noticed that the JSP does successfully produce a servlet. I copied this servlet and compiled it myself and it worked fine, even

Re: efficiency of my gwt application

2009-04-15 Thread Thomas Broyer
On 15 avr, 13:51, ytbryan ytbr...@gmail.com wrote: hi folks, my application has been running very slowly and i would like to know why. You could try compiling in -style DETAILED (or at least PRETTY) and run a JavaScript profiler (Firebug or IE8 developer tools). GWT comes with a benchmark

Re: GWT 1.6, JSP's wont compile.

2009-04-15 Thread Ken
The app server is the one bundled with GWT hosted mode, I believe it's Jetty. If you use a servlet that has 1.5 stuff in it, it works fine. When I was investigating, I noticed that the JSP does successfully produce a servlet. I copied this servlet and compiled it myself and it worked fine, even

Re: insert text into a textarea at cursor position

2009-04-15 Thread ekaldany
Thanks guys, I will study the links and post up if I continue to have trouble. On Apr 15, 5:50 am, Salvador Diaz diaz.salva...@gmail.com wrote: You should be able to do that with these methods from TextArea:

Re: efficiency of my gwt application

2009-04-15 Thread ytbryan
thanks for your reply thomas. for me, there is two cases of slowness. - the rpc is quite slow. i am using it to return a few thousand by eleven column of data(String) - i have a tabset within my application which i copied from the smartgwt showcase when i click on new tab with google map

Re: How to get URL for image within an image bundle - if possible

2009-04-15 Thread Magius
The imageBundle has a unique URL for all the images, in fact it's a one big image made by all the little ones. GWT loads the whole image but uses a clipper control to show only the clip containing the image. On Apr 15, 2:53 pm, Joe Hudson joe...@gmail.com wrote: Hi, I'm trying to use

Re: GWT 1.6, JSP's wont compile.

2009-04-15 Thread Miguel Méndez
It looks like it is a bug with Jetty instance used when a GWT-only web app has JSPs with generics. It does not appear that the App Engine devserverhttp://code.google.com/appengine/docs/java/tools/devserver.html has this problem. I went ahead and filed a bug against GWT for this, Issue

Re: efficiency of my gwt application

2009-04-15 Thread ytbryan
thanks for your reply thomas. for me, there is two cases of slowness. - the rpc is quite slow. i am using it to return a few thousand by eleven column of data(String) - i have a tabset within my application which i copied from the smartgwt showcase when i click on new tab with google map

Re: does com.google.gwt.dev.Compiler need to run prior to hosted mode?

2009-04-15 Thread Tony Strauss
Perhaps I'm not understanding the previous discussion completely and I do not use NetBeans, but I do use GWT's hosted mode with the -noserver option and enjoy the benefits of hosted mode's rapid develop/test cycle. All it takes for me to see a change in the client code is hitting the hosted mode

When does an ImageBundle get downloaded?

2009-04-15 Thread JoeB
Here's a technical question for you GWT gurus - when does the client actually download an ImageBundle from the server? Does this happen during the initial GWT bootstrap sequence, when the browser- and locale-specific JavaScript file is downloaded? Or does it happen when the client code

Re: When does an ImageBundle get downloaded?

2009-04-15 Thread Thomas Broyer
On 15 avr, 17:15, JoeB joe.berm...@gmail.com wrote: Here's a technical question for you GWT gurus - when does the client actually download an ImageBundle from the server?  Does this happen during the initial GWT bootstrap sequence, when the browser- and locale-specific JavaScript file is

Re: weekend styles and DatePicker

2009-04-15 Thread Thomas Broyer
On 15 avr, 16:49, klas klas3...@hotmail.com wrote: Should I use datepicker.setStylePrimaryName(myOwnPlain) ? If you do this, you'll lose the theme style. After reading DatePicker source code it seems like the primary style will *always* be applied. And, by default, it will set the

Re: Load gwt module before image are loaded on IE7

2009-04-15 Thread Vitali Lovich
if you read it, you'll notice it says that body.onload gets fired after all resources are fetched. this is when onModuleLoad gets fired. there doesn't appear to be anything wrong with that documentation. On Wed, Apr 15, 2009 at 9:13 AM, Dominik Steiner dominik.j.stei...@googlemail.com wrote:

Re: Load gwt module before image are loaded on IE7

2009-04-15 Thread Dominik Steiner
Ok, i must have understand something wrong then, but from the wiki i read the last four sequences as following 9. ...cache.js completes. onModuleLoad() is not called yet, as we're still waiting on externalScriptOne.js to complete before the document is considered 'ready'. 10.

Re: No JSNI method generated

2009-04-15 Thread Thomas Broyer
On 15 avr, 15:25, dayre david.c.a...@gmail.com wrote: HI Vitali, Thank you for taking the time to respond.  I very much appreciate it. The reason i'm not using existing GWT widgets, which my example doesn't show, is because i'm trying to attach an onclick() event to ordered list items

Re: Load gwt module before image are loaded on IE7

2009-04-15 Thread Thomas Broyer
On 15 avr, 15:13, Dominik Steiner dominik.j.stei...@googlemail.com wrote: Thanks Salvador for pointing out the interesting link above. I read through it and I must admit that I found an error in it, namely   exactly my problem on IE7, that the img src='reallyBigImageTwo.jpg'/img will

Smartgwt ListGrid Tick boxes

2009-04-15 Thread eoc...@googlemail.com
Hi, I've written an application in gwt which makes use of smartGWT in particular ListGrids with check boxes. Under linux I have no problems. However using a Mac or Windows smartgwt does not appear to have the SelectionAppearance.CHECKBOX option and gives me an error in Eclipse.

Re: Load gwt module before image are loaded on IE7

2009-04-15 Thread Vitali Lovich
Try putting your script for nocache.js in your body instead of head On Wed, Apr 15, 2009 at 11:59 AM, Dominik Steiner dominik.j.stei...@googlemail.com wrote: Ok, i must have understand something wrong then, but from the wiki i read the last four sequences as following 9. ...cache.js

Re: File Upload with rpc call

2009-04-15 Thread Vitali Lovich
http://igstan.blogspot.com/2009/01/pure-javascript-file-upload.html From the comments you cannot read more than 100MB (although I doubt this is an actual restriction) you have to read the whole file (meaning large files will pause your program for quite a while). More importantly, this is FF3

Re: File Upload with rpc call

2009-04-15 Thread Vitali Lovich
On Wed, Apr 15, 2009 at 12:39 PM, Vitali Lovich vlov...@gmail.com wrote: http://igstan.blogspot.com/2009/01/pure-javascript-file-upload.html From the comments you cannot read more than 100MB (although I doubt this is an actual restriction) you have to read the whole file (meaning large

GWT eclipse plug manual install?

2009-04-15 Thread gcr
All, I have looked and I cannot find a link from where I can download GWT 1.6 for a manual install. (I could also be blind.) Is there such a thing, or is it update site or nothing? I am trying to upgrade to GWT 1.6. When I attempt to do so using the update site, It throws an error (see

Re: Announcing GWT 1.6...and quite a bit more

2009-04-15 Thread Darkflame
I've changed the libs over, but when it compiles it gives the message; WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be removed in a future release. Use 'com.google.gwt.dev.HostedMode' instead. (To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM arg.) If I replace

How do I open a file on the client-side?

2009-04-15 Thread Soren Johnson
I have an XML file that is served to the client automatically by being in the root folder of my war. How do I open in my GWT client code it so that I can parse the contents? Or am I going about this wrong? thanks... --~--~-~--~~~---~--~~ You received this message

Re: Announcing GWT 1.6...and quite a bit more

2009-04-15 Thread Vitali Lovich
Html files go into the war directory. On Wed, Apr 15, 2009 at 1:00 PM, Darkflame darkfl...@gmail.com wrote: I've changed the libs over, but when it compiles it gives the message; WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be removed in a future release. Use

Re: efficiency of my gwt application

2009-04-15 Thread gregor
- the rpc is quite slow. i am using it to return a few thousand by eleven column of data(String) a) RPC is *much* slower in hosted mode than deployed in web mode. You should time your RPC performance (separately to the table draw time) when deployed to find out how it is really performing

Re: How do I open a file on the client-side?

2009-04-15 Thread Jeff Chimene
On 04/15/2009 10:06 AM, Soren Johnson wrote: I have an XML file that is served to the client automatically by being in the root folder of my war. How do I open in my GWT client code it so that I can parse the contents? Or am I going about this wrong? thanks... Javascript cannot

Re: Announcing GWT 1.6...and quite a bit more

2009-04-15 Thread Darkflame
I've changed the libs over in eclipse, but when it compiles it gives the message; WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be removed in a future release. Use 'com.google.gwt.dev.HostedMode' instead. (To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM arg.)

Postgres

2009-04-15 Thread Marcos Robson
Hi, I'm new in world of gwt and i need a help for access the DataBase. Where can I find tutorial for connection postgres with gwt thx Marcos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

error in RemoteServiceServlet

2009-04-15 Thread sith
Hi All! I have got problem error 500 with RPC service. my RPC Class public class ComputersListServiceImpl extends RemoteServiceServlet implements ComputersListService { @Override public String[][] getComputersList() { // COBExplorer explorer =

JAXB generated classes under GWT

2009-04-15 Thread RalfM
I also tried to use JAXB generated classes in GWT. When i add the JAXB Sources to the GWT Compiler it works with a lot of errors. But when i tried to use some imports( import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement;) the compiler fails. Has anyone a

Environment variables for servlet in hosted mode

2009-04-15 Thread confusion
I just upgraded to GWT 1.6 and have the following problem. The servlet of my web app calls a native application on the server. In order to test this on my local machine I had used environment variables to specify where the binary resides. With GWT 1.5 I could set them in my Eclipse launch config

Re: How to include javascript files in GWT with eclipse plugin?

2009-04-15 Thread TimOnGmail
Well, what I was concerned with was, in Hosted mode, Eclipse making sure to copy local JS resources into the desired place in the target folder in the 'war' hierarchy. I found the answer to my problem, however: 1. Put my 'js' folder in myProject/war/WEB-INF/classes/com/mycompany/

Re: Problem in downloading Google Plugin for Eclipse

2009-04-15 Thread Keith Platfoot
Hi Sandeep, The URLs are working, although it may not appear so if you navigate directly to them in a web browser. These URLs are Eclipse update sites, which means you'll need to use Eclipse's update mechanism to install the plugin. See the documentation for Eclipse 3.3 (http://

Re: GWT eclipse plug manual install?

2009-04-15 Thread Keith Platfoot
GWT 1.6 download: http://code.google.com/webtoolkit/download.html Keith On Apr 15, 12:45 pm, gcr geoffry.robe...@gmail.com wrote: All, I have looked and I cannot find a link from where I can download GWT 1.6 for a manual install.  (I could also be blind.)  Is there such a thing, or is it

Problem matching an empty cell in a Grid

2009-04-15 Thread Daniel
Hi all I hope that you can help me with a small issue I am having. Basically I am trying to get my program to return true when a cell in a grid is empty. I have found that if I print the contents of the 'empty' grid to console it is a single space character but if I try to match it to that it

Re: Two clients one session

2009-04-15 Thread davidst...@gmail.com
Thank you for explanations. Can you just to tell a little bit more about sharing a cookie cache/address space. How can i configure clients to make them use separate cookie space ? On Apr 15, 2:05 am, Dean S. Jones deansjo...@gmail.com wrote: Sessions are usually bound to a browser, for a given

Re: Two clients one session

2009-04-15 Thread davidst...@gmail.com
To speak the truth i don't know about what video you are talking about, but I'm quite satisfied that the topics title sounds clever On Apr 15, 2:38 am, matttai matt...@hotmail.com wrote: I was unsure if this topic title was a clever play on a popular video circulating the internet. If so

Re: Postgres

2009-04-15 Thread salvador.ce
Hello Marcos, Access to the database to be with gwt servlet. 2009/4/15 Marcos Robson marcos...@gmail.com Hi, I'm new in world of gwt and i need a help for access the DataBase. Where can I find tutorial for connection postgres with gwt thx Marcos -- Carlos Salvador

Re: GWT Serialization with CustomFieldSerializer fails because of SerializationPolicy

2009-04-15 Thread Daniel Kurka
The problem is that the compiler will create the code for al objects in the classpath that implement serialiazable (which are more ore less 1+). This results in enormous compile time and huge javascript... absolutely not doable any more suggestions? 2009/4/15 Salvador Diaz

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-15 Thread Benju
On second though I think I agree with Salvador. Looking closer at the Codehaus plugin it should do the job job in the long term. On Apr 15, 1:20 am, Salvador Diaz diaz.salva...@gmail.com wrote:  Who agrees that having a solid, feature complete Maven plugin from Google would increase

Is it possible to extend a Popup or DialogBox to detect when its moved?

2009-04-15 Thread darkflame
umm..what the title says ;) I just want to trigger some realignment of stuff when the user stops dragging. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Is it possible to extend a Popup or DialogBox to detect when its moved?

2009-04-15 Thread Vitali Lovich
id *onMouseDownhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/DialogBox.html#onMouseDown%28com.google.gwt.user.client.ui.Widget,%20int,%20int%29 *(Widgethttp://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Widget.html

Trouble with asynchronous calls

2009-04-15 Thread badgerduke
Hello: Just started using GWT and I am having difficult tailoring my code to the asynchronous nature of RPC calls. Specifically, my code asks for the results of an RPC call before anything is returned. Here is my class which calls a service. Instead of using an inner class for the

Re: Is it possible to extend a Popup or DialogBox to detect when its moved?

2009-04-15 Thread Darkflame
I'm not sure precisely how to override in this case though. I see the onMouseUp event in the class, and I try putting this into my widget (which extends DialogBox). @Override public void onMouseUp(Widget sender, int x, int y) { dragging = false;

Add Checkbox item inside GWT Listbox

2009-04-15 Thread Ghostcoder
How can we add Checkbox item inside Listbox ,is it available ?.I googled but couldn't find anything useful. Today the Listbox takes only String as arg in addItem ,is it possible to have addItem(Widget widget) if so how ? Thankyou --~--~-~--~~~---~--~~ You

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-15 Thread Daniel Kurka
I invested more ore less 8h and dont have a wokring configuration of the trunk of the mojo gwt plugin and gwt 1.6 Some things work, but many don't. Kinda anoying... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Smartgwt ListGrid Tick boxes

2009-04-15 Thread Sanjiv Jivan
Hi Ed, You probably have a stale jar as the API exists. Try getting a new download, or use the one from your linux box. If you're still having issues, please post on the SmartGWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Sanjiv On Wed, Apr 15, 2009 at 12:16 PM,

Re: efficiency of my gwt application

2009-04-15 Thread Jason Essington
On Apr 15, 2009, at 8:51 AM, ytbryan wrote: thanks for your reply thomas. for me, there is two cases of slowness. - the rpc is quite slow. i am using it to return a few thousand by eleven column of data(String) There are probably two issues here, one the speed of the RPC, and the

How to create GWT Bar Chart from Database data

2009-04-15 Thread Sam
Hi, Can somebody suggest me how to create a GWT Bar Chart or Pie Chart which get populated from Database dynamically by querying the database? The charts should get refreshed every 5 min. Also, which API to use in this regard. Any help is highly appreciated! Thanks, Sam

1.6 Compile problem on Mac OSX

2009-04-15 Thread Dave Finch
Hi, I am using the new eclipse (3.4) plugin with GWT 1.6.4 on Mac OSX 10.5. Everything works great when my project is using Java 5 but when I switch to Java 6 and try to GWT compile I get the following error: Invalid memory access of location rip=01160767 This is a problem for me

Vertical MenuBar and IE cellspacing

2009-04-15 Thread David Durham
I have an issue where I'd like to remove the cellspacing on a vertical MenuBars underlying Table element. In firefox, I can accomplish this with css: border-spacing: 0px;, but this does not appear to work in IE. Has anyone on this list ran into this issue and have a good fix for it? Thanks.

Re: GWT Serialization with CustomFieldSerializer fails because of SerializationPolicy

2009-04-15 Thread fvisticot
I have exactly the same issue with post: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1b7e3851b943b130/2aa2077f4e6c90e1#2aa2077f4e6c90e1 I have used the Serializable solution but my code/library contains a lot of Serializable classes as well... I really would like to

RPC

2009-04-15 Thread Chakroun.M
Hi I have 2 project : ejb and gwt(rpc asynchronous) i would to execute one methode from ejb to gwt(serviceimpl server) I have executed a methode but it show me this message [WARN] StandardContext[]Exception while dispatching incoming RPC call ejb HOW EXECUTE A QUERY FROM EJB PROJECT IN GWT

Re: Trouble with asynchronous calls

2009-04-15 Thread Ian Petersen
On Wed, Apr 15, 2009 at 1:22 PM, badgerduke badgerd...@gmail.com wrote: Just started using GWT and I am having difficult tailoring my code to the asynchronous nature of RPC calls.  Specifically, my code asks for the results of an RPC call before anything is returned. Here is my class which

Re: GWT 1.6, JSP's wont compile.

2009-04-15 Thread Ken
Wow, thanks for this tip! I've been meaning to explore App Engine, and this gave me even more reason to. I just tested it all out and it works like a charm. I was worried it wouldn't allow the quick turnaround, but you can use GWT hosted mode with it. They did a really sweet job with this.

Re: Relative Position of a Widget

2009-04-15 Thread Vitali Lovich
Try actually adding a mouse click handler, not overriding onBrowserEvent. If you are writing your own widget, I believe there's a guide on the wiki that explains event handling. On Wed, Apr 15, 2009 at 6:11 PM, raulsan ufreeurs...@gmail.com wrote: Nope, it is not doing the same as before, I

Re: Is it possible to extend a Popup or DialogBox to detect when its moved?

2009-04-15 Thread Vitali Lovich
Sorry, was looking at the 1.5 doc. protected void beginDragging(MouseDownEvent event) { super.beginDragging(event); // my code goes here } protected void continueDragging(MouseDownEvent event) { super.continueDragging(event); // my code goes here } protected void

GWT EJB

2009-04-15 Thread Midou
Hi Please i like create an application uses GWT+EJB+MySQL+RPC Have you some sources,tutorials or documentations to help me to create this application. thinks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: GWT 1.6, JSP's wont compile.

2009-04-15 Thread Adrian
Thanks for the replies guys, this is very helpful. I've added a link to this discussion in the bug report. - Adrian On Apr 16, 10:09 am, Ken kenfehl...@gmail.com wrote: Wow, thanks for this tip!  I've been meaning to explore App Engine, and this gave me even more reason to.  I just tested

Re: efficiency of my gwt application

2009-04-15 Thread ytbryan
thank you all for your advices... i learn something new again today. :D On Apr 15, 11:11 pm, Jason Essington jason.essing...@gmail.com wrote: On Apr 15, 2009, at 8:51 AM,ytbryanwrote: thanks for your reply thomas. for me, there is two cases of slowness. - the rpc is quite slow. i am

Re: IE6 + history support

2009-04-15 Thread Ian Bambury
It's a security thing and you can't do anything about it. If you could, it wouldn't be much use as a security thing. Why do you need to do it that way, anyway? Perhaps there's a better way. What is the bigger picture? --~--~-~--~~~---~--~~ You received this message

Re: Relative Position of a Widget

2009-04-15 Thread raulsan
But the thing is that it used to work perfectly with gwt-1.6.1 and int x = Event.getRelativeX(event, this.getElement()); int y = Event.getRelativeY(event, this.getElement()); I don't understand why I can not override onBrowserEvent, I have also overriden an addMouseListener and I would not

Re: Two clients one session

2009-04-15 Thread Adligo
Hi, Generally with J2EE serverside (or .net) your session object has a one to one relation ship with your user, it is communicated to the server one of two ways; 1) As a cookie (what your seeing with the session id in the cookie) 2) As a cgi parameter of the url (ie

Re: Relative Position of a Widget

2009-04-15 Thread Vitali Lovich
Can you post your code for your class. I can't really comment further without understanding what it is you are trying to do. On Wed, Apr 15, 2009 at 7:56 PM, raulsan ufreeurs...@gmail.com wrote: But the thing is that it used to work perfectly with gwt-1.6.1 and int x =

Re: Relative Position of a Widget

2009-04-15 Thread raulsan
Yes, of course I did not post it before because I thought it was not the right place to do it. The class is an extended class from GWTCanvas, but I was asking about mouse events and about the disappearing of a function :) and because of that I posted here. The class is: /** * */ package

Re: erro while try to do Store data in the datastore Example

2009-04-15 Thread Kevin
Same here... On Apr 13, 9:44 am, @lex alexmonte...@gmail.com wrote: Hi, I would like some help to resolve this problem at the example of GWT using Gdatastore:  http://code.google.com/webtoolkit/tutorials/1.6/appengine.html#data All application run well following the getting start tutorial,

Re: erro while try to do Store data in the datastore Example

2009-04-15 Thread Kevin
Yes, hitting the same problem. So far the example was great. Outstanding in fact. Being new to Java I'm afraid I'm stuck On Apr 14, 8:11 am, Jake B jakeboon...@gmail.com wrote: I'm having the same problem.  If anyone else has gone through the app engine tutorial and fixed this issue on

  1   2   >