Re: Changing keyboard navigation in Tree

2009-01-27 Thread LEDUQUE Mickaël
On 27 jan, 08:57, LEDUQUE Mickaël wrote: > > I'm not sure if it's the best approach, but you could search the > > list's history for "violator pattern" and see if it helps you. > > > Ian > > Well it's an interesting (if kind of frightening) approach, but I > think that allows me to call some "p

Re: getElementById is always null

2009-01-27 Thread saurabh hirani
Glad that you found the error. I would like to add something to this post which may not be directly related to your problem but is something worth mentioning if you are going to use DOM. Doing DOM parsing while using custom GWT widgets can cause major problems in the future. I see that you are do

Re: Threaded Servlet

2009-01-27 Thread stephen.sm...@paretopartners.com
I never said it cretaed multiple instances, simply a new thread per request. On Jan 23, 4:30 pm, Shawn Pearce wrote: > On Fri, Jan 23, 2009 at 08:17, stephen.sm...@paretopartners.com < > > stephen.sm...@paretopartners.com> wrote: > > > Standard servlets create a new thread per request but from a

Re: Threaded Servlet

2009-01-27 Thread Jason Morris
Actually most containers pool their processor threads in order to conserve and regulate resources. The RemoteServiceServlet in GWT simply decodes the response and invokes the method which the request relates to. Theres no magic or rocket science going on here. I don't know what tests you've r

Re: Threaded Servlet

2009-01-27 Thread Lothar Kimmeringer
stephen.sm...@paretopartners.com schrieb: > On Jan 23, 4:30 pm, Shawn Pearce wrote: >> On Fri, Jan 23, 2009 at 08:17, stephen.sm...@paretopartners.com < >> >> stephen.sm...@paretopartners.com> wrote: >> >>> Standard servlets create a new thread per request but from a few >>> simple test i have ru

Re: Error executing RPC call after updating to GWT 1.5.3

2009-01-27 Thread Sam sem
Make Sure You are only using Jars of 1.5.3 .remove Gwt-user and Gwt-servlet jars from your build path and place jars from version 1.5.3 also Update your GWT_HOME ..make sure GWT_HOME points to GWT Version 1.5.3 Thanks Muhammad Ismail cell (PAK) : +92.322.5100362 e-mail: sam4.

Gen widget roadmap

2009-01-27 Thread Endi
Hi We will start to develop some app in a short time. We want to use gwt for gui which we already used for a few projects. During design phase we tested new gen2 widgets and its very usefull but still most of available widgets are not ported. For example popupPanel widget is a must for our widget

Re: What's the fastest way on doing string concatenation in GWT?

2009-01-27 Thread Fred Janon
I just tried StringBuilder and StringBuffer, they seem to perform the same, I doubt that in the JS environment there is a reason for a difference between the 2 since JS is single threaded. The huge difference between StringBuffer/Builder and a String concatenation is that the usual String "+" perfo

Re: Search Engine Indexing

2009-01-27 Thread bryanb
In case it's any help to anyone, this is how I think I'll solve the indexing problem. My wife has a web site on which she sells various things, the descriptions of which are stored in a database. I re-jigged her website as a way to learn GWT. She was quite keen to have the GWT version, but pretty

Re: What's the fastest way on doing string concatenation in GWT?

2009-01-27 Thread Adam T
yep, I would say it is "horses for courses" - as the issue I linked to ( Issue 945: Performance improvement for JS string appends in IE) indicates, simple string + string is slow in IE over a certain number of Strings - but as you see in your simple case it might not be worth changing to somthing

Re: Problem Runnig GWTTestCase on Linux

2009-01-27 Thread gwt_newbie
Thanks for your suggestions but unfortunately nothing worked. We even tried different linux machine that has other GUI apps running. We got same issue "Can't load library libswt-pi-gtk-3235.so". Any other pointers? Many Thanks!!! On Jan 25, 10:38 am, Daniel Wellman wrote: > See this thread for

Re: What's the fastest way on doing string concatenation in GWT?

