Re: fileupload: ensuring the same file being uploaded

2009-07-18 Thread Manuel Carrasco
filename = item.getName(); On Sat, Jul 18, 2009 at 12:27 AM, twittwit ytbr...@gmail.com wrote: ok thank you. i found the answer: public class MyFormHandler extends HttpServlet{ public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,

Re: Question about using user defined serializable types in GWT

2009-07-18 Thread Manuel Carrasco
Writing client code, you have to use classes supported by GWT JRE Emulation: http://code.google.com/intl/es/webtoolkit/doc/1.6/RefJreEmulation.html. So you have to use only these classes in serializable objects that are used in both the client and server sides. Unfortunately java.lang.Thread is

Re: GWT client side annotations

2009-07-18 Thread matthieu vidal
Hi, Client side java code is a subset of the entire JRE as it has to be translate to javascript. You should have a look here : http://code.google.com/intl/fr/webtoolkit/doc/1.6/RefJreEmulation.html --~--~-~--~~~---~--~~ You received this message because you

Ubuntu 9.04: com.google.gwt.core.client.JavaScriptException: (SyntaxError): syntax error

2009-07-18 Thread Simon
Hi all, I have the problem as following exception. Initially, i am using window os to run my application, everything going smooth, but when i switched to Ubuntu, it seem like cannot recognize the JSON syntax reply by the servlet. So may i know what is going on? Thanks in advance. [ERROR]

Re: Integrating Google Docs into GWT

2009-07-18 Thread twdarkflame
Not to my knowledge, but you could just use a Frame element, seeing as Google docs can provide url links to each document. Not particularly neat though. On Jul 17, 11:53 am, abhiram abhir...@gmail.com wrote: Hi,   Is there a way to integrate the 'Google Docs' with the GWT application so

Re: fileupload: ensuring the same file being uploaded

2009-07-18 Thread twittwit
perfect! thanks Manuel! common-fileupload is great! On Jul 18, 8:51 am, Manuel Carrasco manuel.carrasc...@gmail.com wrote: filename = item.getName(); On Sat, Jul 18, 2009 at 12:27 AM, twittwit ytbr...@gmail.com wrote: ok thank you. i found the answer: public class MyFormHandler extends

Re: Dose GWT 1.7 support debug on java 6?

2009-07-18 Thread Paul Robinson
There's a bug in java 1.6.0_14 - you need to downgrade to 1.6.0_13 to make debugging work properly. tfreitas wrote: Hi, I was using a version of java6 (I do not remember the version) and worked with the debugging eclipse Trunk / OOPHM in ubuntu 9.04 and firefox 3.0. After an auto-update,

Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)

