Upload blob: image from GWT

2013-09-05 Thread Xybrek
I managed to get a blob and create a URL for it which I put in a img tag src attribute to show the image like this: My question would be how would I upload this blob via GWT FileUpload with com.google.gwt.user.client.ui.FormPanel? Also the com.google.gwt.user.client.ui.FileUpload does not ha

Re: Deploying tomcat server

2013-09-05 Thread Timothy Spear
You have closed the database connection. Look into how you are doing your connection management. Tim On Sep 6, 2013, at 12:19 AM, siva kumar wrote: > Hi > > While i am deploying war file and test the application with intranet i got > this kind of error ..my application is not working on that

Deploying tomcat server

2013-09-05 Thread siva kumar
Hi While i am deploying war file and test the application with intranet i got this kind of error ..my application is not working on that timebut in my localhost its working fine...can you give me any solution.. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

Re: fastutils jar + gwt

2013-09-05 Thread Jens
1.) Make sure you have library sources + classes on your classpath 2.) Create a FastUtil.gwt.xml in package "it.unimi.dsi" containing . You either have to put that module into your project's src folder or you have to repack the fastutil jar and adding it to the jar file. 3.) In your app.gwt.xml y

fastutils jar + gwt

2013-09-05 Thread rex
Maybe there is a documentation somewhere that I am missing but I am having a hard time linking external project modules to my gwt application. If someone can just elaborate how to link an external project like apache commons or something else to gwt, that would really help I have been trying

Re: logging not working? kepler/gwt 2.5.1

2013-09-05 Thread Dean Karres
Maybe, but I was using the "Super simple..." logging solution on the same page. Unless something has changed in the logging infrastructure? I have seen a post that claims some modules inherit the logging system and disable it. It suggested putting the enable code at the bottom of the xml file.

Re: logging not working? kepler/gwt 2.5.1

2013-09-05 Thread Thad Humphries
Logging handlers? http://www.gwtproject.org/doc/latest/DevGuideLogging.html#Different_Types_of_Handlers On Thursday, September 5, 2013 3:07:16 PM UTC-4, dk wrote: > > Hi, this seems really odd to me. I have a fairly old gwt project. The > project "works" but needs a tweak. I had logging enabl

logging not working? kepler/gwt 2.5.1

2013-09-05 Thread dk
Hi, this seems really odd to me. I have a fairly old gwt project. The project "works" but needs a tweak. I had logging enabled for the project in the past then set: in a class I say: public class MyClass extends Composite implements HasValueChangeHandlers { Logger logger = Logger.getLog

Re: Conditional CSS doesn't work on Tomcat

2013-09-05 Thread Dominic Warzok
So I got it to work :-) thanks for this tip. But I have another question. When I add styles from MyResources it works fine. But what is about overwriting styles in css file? Have I to include the stylesheet in my gwt.xml too ? -- You received this message because you are subscribed to the Go

Firefox versioning problems with developer plugin (was: Developer plugin for Firefox 23 doesn't work)

2013-09-05 Thread GraÅžvydas Valeika
Hi, further investigation. I'm not very qualified to discuss linux library issues, sorry if terms are used in a wrong way. But from my previous experience and observation of current situation I see situation this way. I'm trying command objdump --dynamic-syms --demangle -w libxul.so | grep NS_G

Re: Conditional CSS doesn't work on Tomcat

2013-09-05 Thread Dominic Warzok
Okay, I will try to get a Resoure interface. On Thursday, September 5, 2013 8:25:06 AM UTC+2, Dominic Warzok wrote: > > Hey all maybe you can help me :) > > I want to use some Conditional CSS in my webapp. > > For test I build in some simple user.agent detection like it ist describe > here

Re: ServletContextEventHandler and static block

2013-09-05 Thread Thomas Broyer
This a question about Java Servlets, it's nothing to do with GWT. You should probably ask on StackOverflow or other kind of generic Q&A site or forum. The main differences are: - ServletContextListenerer has a contextDestroyed in which you can teardown the resources setup in contextIniti

Re: Call REST service from GWT App's client side

2013-09-05 Thread Thomas Broyer
Access-Control-Allow-Origin is a response header, to be sent from the server. See http://www.w3.org/TR/cors/ Note that this rules out quite a few users though: http://caniuse.com/cors (note: GWT won't use XDomainRequest) If you need to support IE8/IE9, then use deferred-binding and JSNI to use X

Re: Conditional CSS doesn't work on Tomcat

2013-09-05 Thread Thomas Broyer
On Thursday, September 5, 2013 8:25:06 AM UTC+2, Dominic Warzok wrote: > > Hey all maybe you can help me :) > > I want to use some Conditional CSS in my webapp. > > For test I build in some simple user.agent detection like it ist describe > here

GWT 1.4.10: problem running application

2013-09-05 Thread Nandita
Hello, Am stuck up in a weird problem with GWT application execution. The following is the stack trace: [ERROR] Failed to create an instance of 'com.labinal.client.Conteneur' via deferred binding com.google.gwt.dev.shell.HostedModeException: invokeNativeString(@com.google.gwt.user.client.impl