Re: Hooking Spring 2.5.6 and GWT 1.6 - getServletContext returns N

2009-04-24 Thread Marcin Zawadzki
Hi, Try following approach - works for me. Rather then extends your service implementation with RemoteServiceServlet make sure your service is context aware - implement ServletContextAware. So you'll have: @SuppressWarnings(serial) public class GreetingServiceImpl implements

Re: how ho handle handlers

2009-04-24 Thread romant
Yes, setEnabled() is the thing which can do the job for a standard gwt button. But consider the situation when you want to implement your own button (with rounded corners let's say) named RButton. You implement it as a new widget which extends Composite class and implements ClickHandler interface

Re: Insert Element into DOM and receive click events?

2009-04-24 Thread Ben FS
In my existing code, most of my TreeItem content is HTML, so it should be possible for me to clone/copy just the content as a String, squirrel it away and, after editing, return the node to its normal state by inserting a newly instantiated HTML object. I'll try this and see if I can get it

Re: how ho handle handlers

2009-04-24 Thread Vitali Lovich
Well, for one, you could just style it like: http://www.webappers.com/2007/06/18/simple-round-css-buttons-wii-buttons/ A more generic approach would be to maintain state in your composite. You're probably going to need click handlers for the style changes (assuming you go with a more

Re: Insert Element into DOM and receive click events?

2009-04-24 Thread Vitali Lovich
As a workaround, would removing the TreeItem from the parent tree itself work? It's not a general solution since you'd have to append it to the end of the tree (Tree doesn't appear to support insertion of children into arbitrary positions) to get it back, but it's what the example you gave in the

Re: Insert Element into DOM and receive click events?

2009-04-24 Thread alex.d
What about making your treeitem-widget an absolutPanel for example, put both - your lable and button in it along with a small switch- function to make only one of the visible at a time. This may cause some perfomance problems but when it's not that much of three items we are speaking about, you

Packaging error in gwt-user 1.6.4 with javax servlet classes and java files

2009-04-24 Thread cyril.lakech
Hi, There is an error in GWT 1.6.4 release distribution. Because of a bad packaging of the product, there are too much files in the jar. The javax/servlet classes are in the jar and the java files too. And when you compile you GWT application, these java files are compiled and gwt put them in

Re: Insert Element into DOM and receive click events?

2009-04-24 Thread Vitali Lovich
Or just put a simple panel. Then set the widget of the simple panel to whatever you want. That's actually a great approach alex. Does that work Ben? On Fri, Apr 24, 2009 at 3:40 AM, alex.d alex.dukhov...@googlemail.comwrote: What about making your treeitem-widget an absolutPanel for

Re: how ho handle handlers

2009-04-24 Thread romant
That's what I was thinking about. Thanks for the example. Cheerio, Roman On 24 Dub, 09:28, Vitali Lovich vlov...@gmail.com wrote: Well, for one, you could just style it like: http://www.webappers.com/2007/06/18/simple-round-css-buttons-wii-butt... A more generic approach would be to

Wrong order of elements in generated web.xml (GWT 1.6.4)

2009-04-24 Thread stsch
Could it be that the web.xml generated by the webAppCreator-script (GWT 1.6.4) contains its elements in a wrong order? It contains the following elements in the following order: -welcome-file-list -servlet -servlet-mapping This order of the elements is not accpted by several tools and

Re: Building GWT Apps

2009-04-24 Thread Salvador Diaz
There are ways to ocnfigure maven to play nice with the google eclipse plugin and keep the source tree clean, but it's a little convoluted. I'm preparing a post about it but I haven't had the time to finalize it. Check back in the next 2-3 days for a detailed tutorial. Cheers, Salvador On Apr

Re: Memory Leak in IE7

2009-04-24 Thread alanj
Does anyone know if IE8's switch to IE7 mode is 100% reliable for CSS and layout? I'm developing exclusively for IE7 at the moment and can't afford anything like the time and trauma the IE6 7 switch-up caused to my development, operating or nervous system! On Apr 24, 3:52 am, Dominik Steiner

Re: Creating GWT application

2009-04-24 Thread newtoGWT
hmmm.. i'll try out that too... Thanks!! On Apr 22, 9:04 am, Rajeev Dayal rda...@google.com wrote: Glad that everything is working for you. As an FYI, if you have a proxy server that you can use to hit the Eclipse update site, you can configure Eclipse to use it when performing an update or

Re: GWT Serialization with CustomFieldSerializer fails because of SerializationPolicy

2009-04-24 Thread Raphaël POCHET
I agree with that, i'm using a generic DTO too with a MapString, Object because i don't want to bother to create an IServiceInterfaceAsync for every RPC method i need. So telling in an annotation to GWT which objects are likely to travel over http would be nice. However if we could provide

java.io.FileOutputStream is not supported by Google App Engine's JRE

2009-04-24 Thread newtoGWT
I am trying to merge my existing code base (web application) with GWT but the compiler throws java.io.FileOutputStream is not supported by Google App Engine's Java Runtime Environment in the existing code. since my web application uses javax.naming.InitialContext, Context, FileWriter etc... i

Re: java.lang.ref in GWT

2009-04-24 Thread Mark Renouf
Garbage collection in JavaScript is browser-dependent, but similar rules apply as with Java. When you are no longer using the data, make sure you eliminate all references to it. For example, if you've stored it in an Array or Collection of some sort, be sure to null out or remove those entries.

Re: Run same application in both web as well as desktop

2009-04-24 Thread Sandeep_GE
Found one option to develop application without RPC and with call back as well.. using soafaces/universal client. http://java.dzone.com/articles/gwt-universalclient-look-mom-n-0 On Apr 22, 1:47 pm, Sandeep_GE sandeep.garg...@gmail.com wrote: Hello, I have written a client/server application

Re: Need fix for GWT 1.6 Jars in Maven Repo

2009-04-24 Thread Salvador Diaz
I don't really think this is a bug, as you shouldn't have to include gwt-user in your war anyway. That's what the gwt-servlet is for. Does including the gwt dependencies in your pom in the following way solves the problem ? See here for the snippet: http://pastebin.com/m5960979b I'm curious

Re: java.io.FileOutputStream is not supported by Google App Engine's JRE

2009-04-24 Thread Salvador Diaz
Yes, you should read the docs concerning the allowed java classes in the app engine (). And you might want to remove the App Engine SDK from your project if you're not planning on deploying to google app engine (gwt doesn't need app engine and viceversa). Hope that helps, Salvador App engine

Re: Localization - is GWT localization worth it? Can we have juse a single permutation please?

2009-04-24 Thread Engidea-GWT
I had the following requirement: Multilingual mapping should be available to the user, meaning that if the original language where labels written is english then a French user could map the english labels in the application and translate the language to english. The way I did it is this: A DB

Error message

2009-04-24 Thread surfi2000
Hi, I am having a little problem with a program Im writing. The eclipse project can be downloaded from http://www.stephanm.net/SME3.zip Could someone have a look please to see what I am doing wrong? These are the two errors I am getting [ERROR] Line 16: No source code is available for type

Can't integrate spring with gwt

2009-04-24 Thread mabebe
Hi i am having difficulty integrating spring with gwt. Below is my code for my serviceImpl class...and where i think the error is @Override public void init() throws ServletException { super.init(); ServletContext sc = this.getServletContext();

Converting string to timestamp throws exception in GWT web mode

2009-04-24 Thread Neo
Hi, I am trying to convert a string to a Timestamp value in my Client side code. It works fine in Hosted mode but the same code fails in Web mode. This is my code : java.sql.Timestamp startTime = java.sql.Timestamp.valueOf(timestamp as string); Got this exception in web mode : Exception

Re: import java.net cannot be resolved error

2009-04-24 Thread satish
Thank you. I get it now. On Apr 23, 9:56 pm, Adam T adam.t...@gmail.com wrote: If this is client side code, you can't use java.net as the code gets compiled to JavaScript - I'd suggest you read the documentation for GWT to get a feel of what you can and can't do, in particular what is

Re: Converting string to timestamp throws exception in GWT web mode

2009-04-24 Thread Salvador Diaz
One way would be to skip the first timestamp to string conversion. Where does the string comes from ? Would it be possible to get a Date or Timestamp object instead of getting the string ? Hope that helps Salvador On Apr 24, 3:44 pm, Neo deepak.krv2...@gmail.com wrote: Hi, I am trying to

Re: Can't integrate spring with gwt

2009-04-24 Thread Jim
take look at http://www.leeonsoft.com/mail/Mail.html for an example. Jim Xie http://www.leeonsoft.com For GWT ORM http://code.google.com/p/dreamsource-orm/downloads/list On Apr 24, 9:54 am, Salvador Diaz diaz.salva...@gmail.com wrote: Please use the search in the forum, this question has just

Re: Converting string to timestamp throws exception in GWT web mode

2009-04-24 Thread Neo
No. It is not possible to get a Date or a Timestamp. The String is coming from an Editable Grid Control. On Apr 24, 6:57 pm, Salvador Diaz diaz.salva...@gmail.com wrote: One way would be to skip the first timestamp to string conversion. Where does the string comes from ? Would it be possible

Re: Packaging error in gwt-user 1.6.4 with javax servlet classes and java files

2009-04-24 Thread Isaac Truett
Works fine for me. Why are you even compiling those classes? On Fri, Apr 24, 2009 at 3:51 AM, cyril.lakech cyril.lak...@gmail.com wrote: Hi, There is an error in GWT 1.6.4 release distribution. Because of a bad packaging of the product, there are too much files in the jar. The

INFO: Servlet shell is currently unavailable

2009-04-24 Thread badgerduke
Hello: I need to include a GWT application into a JSP. I thought this would be as simple as saying: jsp:include page=screen28/Screen28.html/ where Screen28.html is the generated html page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head meta http-equiv=content-type

ClassNotFoundException: com.google.gwt.dev.HostedMode

2009-04-24 Thread farrukh.n...@gmail.com
My maven based GWT app suddenly started giving the following error when I start the GWT Shell. I am using the codehaus gwt-maven-plugin goal gwt:run to start the shell: groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId

Re: Packaging error in gwt-user 1.6.4 with javax servlet classes and java files

2009-04-24 Thread Jason Essington
Two things, First, you should be excluding anything in a **/client/** package from your java compile, as that stuff doesn't need to be compiled for the server. Second, you shouldn't ever deploy the gwt-user.jar to your server, that is what the gwt-servlet.jar is for. gwt-user.jar is

Re: Can't integrate spring with gwt

2009-04-24 Thread Alejandro D. Garin
Hi, Try moving your applicationContext.xml to WEB-INF/applicationContext.xml On Fri, Apr 24, 2009 at 10:38 AM, mabebe meklitabayab...@gmail.com wrote: Hi i am having difficulty integrating spring with gwt. Below is my code for my serviceImpl class...and where i think the error is @Override

Re: How to debug whats grabbing my click events?

2009-04-24 Thread Darkflame
Anyone? I'm still having trouble working out what widgets grabbing my clicks. Not sure if Ben's having the same trouble as me, but there must be some method to work it out no? (using Firebug, debuging code...anything?). On Apr 21, 7:00 am, Ben FS ben.su...@gmail.com wrote: Update: I'm using a

Re: ClassNotFoundException: com.google.gwt.dev.HostedMode

2009-04-24 Thread Farrukh Najmi
Hi Guys, This issue is a complete show stopper for my project. I would be really grateful if someone can provide some guidance on how to get over it quickly. Thanks. On Apr 24, 10:43 am, farrukh.n...@gmail.com farrukh.n...@gmail.com wrote: My maven based GWT app suddenly started giving the

Error with popup, ie freeze, (IE7 and GWT 1.6.4)

2009-04-24 Thread Gilles B
Hello, I have an error in some popup windows used to update data. It's not a systematic (!) error but not so difficult to produce in my environnement with a popup panel displaying some enabled or disabled textbox, listbox and a close button. I only display data (using setText, setEnabled,

Hot Code Replace Failed triggered on any change, even comment change

2009-04-24 Thread irc1258
Versions: GWT 1.5.x Eclipse 3.4.1. Build M20090211-1700. Steps To Reproduce: 1. Invoke a GWT Debug config. 2. After GWT GUI comes up, make trivial change to code, e.g. modify an existing comment. 3. Save the file. Hot Code Replace Diaglog comes up. 4. The reason given is: Hot code replace failed

Re: Module without EntryPoint - How to compile?

2009-04-24 Thread Rajeev Dayal
Hey Ben, I did try to reproduce the problems that you were having. Here is what I found: 1) Modules which do not contain an entry point are indeed added to the list of Entry Point modules under the GWT Setttings page. Because of this, these non-entry point modules are inherited by any launch

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-24 Thread Jeff Chimene
On Thu, Apr 23, 2009 at 9:05 PM, Rob Tanner caspersg...@gmail.com wrote: On Apr 23, 6:11 pm, Jeff Chimene jchim...@gmail.com wrote: On 04/23/2009 04:57 PM, Rob Tanner wrote: On Apr 23, 4:25 pm, Jeff Chimenejchim...@gmail.com  wrote: On 04/23/2009 04:09 PM, Rob Tanner wrote: On Apr

Lost focus with FocusHandler

2009-04-24 Thread monkeyboy
I am trying to handle a lostFocus event for a textbox. I would like to use the new EventHandler instead of the deprecated EventListener system. The old FocusListener interface has two methods: void onFocus(Widget sender); void onLostFocus(Widget sender); It is clear that i have to implement the

Serialization error in using FastStringMap

2009-04-24 Thread Estelito D. Reyes III
Hi List, I am using GWT1.5 and was looking into solving that performance bottleneck with using String as key in a HashMap last week and I stumbled upon some group posts recommending usage of the FastStringMap. So I tried using the FastStringMap a few days back but I was having problems when

Announce: SimpleGesture, mouse gesture recognition

2009-04-24 Thread emarc
Hi, SimpleGesture is a mouse gesture recognition widget for GWT (and the IT Mill Toolkit). It uses the method described by Didier Brun at bytearray.org, and uses the Levenshtein Distance method from Jakarta Commons (getLevenshteinDistance() from StringUtils) on the client-side, without

GWT 1.6: [ERROR] Unable to parse JavaScript

2009-04-24 Thread pebf
Trying to upgrade from GWT1.5 to GWT1.6 here. Before changing the directory structure I've updated all the GWT related JARs (gwt-user.jar, gwt-dev-platform.jar and gwt- servlet.jar) and run a successful GWT compilation over my project (still using the com.google.gwt.dev.GWTCompiler class). I've

Hosted Browser problem

2009-04-24 Thread Andy
Hi, I am encountering a problem trying to create and debug a GWT app. I have Eclipse 3.4 installed and the Google Plugin for Eclipse which includes GWT 1.6.4. I have created a new web application project and have not yet made any changes to the greeting service sample that was created. When

httprequest and response

2009-04-24 Thread BNPP
I want to let the user save the content of a div tag as a file to his local hard drive. How can I achieve that ? I have found documentation in GWT regarding how to send a custom http request , however can I process that http request via an rpc method ? How do I process that request and send the

Re: Google Plugin for Eclipse with Maven

2009-04-24 Thread dhartford
I'm interested in this question as well, we heavily use the gwt-maven plugin (Charlie Collins et al to differentiate) for continuous integration and repeatable builds. If there is a consistent way to use the Google Plugin for Eclipse with gwt-maven that would be great. p.s. present solution is

GWT 1.6: [ERROR] Unable to parse JavaScript

2009-04-24 Thread pebf
Trying to upgrade from GWT1.5 to GWT1.6 here. Before changing the directory structure I've updated all the GWT related JARs (gwt-user.jar, gwt-dev-platform.jar and gwt- servlet.jar) and run a successful GWT compilation over my project (still using the com.google.gwt.dev.GWTCompiler class). I've

SuggestBox

2009-04-24 Thread CarlosBarrera
Hi, I using SuggestBox, but I need to the user select obligatory one data of that list, how can I do that? tks for yuo help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Tomcat Deploy: Base directory and file permission

2009-04-24 Thread Francisco
Hello, I wrote a gwt application where one of its services must write on the disk, let's say the file ./data/myfile.txt. On hostmode it works perfectly, but when I deploy it on my tomcat (running on linux), I get an access denied (java.io.FilePermission). I've already changed my tomcat

Re: Data binding

2009-04-24 Thread rohan
I am not using UIbinder.bcz my requirement is little bit tricky. I am using builder pattern to build my application. Here i am giving an example. take a loan application, I have LoanApplication object it contains one or more barrowers objects, one or more house objects. In my application left

Re: Urgent: Re: ClassNotFoundException: com.google.gwt.dev.HostedMode

2009-04-24 Thread Farrukh Najmi
The gwt-maven-plugin outputs the java command used to launch the GWTShell when -X option is specified to mvn command. I find that copying the command in a shell window and running it work. This suggests the problem is with some maven plugin that has changed and not with core gwt. Sorry for the

Re: INFO: Servlet shell is currently unavailable

2009-04-24 Thread badgerduke
Here's some extra info: In my service class: ServiceDefTarget target = (ServiceDefTarget) serviceProxy; String serviceURL = GWT.getModuleBaseURL() + / firstlettergroupservice; if (GWT.isScript()) { serviceURL =

Re: INFO: Servlet shell is currently unavailable

2009-04-24 Thread badgerduke
OK, I got my GWT content to show up in the JSP, but it is not successfully connecting to my PRC services. I have web.xml configured correctly, except I left out the servlet entry for com.google.gwt.dev.shell.GWTShellServlet. My services classes are in a jar on my classpath. Any ideas? On Apr

Migrating listeners to handlers

2009-04-24 Thread Kelo
I have a lot of code using listeners/events, owner's listeners/events, so GWT 1.6 makes me have a headache with its new handlers. I don't find much documentation or examples about that. There's a link http://code.google.com/p/google-web-toolkit-incubator/wiki/GwtEventSystem where explains how to

GEP, war/WEB-INF/lib, and source control

2009-04-24 Thread Isaac Truett
When using GEP with GWT and GAE support, is it expected that the jars the plugin automatically places in war/WEB-INF/lib will be committed to the source repository? I expected that they were placed there by one of the builders, so I left them out of my commit. When I check out the project to

Re: GEP, war/WEB-INF/lib, and source control

2009-04-24 Thread Jason Parekh
Hey Isaac, Good question. You can go either route: - If you do not check them in, you'll get a warning in Eclipse. Doing a quick fix (select it and ctrl+1) on that warning will copy the installed SDK's JARs over to your lib directory. - If you do check them in, like you mentioned, there's a

Re: GEP, war/WEB-INF/lib, and source control

2009-04-24 Thread Jason Parekh
Thanks for the suggestion--I'll run it by the team. jason On Fri, Apr 24, 2009 at 1:42 PM, Isaac Truett itru...@gmail.com wrote: Jason, Fair enough. Thanks. What about elevating those to errors so that they interrupt run/debug to point out that there's a problem? Or if always being an

Re: Converting string to timestamp throws exception in GWT web mode

2009-04-24 Thread Tony Strauss
How about DateTimeFormat (http://google-web-toolkit.googlecode.com/svn/ javadoc/1.5/com/google/gwt/i18n/client/DateTimeFormat.html): String timestampStr = 2009-04-07 12:30:00.000; DateTimeFormat dateTimeFormat = DateTimeFormat.getFormat(- MM-dd HH:mm:ss.SSS); Date

GWT 1.6 Replacement for Radio Button setChecked().

2009-04-24 Thread Danny
setChecked() seems to be depreaciated by GWT 1.6. What replaces this action? Thanks, Danny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT 1.6 Replacement for Radio Button setChecked().

2009-04-24 Thread Jason Essington
setValue() On Apr 24, 2009, at 12:09 PM, Danny wrote: setChecked() seems to be depreaciated by GWT 1.6. What replaces this action? Thanks, Danny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: Can't integrate spring with gwt

2009-04-24 Thread mabebe
Thanks... On Apr 24, 10:49 am, Alejandro D. Garin aga...@gmail.com wrote: Hi, Try moving your applicationContext.xml to WEB-INF/applicationContext.xml On Fri, Apr 24, 2009 at 10:38 AM, mabebe meklitabayab...@gmail.com wrote: Hi i am having difficulty integrating spring with gwt. Below is

Re: Can't integrate spring with gwt

2009-04-24 Thread mabebe
Thanks... On Apr 24, 10:49 am, Alejandro D. Garin aga...@gmail.com wrote: Hi, Try moving your applicationContext.xml to WEB-INF/applicationContext.xml On Fri, Apr 24, 2009 at 10:38 AM, mabebe meklitabayab...@gmail.com wrote: Hi i am having difficulty integrating spring with gwt. Below is

Re: GWT on FreeBSD

2009-04-24 Thread Rabbit
I don't think it would help, since the build process must be using a toolchain (I mean cross-compiling) but I haven't checked. Freebsd linux emulator should be able to run hosted mode, but it keeps looking at /lib instead of /usr/compat/linux/lib, and linking them to / lib do not fix the issue.

Help

2009-04-24 Thread grigoregeorge
Hello. I have a problem with my application. Why don't display all the 2 image in the Web Application Starter Project import java.util.Iterator; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.ui.DockPanel; import

Re: Help

2009-04-24 Thread Vitali Lovich
Check the Jetty log. Are you getting a 404 on the resource request? Also, I dunno why you are doing what you are doing with DockPanel, but in any case it's probably wrong. Every time you add a widget it'll append -parent to each child. So after 3 adds, the 1st child added will have

StockWatcher - JSON version hits bug?

2009-04-24 Thread bpetro
Has anyone else run into this? Having created the GWT-RPC version which runs time, I then created the JSON version (not the JSON-PHP). This also runs fine to a point. If you enter 1 or 2 stock symbols, it runs doing updates pretty regularly. I'm just adding A, B, C, D, E, etc as symbols. If

Migrate 1.4 to 1.6

2009-04-24 Thread Dave
How feasible is it to migrate from 1.4 to 1.6 without an intermediate migration to 1.5 on a large app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Lost focus with FocusHandler

2009-04-24 Thread Paul Robinson
You need a BlurHandler --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email

help me about installation gwt on netbeans

2009-04-24 Thread Rahman Mousavian
Hi! I'm trying to install gwt 1.5.3 on netBeans 6.5 from http://www.netbeans.org/kb/60/web/quickstart-webapps-gwt.html according to this article I need to gwt4nb 2.5 but I found gwt4nb 1.5.3 I done every thing that was said in this, but i don't get any true answer!!! In fact when I run the

Re: Announce: SimpleGesture, mouse gesture recognition

2009-04-24 Thread emarc
Oh, I forgot to mention: The license is Apache 2. (And a tip: watch the video to get a quick idea of what it's all about.) Best Regards, Marc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: GWT 1.6 Replacement for Radio Button setChecked().

2009-04-24 Thread Danny
Thanks much. On Apr 24, 2:12 pm, Jason Essington jason.essing...@gmail.com wrote: setValue() On Apr 24, 2009, at 12:09 PM, Danny wrote: setChecked() seems to be depreaciated by  GWT 1.6.  What replaces this action? Thanks, Danny

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-24 Thread Rob Tanner
On Apr 24, 8:37 am, Jeff Chimene jchim...@gmail.com wrote: On Thu, Apr 23, 2009 at 9:05 PM, Rob Tanner caspersg...@gmail.com wrote: On Apr 23, 6:11 pm, Jeff Chimene jchim...@gmail.com wrote: On 04/23/2009 04:57 PM, Rob Tanner wrote: On Apr 23, 4:25 pm, Jeff Chimenejchim...@gmail.com  

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-24 Thread Jeff Chimene
On 04/24/2009 02:42 PM, Rob Tanner wrote: On Apr 24, 8:37�am, Jeff Chimenejchim...@gmail.com wrote: On Thu, Apr 23, 2009 at 9:05 PM, Rob Tannercaspersg...@gmail.com wrote: On Apr 23, 6:11�pm, Jeff Chimenejchim...@gmail.com wrote: On 04/23/2009 04:57 PM, Rob Tanner

Re: Packaging error in gwt-user 1.6.4 with javax servlet classes and java files

2009-04-24 Thread cyril.lakech
OK, thank you very much for your answers ! @Isaac: I don't know why, these classes just appears in my war ! I come here to understand. @Jason: 1st/ OK that is done but that does not solve my problem. 2nd/ the gwt-user library is never deploy because of the provided scope of the maven config for

FileUpload - how to get status back from server??

2009-04-24 Thread TimOnGmail
Hi all... I'm using FileUpload to upload a file to a servlet. The problem is, there can be a lot of different problems on the server side (IOExceptions, format errors, etc.), and I want to get those back to my GWT app. Problem is, it seems the FileUpload only reports back (via its Event

Re: FileUpload - how to get status back from server??

2009-04-24 Thread Vitali Lovich
Technically no. It's a limitation of the HTML spec. You could try the following hack (untested so dunno how practicle this is what pitfalls you might enounter - as the lkml people say, here be dragons): In your response, you could presumably return JSON objects which you can then eval in JSNI

Can I make a ClickHandler for an AnchorElement?

2009-04-24 Thread Dr Hfuhruhurr
It is straightforward to find an id-labelled element in the DOM by for example a command such as AnchorElement ae = Document.get().getElementById(link1); Now I want to capture clicks on this element, but I can't for my life find any way to register any kind of handler for events on a DOM

Re: onModuleLoad called when hitting Browser 'Back' button

2009-04-24 Thread Vitali Lovich
No. When you hit back, you're browser is navigating to a new page so of course you lose all your current Javascript state (otherwise, you could potentially leak your state to other sites which at best might corrupt them at worst allow attackers to steal your visitor's data). On Fri, Apr 24,

Re: Can I make a ClickHandler for an AnchorElement?

2009-04-24 Thread Vitali Lovich
GWT isn't designed to work at that level with native DOM events. The far easier approach would be to wrap the AnchorElement in a GWT widget (Anchorhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?com/google/gwt/user/client/DOM.htmlfor instance). Otherwise, you have to deal

Re: onModuleLoad called when hitting Browser 'Back' button

2009-04-24 Thread lakshmi thyagarajan
Thanks! Yeah that makes sense. cheers, Lakshmi On Fri, Apr 24, 2009 at 7:17 PM, Vitali Lovich vlov...@gmail.com wrote: No. When you hit back, you're browser is navigating to a new page so of course you lose all your current Javascript state (otherwise, you could potentially leak your state

Re: Can I make a ClickHandler for an AnchorElement?

2009-04-24 Thread dayre
This link might help... i was trying to attach an onClick event to a list item LI... took a while to figure it out, but the solution is near the end of the thread ( Thomas Broyer 2:07am post)

Re: httprequest and response

2009-04-24 Thread jagadesh
Check this blog for writing a HttpRequest in GWT. http://jagadeshgwt.blogspot.com/ please donot forget to say your comments --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Help

2009-04-24 Thread grigoregeorge
The main requirement of this application si to display 2 images, the bigest image is the background of the small image, the image is on each other On 24 Apr, 22:18, Vitali Lovich vlov...@gmail.com wrote: Check the Jetty log.  Are you getting a 404 on the resource request? Also, I dunno why

[gwt-contrib] Re: IE8 support

2009-04-24 Thread John Tamplin
On Fri, Apr 24, 2009 at 7:17 AM, Joel Webber j...@google.com wrote: Oddly, we seem to have lost the supported browsers list in the transition to 1.6 (or I'm just too blind to see it). The 1.5 doc read as follows: - Internet Explorer 6 and 7 (Windows) - Firefox 2 and 3 (Linux, Mac, and

[gwt-contrib] Re: IE8 support

2009-04-24 Thread Joel Webber
Whoops, good call. That's actually a mistake -- GWT still works fine on FF 1.5 (which corresponds to Gecko 1.8.0). I'll make sure that gets fixed in the doc. On Fri, Apr 24, 2009 at 8:41 AM, John Tamplin j...@google.com wrote: On Fri, Apr 24, 2009 at 7:17 AM, Joel Webber j...@google.com wrote:

[gwt-contrib] Re: RR: One line patch to run emma tests as well during ant test

2009-04-24 Thread Freeland Abbott
Amit, can you review the attached patch for solution #1 as originally outlined. Do we have a short/long test breakdown for Emma (i.e. is what's there long, and EmmaClassLoading test only short)? And do we actually want to go with short/long emma, only, or more generally have a short/long

[gwt-contrib] Re: RR: One line patch to run emma tests as well during ant test

2009-04-24 Thread Amit Manjhi
LGTM. Yes, the short/long test breakdown should be EmmaClassLoadingTest and others. It is okay if we do this short/long partitioning later, when we do it across all tests. Amit On Fri, Apr 24, 2009 at 10:13 AM, Freeland Abbott fabb...@google.comwrote: Amit, can you review the attached patch

[gwt-contrib] [google-web-toolkit commit] r5280 - Fixing the duplicate emma test drivers: only test.hosted.emma remains, not the implicit e...

2009-04-24 Thread codesite-noreply
Author: fabb...@google.com Date: Fri Apr 24 11:03:25 2009 New Revision: 5280 Modified: trunk/user/build.xml Log: Fixing the duplicate emma test drivers: only test.hosted.emma remains, not the implicit emma test in test.hosted. Its output is (correctly) $os-hosted-mode-emma, not

[gwt-contrib] Re: IE8 support

2009-04-24 Thread jlabanca
LGTM I see a lot of tab characters, but the code looks great. It also looks like you've consolidated a lot of code. http://gwt-code-reviews.appspot.com/29803/diff/1/5 File user/src/com/google/gwt/dom/DOM.gwt.xml (right): http://gwt-code-reviews.appspot.com/29803/diff/1/5#newcode56 Line 56:

GWT over RPC transports Re: [gwt-contrib] Re: cross site RPC through iframes

2009-04-24 Thread Ray Cromwell
Here's a new blog post from me that might help you in implementing: http://timepedia.blogspot.com/2009/04/gwt-rpc-over-arbitrary-transports-uber.html -Ray 2009/4/22 Piotr Jaroszyński p.jaroszyn...@gmail.com: 2009/4/21 Ray Cromwell cromwell...@gmail.com: It wouldn't be hard to do it using

[gwt-contrib] [google-web-toolkit commit] r5281 - First draft, based on initial meeting wherein consensus was essentially achieved.

2009-04-24 Thread codesite-noreply
Author: br...@google.com Date: Fri Apr 24 14:53:02 2009 New Revision: 5281 Added: wiki/MultiValuedConfigProperties.wiki Log: First draft, based on initial meeting wherein consensus was essentially achieved. Added: wiki/MultiValuedConfigProperties.wiki

[gwt-contrib] RR: Design doc for multi-valued configuration properties

2009-04-24 Thread Bruce Johnson
Hi GWT community, At a recent meeting intended to be a discussion of how to design blacklist support for RPC, we realized that we wanted to make some changes to the new set-configuration-property module XML support. It ended up becaming a prerequisite to continuing with RPC blacklist support. In

[gwt-contrib] [google-web-toolkit commit] r5282 - Edited wiki page through web user interface.

2009-04-24 Thread codesite-noreply
Author: br...@google.com Date: Fri Apr 24 15:02:18 2009 New Revision: 5282 Modified: wiki/MultiValuedConfigProperties.wiki Log: Edited wiki page through web user interface. Modified: wiki/MultiValuedConfigProperties.wiki

[gwt-contrib] Re: IE8 support

2009-04-24 Thread t . broyer
My 2 c€nts. ...and this patch could also address issue 2815 http://code.google.com/p/google-web-toolkit/issues/detail?id=2815 (and do not forget issue 2938: http://code.google.com/p/google-web-toolkit/issues/detail?id=2938 ) http://gwt-code-reviews.appspot.com/29803/diff/1/9 File