Catch DC from DataBase

2014-04-08 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

Re: GWT development locked out

2014-04-08 Thread joerg.hohwil...@googlemail.com
I went through all my dependencies for a thousand times and checked with mvn dependency:tree and m2e Dependency Hierarchie. Also in Eclipse when I open the Type org.slf4j.Logger[Factory] there is only the one from 1.7.6. However when I debug some other version from an unlocatable source is

com.google.gwt.i18n.client.LocalizableResource.Generate.fileName() ?

2014-04-08 Thread joerg.hohwil...@googlemail.com
Hi there, I have created an incremental GWT generator that is creating an interface derived from com.google.gwt.i18n.client.Constants. The problem is that the source of the generation is some class that is a representative for a resource bundle and I can not generate the Constants interface

Re: Catch DC from DataBase

2014-04-08 Thread joerg.hohwil...@googlemail.com
Hi Davide, this is not really a GWT related question. However, you should figure out what is actually causing the disconnect. The typical approach in Java is to use a DB connection pool like c3p0 or commons-dbcp. Some drivers like oracle also come with their own pool implementation. IMHO also

Re: How can we centralize the myInlineHTML inside myFlowPanel (GWT) y just using 1 FlowPanel 1 InlineHTML without using other extra Widgets?

2014-04-08 Thread joerg.hohwil...@googlemail.com
Hi Tom, this is not really a GWT specific question but rather an HTML+CSS issue. GWTs FlowPanel is just rendering a DIV tag. Whatever your inner HTML may be and how your CSS looks like will decide if it works as expected or not. Whenever I do such layouting, I copy the DOM-structure produced

Re: Serialize super class fields

2014-04-08 Thread joerg.hohwil...@googlemail.com
Hi Leon, could you give more information on this? This is working well for me. Are your fields final? http://code.google.com/p/google-web-toolkit/issues/detail?id=1054 Cheers Jörg Am Montag, 7. April 2014 04:43:05 UTC+2 schrieb Leon: Current GWT serialization only allow me to serialize

Issue with com.google.gwt.user.client.Timer