2009-01-27 Thread obesga
I've read something here http://sinnema313.wordpress.com/2008/11/16/performance-tuning-a-gwt-application/ That GWT StringBuffer / StringBuilder implementation is not very accurate... and, as 'GWT bytecode' is Javascript, I don't know which is the best method - it seems to be the old, demoniz

Re: Debugger app always out of memory on Vista

2009-01-27 Thread Mr. Taylor
Look in this forum for setting the maxmemory parameter in the build- gwt.xml On Jan 25, 4:01 pm, Arilian wrote: > I'm trying to setup and run the basic app (from applicationCreator) in > intellij. Every time I try to run it it gives me any out of memory > error. I've upped the -Xms to 4096 and s

Re: Threaded Servlet

2009-01-27 Thread Shawn Pearce
On Tue, Jan 27, 2009 at 01:42, stephen.sm...@paretopartners.com < stephen.sm...@paretopartners.com> wrote: > > I never said it cretaed multiple instances, simply a new thread per > request. > *sigh*. I must not have had enough coffee in the morning before replying to your post. I read "thread"

interacting users

2009-01-27 Thread Owen Powell
Hi guys, I'd like to know a bit about how to setup user interactions. For example, suppose I wanted to make a website where people can play chess against each other. People login, see a list of open tables they can sit at, when two people sit at the same table a game begins. What's the general id

Re: Threaded Servlet