2009-07-18 Thread twdarkflame
Id use these libuarys a lot in a online adventure game engine under development (beta version here; http://www.cuyperscode.nl/CuypersCode2_betatest/CCIIstart.html (an educational game being developed with it, but the engine will be used for a lot more). You can see DnD used for the inventory and

Re: GWT URL Parameters

2009-07-18 Thread twdarkflame
You cant actualy change the url parameters like you can the history, because changing them would refresh the page. google.com#?blah=blah would be a history token that just pretends to be a normal parameter. (and Window.Location.getParameter wouldnt work for it). This can be changed without a

Re: HTML 5 video

2009-07-18 Thread twdarkflame
meh, we should all just use Ogg and let the rest catch up. Dailymotion and Wikipedia are big enough supporters for me. On Jul 16, 6:55 am, Ivan Ooi olibr...@gmail.com wrote:  http://www.infoq.com/news/2009/07/HTML-5-Video-Codec Parties Fail to Agree on the HTML 5 Video

Re: Why ImageBundleGenerator does not optimize the generated icon set?

2009-07-18 Thread twdarkflame
This is a very good idea. On Jul 15, 4:31 am, Kelvin kelvin...@gmail.com wrote: I create a SilkImageBundle and put all silk icons library to it. the silk icon library contains 1000 icons and just a few hundreds of them are being used by the application. And I supposed that GWT can optimize

Re: New problem of blurHandler and setFocus on GWT 1.6

2009-07-18 Thread Arnaud Blanchard
Problem solved (but not clean). I still have not found the true answer, but I wanted a way to show you a trick to avoid it. It is due to the propagation of the Click-Event and to solve it I have add event.stopPropagation() in the first line of the function onClick, and it works even though

Re: App engine data types

2009-07-18 Thread Juraj Vitko
Thanks man! Saved me a few hours for sure. Can't believe nobody needed this yet - should be a part of GWT. It's not that I want to send a Text or a Blob via RPC - but I definitelly want my data classes to be usable at the client side (translatable). The Text I'm going to put in a String in a

Re: Hyperlink in FlowPanel

2009-07-18 Thread Thomas Broyer
On 17 juil, 19:49, Ashley Wong ashleywong1...@gmail.com wrote: Refering to the GWT showcase, the checkbox is lined up naturally (http://gwt.google.com/samples/Showcase/Showcase.html#CwFlowPanel). But I cannot make the Hyperlink flow naturally. Each hyperlink is placed on the other line.

Re: Image Bundle not working in IE

2009-07-18 Thread Thomas Broyer
On 18 juil, 00:34, Sean slough...@gmail.com wrote: Sadly, even with clean war file, IE still is having problems. I wonder if it's some security level thing? I'm not sure. IE won't allow me to turn down my settings to try it. Wont let me go lower then Medium for non-intranet sites. I don't

Re: Why ImageBundleGenerator does not optimize the generated icon set?

2009-07-18 Thread Dean S. Jones
+1 On Jul 18, 9:38 am, twdarkflame darkfl...@gmail.com wrote: This is a very good idea. On Jul 15, 4:31 am, Kelvin kelvin...@gmail.com wrote: I create a SilkImageBundle and put all silk icons library to it. the silk icon library contains 1000 icons and just a few hundreds of them are

JSNI: window vs $wnd

2009-07-18 Thread mike
The JSNI section of the dev guide uses the $wnd notation: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface But then in the cross-site commication tutorial 'window' is used. Additionally I can't get the sample code to work using $wnd. See:

Re: Hyperlink in FlowPanel

2009-07-18 Thread Ashley Wong
Thank you. Would you like to tell me what is the different between InlineHyperlink and Hyperlink? On 7月18日, 下午11時17分, Thomas Broyer t.bro...@gmail.com wrote: On 17 juil, 19:49, Ashley Wong ashleywong1...@gmail.com wrote: Refering to the GWT showcase, the checkbox is lined up naturally

Callin an URL from my application

2009-07-18 Thread abhiram
Hi Group, I have a requirement where I need to call an URL for sending emails to some recipients. I will use a link something similar to this http://www.samplesite.com/messageapi.asp?username=sampleusernamepassword=samplepasswordsender=samplesenderrecipient=R1,R2,R3message=Hi. I have

Display Frame with content from RPC

2009-07-18 Thread Norman Maurer
Hi all, I'm currently working on a gwt based webmail. I want to display the html part of an email within a panel. Because the html part contains a full html structure (head/body) I thought the best way todo this would be to use a frame. But how could I do this if I only get the content from my

Re: GWT project runs slow in Hosted mode

2009-07-18 Thread Dorothy
We are having the same issue upgrading from 1.5 to 1.7. For our application, we have GWTX in addition to the GWT. For our project, we have 4 GWT modules that are in development. For hosted browser with the -noserver option, our launch time in 1.5 was ~90 seconds and is now over 10 minutes in

Determine implemented interfaces

2009-07-18 Thread Jacob
I'm trying to determine whether or not an object implements a given interface at runtime. Any suggestions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

How to center root panel?

2009-07-18 Thread Dalla
Hi! I have trouble getting my root panel centered in the host page. I´ve looked at the posts here and tried things like CSS body { margin: 0 auto 0 auto; padding: 0; width: 792px; } But my page is still not centered vertically, only horizontally. Posting my onModuleLoad() below public

Re: GWT 1.7.0

2009-07-18 Thread twdarkflame
ah, still no clickhandelers for Suggestion Boxs then, I expected at least that to be fixed fairly quick :-/ oh well, not that important. On Jul 15, 8:54 am, brett.wooldridge brett.wooldri...@gmail.com wrote: Read the release notes.  Very few issues were fixed in 1.7.0, just a few extremely

gwt 1.6 and oophm, how to?

2009-07-18 Thread denis56
pardon for asking, but it seems i am stuck and not moving on. i had one issue that hosted browser did not run gwt code (while firefox did) and thought to try my luck with oophm. tried to follow instructions at http://allahbaksh.blogspot.com/2009/02/building-gwt-oophm-from-source.html and

Re: Command Pattern, MVP, EventBus

2009-07-18 Thread David Peterson
I really think it's a purely philosophical decision - I can see how it would work fine with EventBus, I'm just choosing not to, basically. For me the line in the sand is that events are about information, commands are about action. Your mileage may vary :) David On Jul 18, 7:22 am, Kwhit

Re: Determine implemented interfaces

2009-07-18 Thread David Peterson
Given that 'Class.getInterfaces()' and 'Class.isInstance()' are not implemented, basically all you've got is 'X instanceof Y'. A switch/ case statement perhaps? David On Jul 19, 6:04 am, Jacob jacobtop...@gmail.com wrote: I'm trying to determine whether or not an object implements a given

Re: App engine data types

2009-07-18 Thread bryce cottam
Juraj, Thanks for using the lib :) I'm glad it's useful. The way I came to develop that is basically to take apart another lib/module I was using (I think it was gwt-math). So, I basically just followed what I deduced from reading that module. I also tracked down a book that had some mention