2014-04-08 Thread Patricia Lin
I am doing a very simple Timer() and the timer is not getting fired in Firefox. It works fine in Chrome and Safari. Code snippet - public void setTimer(){ ... timer = new Timer(){ @Override public void run(){ logger.log(Level.INFO, Inside Timer.run()); } } I am on Mac,

Select row in datagrid

2014-04-08 Thread Айдар Ульданов
I have a search form near with my datagrid. User may search data in table. Result of search is other table. When user click on any result of search he should see selected row on table where placed corresponding data. I use a setKeyboardSelectedRow method of datagrid. But it doesn't work when

Re: GWT development locked out

2014-04-08 Thread Thomas Broyer
On Monday, April 7, 2014 10:14:31 PM UTC+2, joerg.h...@googlemail.com wrote: 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,

how to use UIbinder

2014-04-08 Thread Francesco Viscomi
Hi all, i'm new on GWT; I followed the example on http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html the one with title Hello Widget World; and everything seems right; My answer is how i can see the word Hello able baker charlie (that is what is printed in Hello.ui.xml); file

Re: Catch DC from DataBase

2014-04-08 Thread Davide Micheletti
Thanks and sorry for the OT..i thought that GWT had a function that permits to control the connection to the DB.. i have not the possibility to change the JDBC so i'm thinking to create an auto refresh connection only if there are some minutes of dead time.. But i don't know if there is something

Re: com.google.gwt.i18n.client.LocalizableResource.Generate.fileName() ?

2014-04-08 Thread Thomas Broyer
On Tuesday, April 8, 2014 10:57:37 AM UTC+2, joerg.h...@googlemail.com wrote: Hi there, I have created an incremental GWT generator that is creating an interface derived from com.google.gwt.i18n.client.Constants. The problem is that the source of the generation is some class that is a

Re: how to use UIbinder

2014-04-08 Thread Alberto Mancini
Hi, you have to insert your widget into the dom: RootPanel.get.add(helloWorld); just before the end of onModuleLoad. Cheers, Alberto On Tue, Apr 8, 2014 at 11:28 AM, Francesco Viscomi fvisc...@gmail.comwrote: Hi all, i'm new on GWT; I followed the example on

Error 404 in the RPC GWT

2014-04-08 Thread paolamontorio
hi all, when there is a RPC i have an error 404, in the tutorial GWT there is written : If invoking your RPC call fails with a 404 StatusCodeException, your web.xml may be misconfigured. my web.xml is --- servlet servlet-namegreetServlet/servlet-name

Re: how to use UIbinder

2014-04-08 Thread Francesco Viscomi
Thanks Alberto; just another thing; I want to display the names in just one tab so i've changed the file Hello.ui.xml as reported below; But i'm able to view the multitab section but i cannot see the names anymore; Could you give me help once again? ===

Re: Error 404 in the RPC GWT

2014-04-08 Thread Jens
If you haven't you must rename your GWT module to myopengov, e.g. module rename-tomyopengov -- 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 to

Re: how to use UIbinder

2014-04-08 Thread Alberto Mancini
Hi, I think that the problem is that TabLayoutPanel has to be used woth LayoutPanels (http://www.gwtproject.org/doc/latest/DevGuideUiPanels.html#LayoutPanels) whereas i told you to use RootPanel (that is not a LayoutPanel). Change RootPanel.get.add(helloWorld); with

Re: how to use UIbinder

2014-04-08 Thread Francesco Viscomi
Grazie Alberto; infinite grazie Il giorno martedì 8 aprile 2014 11:28:05 UTC+2, Francesco Viscomi ha scritto: Hi all, i'm new on GWT; I followed the example on http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html the one with title Hello Widget World; and everything seems

Re: How can we centralize the myInlineHTML inside myFlowPanel (GWT) y just using 1 FlowPanel 1 InlineHTML without using other extra Widgets?

2014-04-08 Thread Tom
Thank you very much for ur answer. Yes, u right it's just css problem. I setHTML(table.../table); that is why it didn't go to the center. On Tuesday, April 8, 2014 7:15:06 PM UTC+10, joerg.h...@googlemail.com wrote: Hi Tom, this is not really a GWT specific question but rather an HTML+CSS

Is this serious GWT err “Somethin other than an int was returned from JSNI method @…”?

2014-04-08 Thread Tom
I have this error longtime ago but not sure when it happened, Maybe (*BUT NOT SURE 100%*) when i do some sort of mouse move identify the coordinate of widget. This is the error: [WARN] - Something other than an int was returned from JSNI method

Re: Error 404 in the RPC GWT

2014-04-08 Thread paolamontorio
unfortunately it doesn't work :-( I have already in gwt.xml the module rename-tomyopengov but the problem 404 remains Il giorno martedì 8 aprile 2014 12:41:49 UTC+2, Jens ha scritto: If you haven't you must rename your GWT module to myopengov, e.g. module rename-tomyopengov -- J. --

Re: Error 404 in the RPC GWT

2014-04-08 Thread Alberto Mancini
Hi, there is some associated error before the '404' (probably in the console view in eclipse) ? For instance, is your service implemented in 'its.server.GreetingServiceImpl' ? Cheers, Alberto. On Tue, Apr 8, 2014 at 2:18 PM, paolamonto...@gmail.com wrote: unfortunately it doesn't work

Re: Error 404 in the RPC GWT

2014-04-08 Thread paolamontorio
Hi Alberto, The problem 404 is with Tomcat, the app Gwt is deployed on tomcat and there is the error 404. With Eclipse with Jetty server is all ok and the app GWT works well and there isn't problem. In order the service is implemented in its.server.GreetingServiceImpl. Ciao Paola Il giorno

Re: Is this serious GWT err “Somethin other than an int was returned from JSNI method @…”?

2014-04-08 Thread Jens
Browsers support sub pixel rendering and also provide zoom features. Both means that coordinates are doubles in modern browsers but GWT only provides an API to get int based coordinates. In GWT 2.5.1 and below there was no JS code to round these doubles back to int and thats why you see these

Re: Error 404 in the RPC GWT

2014-04-08 Thread Thomas Broyer
What does Tomcat says if you open that URL in your browser (or if you look at the response in your browser's developer tools) Is there anything in Tomcat's logs? On Tuesday, April 8, 2014 2:49:15 PM UTC+2, paolam...@gmail.com wrote: Hi Alberto, The problem 404 is with Tomcat, the app Gwt is

GWT - The response could not be deserialized

2014-04-08 Thread Pippo Baudone
i am in this situation: @RemoteServiceRelativePath(create_event) public interface CreateEventService extends RemoteService { String[] createeventServer(LinkedListLinkedListString input) throws IllegalArgumentException; } public interface CreateEventServiceAsync { void

Re: GWT - The response could not be deserialized

2014-04-08 Thread Michael Joyner
Try wrapping you data objects in POJO's and not passing your data as raw arrays and see if that helps. -Mike On 04/08/2014 03:33 PM, Pippo Baudone wrote: i am in this situation: | |

Issue 2243: Add @MustBeLiteral to make GWT.create(Class) less magical and more extensible

2014-04-08 Thread Bora Ertung
Ant plans to fix this in the next release? https://code.google.com/p/google-web-toolkit/issues/detail?id=2243 -- 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 - The response could not be deserialized

2014-04-08 Thread Pippo Baudone
I've tried it but i have the same problem. Try wrapping you data objects in POJO's and not passing your data as raw arrays and see if that helps. -Mike On 04/08/2014 03:33 PM, Pippo Baudone wrote: i am in this situation: @RemoteServiceRelativePath(create_event) public interface

Re: GWT - The response could not be deserialized

2014-04-08 Thread Pippo Baudone
i've tried it but with no success Il giorno martedì 8 aprile 2014 21:38:44 UTC+2, Michael Joyner ha scritto: Try wrapping you data objects in POJO's and not passing your data as raw arrays and see if that helps. -Mike On 04/08/2014 03:33 PM, Pippo Baudone wrote: i am in this

Re: GWT - The response could not be deserialized

2014-04-08 Thread Boris Lenzinger
May be your returned object is null ? 2014-04-08 22:31 GMT+02:00 Pippo Baudone karm...@tin.it: I've tried it but i have the same problem. Try wrapping you data objects in POJO's and not passing your data as raw arrays and see if that helps. -Mike On 04/08/2014 03:33 PM, Pippo Baudone

Re: Issue 2243: Add @MustBeLiteral to make GWT.create(Class) less magical and more extensible

2014-04-08 Thread Jens
I don't think so. There was a lot of discussion lately on how to improve GWT.create() to make it more flexible but I think there is no decision yet. See: https://groups.google.com/d/msg/google-web-toolkit-contributors/zA_JfcxrIq0/yEu-frbP3MkJ The focus for upcoming releases will be JsInterop

Re: GWT - The response could not be deserialized

2014-04-08 Thread Michael Joyner
The following can cause issues with de/serialization: ||LinkedListLinkedListString maybe try something similar to: || String[] createeventServer(LinkedListLinkedListString input) throws IllegalArgumentException; ||class List { || LinkedList||Sublist list; } class

Re: com.google.gwt.i18n.client.LocalizableResource.Generate.fileName() ?

2014-04-08 Thread joerg.hohwil...@googlemail.com
Thanks for your answer. Indeed I did misunderstood the javadoc and the entire semantic of @Generate. Instead of copying the properties for all possible locales, I decided to stay with relocation but have a fixed suffix as convention so I can do reverse mapping in Control of ResourceBundle. Now

Re: Is this serious GWT err “Somethin other than an int was returned from JSNI method @…”?

2014-04-08 Thread Tom
I don't think i want to send these Java ints as Integer to my server using GWT-RPC. It's all just client code only. SO it should be OK. Anyway, thank you very much for your answer. On Tuesday, April 8, 2014 10:49:46 PM UTC+10, Jens wrote: Browsers support sub pixel rendering and also provide

[gwt-contrib] Re: Last call for GWT 2.6.1

2014-04-08 Thread Mihai Stanciu
Hi Daniel, We cannot update to 2.6 due to Issue 8585https://code.google.com/p/google-web-toolkit/issues/detail?id=8585 : and in a smaller degree byRegression in 2.6 re. webapp class loading in DevMode Issue 8526https://code.google.com/p/google-web-toolkit/issues/detail?id=8526 : GWT 2.6.0

[gwt-contrib] Re: Last call for GWT 2.6.1

2014-04-08 Thread Thomas Broyer
I couldn't actually imagine releasing 2.6.1 without the fix for 8585 (which should incidentally fix 8526) On Tuesday, April 8, 2014 9:24:45 AM UTC+2, Mihai Stanciu wrote: Hi Daniel, We cannot update to 2.6 due to Issue 8585https://code.google.com/p/google-web-toolkit/issues/detail?id=8585

[gwt-contrib] Re: Last call for GWT 2.6.1

2014-04-08 Thread Patrick Tucker
We also chose not to update to 2.6 because of the jetty-web.xml problem. On Tuesday, April 8, 2014 5:23:40 AM UTC-4, Thomas Broyer wrote: I couldn't actually imagine releasing 2.6.1 without the fix for 8585 (which should incidentally fix 8526) On Tuesday, April 8, 2014 9:24:45 AM UTC+2,

[gwt-contrib] Re: Last call for GWT 2.6.1

2014-04-08 Thread Kay-Uwe Janssen
Not sure if it is already fixed, but 2.6.0 had a regression related to @UiHandler for generic events. see https://code.google.com/p/google-web-toolkit/issues/detail?id=6091#c11 Would love to see that fixed in 2.6.1 that i can clean my code again and merge my set of UiHanlder back into one.

[gwt-contrib] Re: Last call for GWT 2.6.1

2014-04-08 Thread Thomas Broyer
Looks like the fix is already in for 2.6.1: https://gwt-review.googlesource.com/6179 On Tuesday, April 8, 2014 1:26:26 PM UTC+2, Kay-Uwe Janssen wrote: Not sure if it is already fixed, but 2.6.0 had a regression related to @UiHandler for generic events. see