2009-01-27 Thread stephen.sm...@paretopartners.com
@shawn Thats ok :) @jason Well these "Tests" are very basic. i create an app with a simple rpc call to the server that does something like this: public boolean serverMethod() { for (;;) { if (false) { break; } } return true; } public boolean anotherMethod() { return true;

JVM crash in hosted mode

2009-01-27 Thread Florian
Hello everyone, Whenever I try to run or debug my JVM crashes when GWT development browser tries to access a https page. Probably the credentials are missing butt a crash seems to be a rather odd reaction to that... Anybody ever noticed some similar problems? best regards Florian --~--~-

Re: How to Debug GWT code using eclipse Remote Debugging feature

2009-01-27 Thread Rodrigo Bravo
Also, keep in mind that the noserver option will not work with server side code. You will need another debugger, external, for that. On Jan 26, 8:05 pm, Ashish Soni wrote: > Thanks a lot for the help. > > Regards, > Ashish Soni > > On Mon, Jan 26, 2009 at 3:43 PM, Алексей Циунчик > > > > wrote

Deploying GWT application on tomcat

2009-01-27 Thread Edo
Hello, I'm new to GWT, and this is the first application I'm trying to develop. First time I deployed my application to tomcat and tried to run it, I received a message that doGet is not supported, So I added a class that extends RemoteServiceServlet, and implements the doGet by delegating it to

Singleton with FF

2009-01-27 Thread Yousef.Ghandour
I've created a single class, with singleton patter, and called the method getInstance() to obtaine a reference to that object. Everything went fine on the hosted browser, however, things get weired once deployed and used with FF. An error with null reference was thrown and nothing else, not even a

Re: Help with RPC, database and properties file

2009-01-27 Thread Isaac Truett
I would recommend connection pooling. The database parameters can be specified through the Tomcat admin console or via context.xml deployed with your application. - Isaac On Mon, Jan 26, 2009 at 8:09 PM, Fitch wrote: > > Hi, i´m devloping a GWT web application and i´m having problems > deploying

Re: Deploying GWT application on tomcat

2009-01-27 Thread Isaac Truett
It doesn't sound like there's anything wrong with your deployment, it sounds like you're trying to do something invalid. Why are you sending GET requests to an RPC servlet? On Tue, Jan 27, 2009 at 5:11 AM, Edo wrote: > > Hello, > I'm new to GWT, and this is the first application I'm trying to >

Re: Deploying GWT application on tomcat

2009-01-27 Thread Edo
Thank you for your response. I tried to launch the application, by navigating the browser to http://localhost:8080/mgmtWebProject/mgmt/LoadControlPlaneNodesServiceImpl and I received an error, which said that doGet is not supported. That's why I added the doGet method. How can I send POST reque

whitelist

2009-01-27 Thread Arend van der Veen
HI All, I am developing a GWT application with requires access to a restful service (not java based). I can compile the program and post it on a web server with the web service and everything works great. However, I am having trouble getting it to work properly in hosted mode. I previously tri

Re: Concerns about scalability and limitation in GWT

2009-01-27 Thread RamiK
> Make sure your GWT compiler setting is -OBFUSCATE if you haven't done > so - this makes a huge difference. Otherwise you may have written > something strange to produce this js file of 500Kb. I had the output setup for PRETTY because we are in debug mode. I retested it in OBFUSCATE output and t

Re: interacting users

2009-01-27 Thread gregor
Your server needs to run the games, and you need to look at "server push" mechanisms to update the client board displays with moves. You probably also need to do this so people can invite each other to play. One method is polling, the other is blocking threads (known as "comet"). You can look thes

Re: Deploying GWT application on tomcat

2009-01-27 Thread Isaac Truett
Right. You got the correct response for what you tried to do. RPC service implementations do not support GET. But I think you misunderstood the response. It's perfectly normal. You should not be pointing your browser to an RPC service. You should request an HTML page (or JSP, PHP, ASP, etc.) that i

Re: Error executing RPC call after updating to GWT 1.5.3

2009-01-27 Thread mgrouch
Thanks and nope this doesn't seem to fix it. We are using only GWT 1.5.3 jars. When we build on windows and deploy resulting WAR on Linux tomcat there is no issue. When we build with GWT 1.5.3 on linux and deploy resulting WAR on Linux tomcat the issue occurs. Is there a possibility that it is a b

Re: interacting users

2009-01-27 Thread Owen Powell
Thanks Gregor. For now I'm just going to focus on getting a game instance on the server and allowing two clients to connect and play, "server push" (reading about it on the GWT Incubator site) seems like it's just what I needed. ~Owen On 27 ene, 17:32, gregor wrote: > Your server needs to run t

Re: Deploying GWT application on tomcat

2009-01-27 Thread Edo
Thank you. It's working fine now. Edo On Jan 27, 6:33 pm, Isaac Truett wrote: > Right. You got the correct response for what you tried to do. RPC service > implementations do not support GET. But I think you misunderstood the > response. It's perfectly normal. You should not be pointing your br

Transforming a FastTreItem Interrior node to Leaf

2009-01-27 Thread Gabriel Guerrero
Hi All, im using the FastTree library from the incubator, i have a case where i want to transform an interior node to a leaf node, i can do it the otherway around using the becomeInteriorNode(), but there is no becomeLeafNode, i was checking the history of the class and at some point there was a b

Re: Help with RPC, database and properties file

2009-01-27 Thread Fitch
Thank you.. and then how I access this web.xml from my .java file in the server package?? thanks On 27 ene, 05:37, Litty Preeth wrote: > Are you sure the application is able to find the properties file? Did u try > debugging and find out this? Also the best way to configure ur connection > para

right click on map

2009-01-27 Thread huy
I cant figured out how to do this in GWT. I want to right click on the map which will cause a context menu to open. The context menu will only have one option to add a marker. So if the user click on the add marker then a marker should be added at the right clicked location. Any help is apprec

what widget to display status?

2009-01-27 Thread tony.p..
Hello all, I'm developing a gwt app and in it I want to display error messages, status, etc... to the user in a widget. I want to display it in a gray color, to distinguish it from the rest of the content. I used a label, but it's not that pretty. What widget do you recommend? Thank you. Tony --

HRElement

2009-01-27 Thread tony.p..
Hello All, How can I add an hr element, like the ones in the gwt showcase? I tried HRElement(), but I can't get it to work. I know that HTML ("") works, but I'm trying to stay away from direct html as possible. Thank you, Tony --~--~-~--~~~---~--~~ You received th

GWT Module deploy and Tomcat?

2009-01-27 Thread etekno
Hi everyone, i've a problem: i'm using GWT with Eclipse and i'm trying to make a googlemaps web service (practically i've got a list of addresses in a mysql database and i want to display a map with a marker for every address i got), using Eclipse i can run it as GWT Application and it opens corre