Re: GWT client side annotations

2009-07-18 Thread Nuno
For what i know GWT has no support for reflection... i think you may get the class name from the getClass() method. On Fri, Jul 17, 2009 at 8:24 PM, Gianluigi dava...@yahoo.it wrote: Hi to all, it's first time that i try to use annotation in client side gwt application, i tried to compile

Re: Dose GWT 1.7 support debug on java 6?

2009-07-18 Thread AndOrNot
What I want is just your said, My jdk is 1.6.0_14-b08 (hostspot b16), os is windows 2003 sp1. Do you have any clues to work it around? On Jul 18, 3:42 am, Rajeev Dayal rda...@google.com wrote: Hi, Are you talking about debugging your GWT Application in Eclipse when it's running in hosted

Re: Dose GWT 1.7 support debug on java 6?

2009-07-18 Thread AndOrNot
It seems it dosen't work in windows 2003 sp1, I recomiled GWT_TRUNK with 1.6.0_14, the UI debuging can still not work. On Jul 18, 5:02 am, tfreitas tfrei...@gmail.com wrote: Hi, I was using a version of java6 (I do not remember the version) and worked with the debugging eclipse Trunk /

Re: Hyperlinks in Dockpanel

2009-07-18 Thread Jeremiah Moses
i did play around a bit with click handler but is there any working examples for something similar to wht i am looking for ? ... that will make it simple ...because i was not able to make it work as i intended to On Fri, Jul 17, 2009 at 6:06 PM, salk31 s...@redspr.com wrote: Have you played

Re: GWT client side annotations

2009-07-18 Thread AndOrNot
Java reflection can't work at client side code On Jul 18, 7:24 am, Gianluigi dava...@yahoo.it wrote: Hi to all, it's first time that i try to use annotation in client side gwt application, i tried to compile that code: @Target( { ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME)

RPC host mode fail ...

2009-07-18 Thread elpato
Hi ... I have a project that demonstrates an RPC failure that I don't know how to fix.I use eclipse 3.4, gwt 1.6.4 and google-plugin. I have an RPC that is working fine in web mode (deployed under tomcat) but fails in host mode. The failure message is (when the application run in host mode):

Callin an URL from my application

2009-07-18 Thread samuel
Hi Group, I have a requirement where I am making use of an URL for sending mails. Some thing like this http://www.examplemailsending.com/messageapi.asp?username=usernamepassword=passworddestination=A1,A2,A3message=Hi I am making a list of all the people A1, A2, A3... to whom the Hi message

GWT Commerce - A rewrite of OSCommerce using GWT and PHP

2009-07-18 Thread Bob Rozelle
Hi, I've opened a project called GWT Commerce at http://code.google.com/p/gwt-commerce/, my goal is to provide a rewrite of OSCommerce using GWT. I've made a lot of progress and was recently contacted by a Software Engineer who wanted to help, I've agreed and he is going to work on

Creating Stand Alone Composite??

2009-07-18 Thread ToddP
I'm trying to create a stand alone composite widget and am totally clueless as to how. I want to create a widget that will be able to be used in any of my multiple GWT modules. Every example on the web that I can find defines the composite in the same module that displays the composite. I need

Re: Creating Stand Alone Composite??

2009-07-18 Thread Manuel Carrasco
If you have the composite, create a new .gwt.xml file in this module without any entry-point tag and include this new .gwt.xml file in the other module. For instance: - you have your composite in the name space 'com.module1.client' and the content of com/module1/Module1.gwt.xml is: module

Re: GWT Commerce - A rewrite of OSCommerce using GWT and PHP

2009-07-18 Thread Paulo Coutinho
Wow its a great notice. Im newbiew in gwt, but im expert on php, i'll try help. 2009/7/18 Bob Rozelle broze...@eatlocalfood.com: Hi, I've opened a project called GWT Commerce at http://code.google.com/p/gwt-commerce/, my goal is to provide a rewrite of OSCommerce using GWT.  I've made a

[gwt-contrib] Re: GWTCanvas status?

2009-07-18 Thread John Gunther
Appreciate your replies, I now have a much better sense of where GWT vector graphics is heading. With my use of GWTCanvas, the fact that there was a per-pixel memory cost with the canvas tag (that does not exist with VML) forced me to do some extra work to shrink-wrap the canvas around each