Catch DC from DataBase

2014-04-07 Thread Davide Micheletti
Hi all, i'm developing an application that can stay without actions for some minutes/hours.. The problem is that after some minutes the server (or the DB) disconnects from the DB (or the server).. So how can i catch this disconnection from DB? And what can i do to solve it? Thanks.. -- You recei

Re: Disabling ActionCells

2014-04-07 Thread Thad Humphries
My solution: I copied the com.google.gwt.cell.client.ActionCell into my app and modified it by adding an alternative htmlDisabled member and a boolean enabled member with get/is methods. In render() I sb.append() html or htmlDisabled based on the value of enabled. I also added a class to the i

Re: GWT development locked out

2014-04-07 Thread Jens
For your first problem in DevMode: GWT 2.6 uses Jetty 8 which is compiled against slf4j-api-1.6.x. Also GWT's svn repository, that stores all 3rd party libraries, only contains slf4j-api-1.6.1 and slf4j-log4j12-1.6.1. So I would assume something in your maven project provides a 1.5.x binding.

GWT development locked out

2014-04-07 Thread joerg.hohwil...@googlemail.com
Hi there, with my GWT application I ran into the problem that I can not run/debug anymore. 1. With DevMode I get this: SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6] SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details. .

Re: Transfer many small objects to GWT client

2014-04-07 Thread chepprey
There was a good talk given at the last GWT Create conference on various data transport mechanisms available to GWT . -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from th

Re: is there any chance to stop the current event

2014-04-07 Thread Jim Douglas
It's preferable to post updates to the original thread to retain context, rather than starting an entirely new thread. https://groups.google.com/d/msg/google-web-toolkit/6IIti4gp-us/ZuHBQhnYawUJ You're looking for event.preventDefault(). But again, if you're simply trying to block the paste fu

Re: is there any chance to stop the current event

2014-04-07 Thread Bhumika Thaker
Could you tell us where are you trying to paste? In textbox...what is your goal? On Monday, 7 April 2014 21:19:31 UTC+5:30, Arun Kumar wrote: > > hi, > > I want to discard the paste event.for this I caught the paste event. > But I'm failing to kill the event. If there is any chance to do it

is there any chance to stop the current event

2014-04-07 Thread Arun Kumar
hi, I want to discard the paste event.for this I caught the paste event. But I'm failing to kill the event. If there is any chance to do it,pls give me the solution. I tried event.cancelBubble(true); and event.stopPropagation(); but these two are not working for my requirement. My code:

Re: Similar to php post method

2014-04-07 Thread Matteo Fioravanti
Thak you very much! Il giorno sabato 5 aprile 2014 16:50:42 UTC+2, Matteo Fioravanti ha scritto: > > Hi there, a function have this code to generate a list of event formatted > with html and css. > > for (int i = 0; i < 10; i++) { > HTML div = new HTML ("Link"); > RootPanel.get("mainLayout").a

Re: GWT Development Mode Exception

2014-04-07 Thread Pippo Baudone
thanks a lot Thomas, now everything work! Il giorno lunedì 7 aprile 2014 12:36:05 UTC+2, Thomas Broyer ha scritto: > > Oh, I see in the OpenJDK code that this can only happen if there's a > SecurityManager. GWT doesn't add one but AppEngine does. > So I would first try without AppEngine (uncheck

Re: GWT Development Mode Exception

2014-04-07 Thread Thomas Broyer
Oh, I see in the OpenJDK code that this can only happen if there's a SecurityManager. GWT doesn't add one but AppEngine does. So I would first try without AppEngine (uncheck AppEngine in the Eclipse project's settings). If it solves the problem, then report the issue to the AppEngine team at Goo

Re: GWT Development Mode Exception

2014-04-07 Thread Pippo Baudone
my machine name is: karma-PC the URL is: http://127.0.0.1:/project.html?gwt.codesvr=127.0.0.1:9997 Il giorno lunedì 7 aprile 2014 12:00:49 UTC+2, Thomas Broyer ha scritto: > > No, the problem is that Java tries resolves the name of the machine where > your browser is running (likely the same

Re: GWT Development Mode Exception

2014-04-07 Thread Jens
> > -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl > project.html -logLevel INFO -codeServerPort 9997 -port -server > com.google.appengine.tools.development.gwt.AppEngineLauncher -war > C:\dir\project\war project.example > > I have no " * " into the run configuration. >

Re: GWT Development Mode Exception

2014-04-07 Thread Thomas Broyer
No, the problem is that Java tries resolves the name of the machine where your browser is running (likely the same machine where DevMode is running) from the IP address, and it gives a hostname containing a "*". More specifically: your browser connects to the DevMode through TCP/IP. DevMode gets

Re: GWT Development Mode Exception

2014-04-07 Thread Pippo Baudone
The "Run Configuration" is this: -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl project.html -logLevel INFO -codeServerPort 9997 -port -server com.google.appengine.tools.development.gwt.AppEngineLauncher -war C:\dir\project\war project.example I have no " * " into the r

Re: GWT Development Mode Exception

2014-04-07 Thread Pippo Baudone
> > I've tried to run the default "Web Application Project" but without success >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+un

Re: GWT Development Mode Exception

2014-04-07 Thread Jens
You somewhere have a " * " in the host part of the URL. Thats not allowed as its not a valid URL then. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: GWT Development Mode Exception

2014-04-07 Thread Thomas Broyer
As I just commented on StackOverflow (http://stackoverflow.com/questions/22908072/gwt-development-mode-error), I think you have a network configuration issue. On Monday, April 7, 2014 11:23:05 AM UTC+2, Pippo Baudone wrote: > > >When i try to execute the project on Chrome, I receive this err

GWT Development Mode Exception

2014-04-07 Thread Pippo Baudone
When i try to execute the project on Chrome, I receive this error: Exception in thread "Code server listener" java.lang. IllegalArgumentException: invalid host wildcard specification at java.net.SocketPermission.init(Unknown Source) at java.net.SocketPermission.(Unknown Source) at

Re: Why setHTML(".."); but then getHTML(); return ".." (Gwt)?

2014-04-07 Thread Davide Micheletti
try myInlineHtml.getwidget(); it return the HTML "widget".. probably with tags but without all the structure Ex: VerticalPanel mainPanel = new VerticalPanel(); RootPanel.get().add(mainPanel); mainPanel.add(new HTML("Hello")); System.out.println(mainPanel.getWidget(0)); output-> Hello after

Re: Transfer many small objects to GWT client

2014-04-07 Thread Jens
I guess using pure JSON + JavaScript OverlayTypes + RequestBuilder will be your best bet in terms of performance as it has no overhead at all. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop

Transfer many small objects to GWT client

2014-04-07 Thread XadmozX
I work on a project with really a lot of graphical data displayed on a HTML5 Canvas. We use GWT RPC (currently we version GWT 2.5) to transfer collections of many many small objects representing geometry details from server to client. Overhead on such data that comes with GWT RPC is so big that