Re: GWT Module deploy and Tomcat?

2009-01-27 Thread etekno
This is the code of the module i'm trying to deploy, it's a test module at the moment just showing a map and if u double click it marks where u click. package com.mycompany.project.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.maps.client.MapWidget; import com.googl

RE: Error in pushbutton

2009-01-27 Thread Ananda
Can some please help me here... Regards, Ananda -Original Message- From: Ananda Rao [mailto:ananda.hayavadh...@googlemail.com] Sent: Tuesday, January 27, 2009 10:51 AM To: google-web-toolkit Subject: Error in pushbutton HI, i have a code where in i have added pushbutton with images in

GWTCanvas and clear()

2009-01-27 Thread Axel Kittenberger
Hi! I'm experimenting with GWTCanvas from the incubator and experienced following problem. In Google Chrome as well in Opera the clear() function does not seem to work.In firefox/seamonkey it works well: To be seen here. In the lower left should be a clock turning when clicking start. http://leo

Automatically updating data

2009-01-27 Thread fatjack1...@googlemail.com
Hi, I wonder if anyone can help me. I am trying to get a box with an Arraylist of items to automatically update its contents whenever the user adds a new item. So it writes to the database (this works fine) but then it does not automatically update the textbox. The only way i can get it to work i

Embedding a JavaScript-based widget in GWT?

2009-01-27 Thread adambossy
This seems so simple, that I must be overlooking some obvious GWT characteristic. I would like to embed a TweetGrid from here: http://tweetgrid.com/searchtips The code is short and simple: http://tweetgrid.com/widget/widget.js"; type="text/ javascript"> I wrap this as an HTML element, an

Re: How to make SplitPanels move in only one direction??

2009-01-27 Thread vroom_vroom
BUMP no one has experience with split panels? On Jan 23, 1:30 pm, vroom_vroom wrote: > Hello, > I am using both horizontal and vertical split panels in my > application. I am trying to make my split only draggable in one > direction. So, for example...I have a vertical split and a right and > l

How to log/audit/track GWT RPC calls?

2009-01-27 Thread ka1n
I'd like to track the usage of my GWT application. Specifically, I'd like to be able to log the service class and method of each RPC call. I wasn't able to find anything in RemoteServiceServlet that might help me to do this. Can anyone point me in the right direction? --~--~-~--~~---

Re: Embedding a JavaScript-based widget in GWT?

2009-01-27 Thread adambossy
It just occurred to me that this pretty obviously won't work, because it is calling the widget tag inside of an existing enclosure. How do I call this aside from ripping out the widget internals and rewriting them myself? Adam On Jan 27, 12:02 pm, adambossy wrote: > This seems so simple, tha

Error Message

2009-01-27 Thread fatjack1...@googlemail.com
Hi, I am receiving the following error message when I try to add a new item to a database: [ERROR] Uncaught exception escaped java.lang.UnsupportedOperationException: This panel does not support no-arg add() at com.google.gwt.user.client.ui.Panel.add(Panel.java:66) at com.project

Re: Error Message

2009-01-27 Thread Jason Essington
What ever type of panel you are attempting to add a widget to, hasn't overriden the .add(Widget child) method from Panel, so it is throwing this exception. perhaps there is a different method that you are supposed to use to add widgets to your panel? -jason On Jan 27, 2009, at 2:40 PM, fat

Re: Error Message

2009-01-27 Thread fatjack1...@googlemail.com
Does anyone know which method/panel I should be using? On Jan 27, 10:01 pm, Jason Essington wrote: > What ever type of panel you are attempting to add a widget to, hasn't   > overriden the .add(Widget child) method from Panel, so it is throwing   > this exception. perhaps there is a different m

Can not build Chattr.

2009-01-27 Thread Alexandra Zhang
Hi, I followed the Readme instruction and set up the build.xml properties. But I can not get Chattr application build. The error message is "...Chattr/build.xml:16: Cannot find AppEngine SDK; please reconfigure this build file" My build.xml is as following:

Sizing Images from ImageBundle in browser view?

2009-01-27 Thread Markus Kolb
Hi, is it possible to show images loaded with ImageBundle in the browser with a different size as saved in the bundle image? I've a bundle of menu images with size 256x256 pixels. In the menu they should be shown with e.g. 75x75 pixels but when showing the content of the menu the same image with

Re: Can not build Chattr.

2009-01-27 Thread Alexandra Zhang
Hi, I got it run now. In fact this is my first error message, and I've gone through quite different errors or warning/exceptions last night and today. Most of the things I do are just follow the readme and google. Just what somebody said Java 6 won't work or only Java 6 works are not trure. My j

Re: java.io.Serializable

2009-01-27 Thread danox
Sorry for the late response. A series of user errors led to my previous attempts to update the thread being eaten up. The crux of the problem I was having is that the example I was following (linked by Arthur) was written pre-gwt 1.5. It copies an older version of the processCall method that ign

Problem with anchor on image

2009-01-27 Thread drbethel
I am having an issue with the anchor tags on this page I am working on. If I remove the anchor tags then it looks like what I want but if I replace the tags then it leaves a gap between the two tables. I have to have the anchors for navigation so need to know how to remove the space below the im

Web ontology language file (OWL) into gwt tree

2009-01-27 Thread eoc...@googlemail.com
Hi, I have a web ontology file (.owl) that I have parsed into a string using the RequestBuilder and was wondering how I can access all of the individual owl:classes and their subclasses on the client, then build a tree from this hierarchy as the xmlparser/dom does not work for this purpose (thoug

Re: Web ontology language file (OWL) into gwt tree

2009-01-27 Thread gregor
Hi Ed, Are you talking about just a smallish ontology (i.e. the class definitions etc) which you want to display/edit (e.g. for schema design purposes), or are you talking about processing a lot of data from/defined in an OWL source (e.g. navigation/search purposes)? I don't use OWL sources, but

Re: What's the fastest way on doing string concatenation in GWT?

2009-01-27 Thread Fred Janon
Interesting blog, thanks Oskar. Fred On Tue, Jan 27, 2009 at 23:40, obesga wrote: > > I've read something here > > > http://sinnema313.wordpress.com/2008/11/16/performance-tuning-a-gwt-application/ > > That GWT StringBuffer / StringBuilder implementation is not very > accurate... and, as 'G

Re: GWTTestCase v/s Selenium

2009-01-27 Thread rex
Thanks for the reply Arthur. Assuming that you use Selenium currently or have used it in the past, can you please suggest whether to use it alone or use it with some other framework like PushToTestMaker? Which way is more effective? Can anyone else also have an answer? Thanks, rex On Jan 22, 5

Proxying REST URLs to Google AppEngine

2009-01-27 Thread Devraj Mukherjee
Hi all, We are developing an application that uses Google AppEngine for its backend / REST provider and using GWT to developing the JavaScript / UI. Is there are way we can proxy the REST URL (obviously running on a different port number on Google AppEngine development server) to the GWT applicat

Form Factory with JSNI

2009-01-27 Thread eduardoj
Hi! I'm developing GWT/GWT-Ext application. For this, i created a simple "framework" for control de flow of the application. In this control, i want send to client (from the servlet) a name of form (gwt-ext Panel) to show in the screen. But, GWT don't support reflection... then i create a "FormFa

Nothing about better i18n support in roadmap

2009-01-27 Thread jbdhl
Better i18n support is the one and only thing keeping us from converting to GWT. See e.g. http://code.google.com/p/google-web-toolkit/issues/detail?id=2926 I wonder why the roadmap http://code.google.com/webtoolkit/makinggwtbetter.html#roadmap does not mention a word about better i18n suppor

Re: How to log/audit/track GWT RPC calls?

2009-01-27 Thread hazy1
Here are some options: 1) Using a servlet filter mapped to the URL pattern of your GWT servlets 2) Log yourself inside of the GWT servlet Matt On Jan 27, 4:01 pm, ka1n wrote: > I'd like to track the usage of my GWT application.  Specifically, I'd > like to be able to log the service class an

Re: Help with RPC, database and properties file

2009-01-27 Thread Litty Preeth
Well you can get that by: getThreadLocalRequest().getSession().getServletContext().getInitParameter("db_driver"); You can do this only from your RPC service implementation class - Litty On Tue, Jan 27, 2009 at 10:40 PM, Fitch wrote: > > Thank you.. > and then how I access this web.xml from my

Dictionary types other than String?

2009-01-27 Thread rjcarr
Is there any way to use types other than String in Dictionary? I know the api says get(String):String, but I was hoping there is some some support for Arrays and Objects? Maybe somewhere in the JSON package? --~--~-~--~~~---~--~~ You received this message because

Re: Dictionary types other than String?

2009-01-27 Thread rjcarr
OK, I managed to answer my own question (the JSON idea came to me as I was writing the question). What I want to do can certainly be done with the JSON tools, but I still think it'd be great to have similar functionality built right into Dictionary. On Jan 27, 9:02 pm, rjcarr wrote: > Is there

Re: How to add points in chart by clicking on different areas of it?

2009-01-27 Thread John Gunther
Client-side GChart 2.4 was just released today, It supports click events, so that might help you. Unfortunately, there are still no client to model coordinate conversion functions. Please consider adding a request for this feature to the GChart issue tracker. In the meantime, looking at the setCli

Client-side GChart 2.4 Released: Click events, pop-ups, selection brushes, etc.

2009-01-27 Thread John Gunther
Client-side GChart is an open source, 100% pure Java chart library for GWT supporting line, pie, and bar charts. With version 2.4, GChart now tracks mouse activities over the chart, and selects points, displays pop-ups, and fires off click events accordingly. HomePage: http://gchart.googlecode.c

Re: Threaded Servlet

2009-01-27 Thread Jason Morris
I tried reproducing your test to see what you were getting. I found the behavior when I ran the code in Hosted Mode and executed "serverMethod()" /twice/ before executing "anotherMethod()" (it didn't matter how many Hosted Browsers I had open). When running the same test in real browsers (I u

How to insert/create data nto database using Hibernate?

2009-01-27 Thread Srihari.Ch
Hi all, I need to know basics of Hibernate about creating hibernate methods/classes to retrieve and save data to and from the database. I am new to Hibernate. Send me .. it's urgent Srihari.Ch --~--~-~--~~~---~--~~ You received this message

Re: Proxying REST URLs to Google AppEngine

2009-01-27 Thread Gabor Szokoli
On Wed, Jan 28, 2009 at 1:49 AM, Devraj Mukherjee wrote: > > Hi all, > > We are developing an application that uses Google AppEngine for its > backend / REST provider and using GWT to developing the JavaScript / > UI. Is there are way we can proxy the REST URL (obviously running on a > different

Re: whitelist

2009-01-27 Thread Daniel Kurka
Hello Arend, you should read up on the same orign policy: The browser is not allowed to perform an ajax request to any other server than the webpage was loaded from (same host AND same port). I noticed that IE somtimes lets you do this request (even though it shouldnt). So if you want to contact y

Re: Singleton with FF

2009-01-27 Thread Daniel Kurka
Could you post a code short code example demonstrating that issue? by the way: which gwt version are you using? 2009/1/27 Yousef.Ghandour > > I've created a single class, with singleton patter, and called the > method getInstance() to obtaine a reference to that object. Everything > went fine on

Re: Proxying REST URLs to Google AppEngine

2009-01-27 Thread Devraj Mukherjee
>> We are developing an application that uses Google AppEngine for its >> backend / REST provider and using GWT to developing the JavaScript / >> UI. Is there are way we can proxy the REST URL (obviously running on a >> different port number on Google AppEngine development server) to the >> GWT ap