Re: How do I make alternative style sheets for IE7 etc. in GWT?
Sorry for not replying to this sooner. I just wanted to thank you for your help. Me and my programmer found most of the links very helpful. Me, especially: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideClientBundle.html#Conditional_CSS Thanks again. :) -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Filter and Sorting in new Data presentation widget
Hi All, I am using new data presentaion widget for creating table. I need to filter the table and sort the table based on some data. How can i do it ? I didn't find any example for this. Pls help. Regards Deepak -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Return permutation directly from the server without selection script.
Hi, I saw the presentation of the GWT team and they talked about sending the permutation without sending first the selection script. I can read the HTTP headers and find-out what is the browser which is making the request, this is the easy part. But how can I find-out which file was generated by which permutation in the GWT compiler pipeline? I belive that I will need to write a linker to get those files, but how? Thanks. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.com http://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Integrating ContentFlow with GWT
I'm looking for a few pointers/tips on how to integrate the ContentFlow Javascript library into my GWT application. For reference and clarification ( I see there are a number of ContentFlow-like libs running around) here, the link to the specific js library I have in mind - http://www.jacksasylum.eu/ContentFlow/index.php. I have read the JSNI documents and understand the basic idea, but my lack of javascript specific knowledge is causing me grief. More specifically, here's what I would like to do: 1) Create a GWT ContentFlow widget that effectively proxies the ContentFlow Javascript object such that I can create 1 or more GWT ContentFlow instances like this: ContentFlow myContentFlow = new ContentFlow(); 2) The Javascript ContentFlow object can take one or more ContentFlowOptions that govern its behavior and funcitonality, thus I'd like to be able to set/get these options with typical getter/ setter methods on my GWT ContentFlow widget like this: ContentFlow myContentFlow = new ContentFlow(); ContentFlowOptions options = myContentFlow.getOptions(); // getter ... modify the options or create new ones myContentFlow.setOptions(options); // setter Note, ContentFlowOptions also appears to be a name/value pair abstraction found in the ContentFlow js library. 3) Create and add 1 or more ContentFlowItem, where an item is a simple abstraction taking an image url, label, and caption myContentFlow.add(new ContentFlowItem(images/image1.png, my- caption1, my-label1); myContentFlow.add(new ContentFlowItem(images/image2.png, my- caption2, my-label2); myContentFlow.add(new ContentFlowItem(images/image3.png, my- caption3, my-label3); ... 4) Register for selection events. When an ContentFlowItem is selected, have it callback to my GWT application with information regarding which item was selected. 5) Set the Style of my GWT ContentFlow abstractions for controlling the widgets look-n-feel. In a nutshell, I'd like to turn the ContentFlow js library of objects/ methods into a full-fledge general purpose GWT widget that can be used for a variety of purposes. Lastly, in the event that someone has already gone thru this work, I'd much appreciate getting access to the resulting work and if not, I'd be happy to share the results of the effort with the rest of the community once I've got a working example. Thanks in advance for your thoughts and help. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problem in Large scale application development and MVP
I recently tried to follow the Large scale application development and MVP tutorial. The tutorial was great but I am having a hard time with a few things. If you try and add a contact to the list, the contact is created. If you try and add another contact, you are taken to the edit screen of the last contact you created. No more contacts can be added once you add your first contact. What needs to be changed so you can add more than one contact. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Issues with GWT + GAE
The way I have been doing this is to disable the test server in the gwt plugin (done via the POM). I then do: mvn gae:run -Dgwt.compiler.skip=true mvn gwt:run The first command starts the GAE server but skips any compilation of GWT apps (optional, but saves a lot of time) The second command starts up the gwt plugin. I still use the ?gwt.codesvr= in my URL. On Aug 2, 4:48 pm, Magno Machado magn...@gmail.com wrote: I'm not sure whether I should ask it here or in the GAE group.. I'm trying to launch an application that uses GWT and GAE. I'm using Maven and Netbeans. First I was launching the app with mvn gwt:run. It worked well until I started to use the GAE apis in my code (It does make sense, since the gwt plugin for Maven doesn't do anything with GAE as far as I know). After some research, I found out that now I need to run the app with mvn gae:run, this way I'm invoking the GAE plugin, which will set up the GAE environment for me. First issue: After that, I noticed the GWT compiler started to compile my java classes to Javascript. That didn't happen before when I wasn't using GAE. Do I really have to run the JS compiler in order to run the app with GAE? Anyway, after the compilation finished I received this message: The server is running athttp://localhost:8080/ So I tried to open this URL on the browser and received this message: GWT module 'crystalpoll' may need to be (re)compiled After more research, I found a forum post saying that it's missing the ?gwt.codesrv url parameter, so I copied it from the URL I used to access before and now I have:http://localhost:8080/CrystalPoll.html?gwt.codesvr=127.0.0.1:9997 But it gives me: Plugin failed to connect to hosted mode server at 127.0.0.1:9997 Any ideas? -- Magno Machado Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
import/export word document
Hello I am new to gwt. I've done a few obvious website to try it. Now I should do a website with an text editing zone. I guess a RichTextArea widget may be enough. But It must be able to export and save the text in online database, in a microsoft word file, and a pdf. It would be better it was able to import word file. It can not be odt. But it can import/export with a few mistake. I have know idea how to do it. Is there any way to use Google document or a library that may interface itself with getText and setText? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Catch unexcepted exception in a servlet fiter
Hello, I'm trying to use apache shiro in a gwt application with guice as DI. I want to catch in a filter all shiro exception in order to make then gwt compliant. My problem is that the filter doFilter method is called but it doesn't catch any exception. How can i catch rpc unexpected exception in a filter? Thanks for your help -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Arrow and Plus/Minus images in compiled files
Hi there. I've just compiled my gwt code. I looked at what it has generated and saw these arrows and plus/minus images. I am just wandering. Is this normal or is it some kind of bug? I do not recall adding these images there myself. Cheers, Vladimir -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Need help on Richtext editor formatting.
Hi, GWT(version 2.0.3) Richtext editor has been used , from where users enter data and they format it through the formatting toolbar in Richtext editor.PDF reports are generated (Using Jasper report) once user enters data in RT editor. The problem is , few of the formattings (like : Bold, Italics,Justification, Indentation,HR,create link, remove link) used are reflecting only in rich text editor , but the same formatting is not shown in PDF reports.Only underline is reflecting in PDF report. I have tried below things, still problem exists.: 1) I have explicitly provided true type fonts (along with Bold and Italics) as font extensions to Jasper. 2) I have observed that Bold and Italics are saved as STRONG and EM respectively. If I change STRONG and EM to B and I from database , then Bold, Italics formatting reflects in PDF reports. So, would like to know : 1) Is rich text editor formatting compatible with Jasper report (version 3.7.3)? 2) Where exactly the entered text getting converted to HTML? 3) Is there any file where the meanings of formattings mentioned? means , where exactly Bold to be considered as STRONG is mentioed? 4) Please suggest how this issue can be fixed. ThanksRegards, Rajeshwari -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Diagramming Library
Any other web based toolkits? Thanks, Chandra On Mon, Aug 2, 2010 at 7:19 PM, Erik Uzureau e...@traveltripper.com wrote: Maybe Lombardi's Blueprint would help? They spoke at the Google I/O conference in 2009 http://code.google.com/events/io/2009/sessions/EffectiveGwt.html http://www.lombardisoftware.com/bpm-blueprint-product.php On Sat, Jul 24, 2010 at 01:41, David Vree david.h.v...@gmail.com wrote: Does anyone know of a GWT-based diagramming tool for creating visio- like diagrams? I found a javascript library called mxGraph, which *seems* perfect: http://www.jgraph.com/mxgraph.html But it doesn't have a GWT wrapper and in their documentation they say this: In summary, consider GWT for simpler projects, but be careful of placing to much emphasis on it as a tool that avoids having to learn JavaScript properly. Not making me feel warm and fuzzy there. And the $6k price tag is a bit much -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Arrow and Plus/Minus images in compiled code
Hi there. I am using GWT 2.1M2 plugin for Eclipse and using Eclipse Helios IDE. I have just compiled my code and i noticed that there are some weird images that I have not put into the project myself. How did they get there? I have googled a lot on this, and did not find any reasonable explanation. Screenshot: http://yfrog.com/mkarrowsg Cheers, Vladimir -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to parse news rss feeds?
how to parse news rss feeds? RSS feed like any of news sites or google news... please help me -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
What happen with Google Web Toolkit Developer Plugin Firefox Linux
Hello friends, What happen with Google Web Toolkit Developer Plugin for firefox on linux only windows? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Loading a GWT module into a jsp page
Hi all, I have a GWT module I want to load into a jsp page. My nocache.js file load correctly from the server as per Firebug. The problem is that the module does not display. I don't know what the problem, the code is taken form the generated hosted page, which works, so I see no reason why there should be a problem. My jsp file is set out below. Any help would be greatly apreciated. ?xml version=1.0 encoding=UTF-8 ? %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html head titleLogin/title meta http-equiv=content-type content=text/html; charset=UTF-8/meta meta name=gwt:module content=com.accounts.Login/ com.accounts.Login/meta script type=text/javascript language=javascript src=../ com.accounts.Login/com.accounts.Login.nocache.js/script /head body iframe src=javascript:'' id=__gwt_historyFrame tabIndex='-1' style=position: absolute; width: 0; height: 0; border: 0/iframe pHello Login/p div id=login/div /body /html -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Arrow and Plus/Minus images in compiled files
I've googled a lot. No clues why it is so. Using GWT 2.1M2 with Eclipse Helios plugin. These are the files: http://yfrog.com/mkarrowsg . Cheers. On Aug 4, 12:34 pm, Vladimir vovajego...@gmail.com wrote: Hi there. I've just compiled my gwt code. I looked at what it has generated and saw these arrows and plus/minus images. I am just wandering. Is this normal or is it some kind of bug? I do not recall adding these images there myself. Cheers, Vladimir -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
I met a problem when I made a RPC class (java.security.AccessControlException)
Hi All, I downloaded the mysql connect gwt example from http://code.google.com/p/gwt-examples/wiki/project_MySQLConn And I re-configured it on my Eclipse Galileo (using gwt eclipse plugin with gwt-sdk 2.0.3) + XP. When it makes rpc call and retrieves the data from mysql database, it give me this error: Aug 4, 2010 12:42:47 PM com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1280925767607000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.tribling.gwt.test.mysqlconnection.client.BibleData[] com.tribling.gwt.test.mysqlconnection.client.MySQLConnectionService.getBibleInfo()' threw an unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission ALL FILES execute) at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java: 378) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 581) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1093) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 121) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 139) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:352) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 396) at org.mortbay.thread.BoundedThreadPool $PoolThread.run(BoundedThreadPool.java:442) Caused by: java.security.AccessControlException: access denied (java.io.FilePermission ALL FILES execute) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) at java.lang.SecurityManager.checkExec(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at com.tribling.gwt.test.mysqlconnection.server.DB_Conn.getServerMysqlOn(DB_Conn.java: 42) at com.tribling.gwt.test.mysqlconnection.server.DB_Conn.init(DB_Conn.java: 26) at com.tribling.gwt.test.mysqlconnection.server.DB_Bible.init(DB_Bible.java: 21) at com.tribling.gwt.test.mysqlconnection.server.MySQLConnectionImpl.getBibleInfo(MySQLConnectionImpl.java: 36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
Re: Arrow and Plus/Minus images in compiled files
Maybe this is part of the standard gwt theme. If you take a look at the GWT Tree widget those arrows are used there. But they will no be loaded to the browser if not used, so relax :) Try to remove the standard theme from your gwt module (if you don't use Widgets) and those files will no be compiled next time. And if you want images, try to use CssResources and ClientBundle so the compiler will generate only the files that your code uses. Hope it helps. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.com http://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Arrow and Plus/Minus images in compiled files
Thanks for your reply :) I've looked through the compiled files, and those arrow images are not referenced anywhere. Thank G... Google? :) I'm not using the standard theme, IMHO it does not look very pretty :) I'm inlining css and small images as much as possible. Thanks On Aug 4, 4:23 pm, André Moraes andr...@gmail.com wrote: Maybe this is part of the standard gwt theme. If you take a look at the GWT Tree widget those arrows are used there. But they will no be loaded to the browser if not used, so relax :) Try to remove the standard theme from your gwt module (if you don't use Widgets) and those files will no be compiled next time. And if you want images, try to use CssResources and ClientBundle so the compiler will generate only the files that your code uses. Hope it helps. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.comhttp://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?
Yes, I did a project a few months ago with everything you listed except, maybe, Hibernate I say maybe because the project itself used an internal framework very similar to Hibernate On 3 ago, 05:18, Sanky 74.san...@gmail.com wrote: Hello, I am learning GWT for a while. I tried tutorials of GWT. I learnt Hibernate as well. Now I am going to work on a real application. It is divided into 2 parts: Standalone Desktop mode(without internet connection) and web mode(with internet connection, front end will remain same as for Desktop mode, with an added button nd some message boxes). This project is connected to other project so i have to use the same configuration (if possible to use this all) used for that main project, the configuration includes: GWT - for front end and business logic Hibernate - Database connectivity MySQL - as a database Ant - war built tool Tomcat - Application server log4j - for logging SVN - repository My query is ' can I use this configuration for this project? Desktop mode has no Database connectivity, but use xml to store data. Do i need to use Tomcat for desktop mode? What other things I need to be careful with? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: import/export word document
This is outside the realm of GWT, however, you may want to check out the Apache POI project. If your server-side implementation is Java- based, it could be helpful. http://poi.apache.org/ On Aug 3, 7:28 pm, bruce bruce.ol.mig...@gmail.com wrote: Hello I am new to gwt. I've done a few obvious website to try it. Now I should do a website with an text editing zone. I guess a RichTextArea widget may be enough. But It must be able to export and save the text in online database, in a microsoft word file, and a pdf. It would be better it was able to import word file. It can not be odt. But it can import/export with a few mistake. I have know idea how to do it. Is there any way to use Google document or a library that may interface itself with getText and setText? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Why do I get Cannot make a qualified reference to the static method ... when that method is being only called in JSNI?
I have something like this: package com.project; public class Events { static final native void bindEvents() /*-{ $wnd.onresize = th...@com.project.events::resize(); }-*/; private static final void resize() { ... } } the bindEvents is called in onModuleLoad. When I compile the project I get the error Cannot make a qualified reference to the static method resize, how can I fix this? thanks. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Arrow and Plus/Minus images in compiled files
You are inlining css and images using clientbundle and cssresource? I think if the images is in the public path of the application the GWT compiler will output (even if they are not used). But with ClientBundle the behavior is different (i think). I had an problema like yours, but for me just removing the standard theme solved. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.com http://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Is GWT application gallery still maintained?
I've uploaded my application on http://gwtgallery.appspot.com/ more than a week ago and it still does not have appeared in the gallery. The most addition dates from June 7. Is this gallery still maintained? Thanks, Danny www.cellamea.eu -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problems extending CalendarView
Folks, I'm trying to make a fairly basic improvement to the default GWT DatePicker. However, due to its design, I end up having to extend (and largely reimplement) a few classes (incl CellGridImpl and CalendarView). Everything works fine with my implementation when compiling, and when running as a webapp. However, when I try to debug using DevMode, I get this error: 01:27:53.944 [ERROR] [analysisgraph] Unable to load module entry point class com.masergy.ina.analysis.client.AnalysisEntryPoint (see associated exception for details) java.lang.IllegalAccessError: tried to access class com.google.gwt.user.datepicker.client.DatePickerComponent from class com.masergy.ina.analysis.client.widget.BoundedCalendarView at com.masergy.ina.analysis.client.widget.BoundedCalendarView.access $1(BoundedCalendarView.java:1) at com.masergy.ina.analysis.client.widget.BoundedCalendarView $CellGrid$DateCell.update(BoundedCalendarView.java:133) at com.masergy.ina.analysis.client.widget.BoundedCalendarView.refresh(BoundedCalendarView.java: 339) at com.google.gwt.user.datepicker.client.DatePicker.refreshAll(DatePicker.java: 622) at com.google.gwt.user.datepicker.client.DatePicker.setCurrentMonth(DatePicker.java: 513) at com.google.gwt.user.datepicker.client.DatePicker.init(DatePicker.java: 282) at com.masergy.ina.analysis.client.widget.BoundedDatePicker.init(BoundedDatePicker.java: 36) at com.masergy.ina.analysis.client.widget.BoundedDateTimePicker.doLayout(BoundedDateTimePicker.java: 103) at com.masergy.ina.analysis.client.widget.BoundedDateTimePicker.init(BoundedDateTimePicker.java: 89) [...] update() is from code I've had to reimplement from CalendarView: public void update(Date current) { setEnabled(true); getValue().setTime(current.getTime()); String value = getModel().formatDayOfMonth(getValue()); setText(value); dateStyle = cellStyle; if (isFiller()) { dateStyle += + css().dayIsFiller(); } else { String extraStyle = getDatePicker().getStyleOfDate(current); // -- line 133 if (extraStyle != null) { dateStyle += + extraStyle; } } // We want to certify that all date styles have before and after // them for ease of adding to and replacing them. dateStyle += ; updateStyle(); } getDatePicker() is an inherited method in the public class CalendarView, but is from the package-protected DatePickerComponent class. Does this make any sense? Why is DatePicker so impossible to extend to add any decent functionality? In my case, all I wanted was to override the simple CalendarView.isDateEnabled() method to limit the range of selectable days. But due to the overly paranoid method and field access restrictions, I had to reimplement most of the entire package. I'd like to avoid reimplementing the entire package, including CSS, but I'm not sure that's even possible. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
instance of Servlet in web.xml
Hi, I need to get and instance of the servlet specified in web.xml. I have a main running in the same JVM as the servlet. I need to be able to fill a queue in the server. How can I do this??? Any help is appreciated. Thank you -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to disable menu items?
On Aug 4, 1:42 am, Magnus alpineblas...@googlemail.com wrote: It would be fine if someone could tell how this can be done. LMGTFY: http://code.google.com/p/gwtlib/source/browse/#svn/trunk/src/org/gwtlib/client/menu/ui Take a look at the gwtlib source code for the MenuBar and MenuItem classes, which are derived from the corresponding GWT classes. All will be revealed! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
css bullets with sprites ?
Anybody any idea how to use gwt sprites with bullets in css? Normally you would use gwt sprites in css like this: @sprite ul.bulletSimple li { gwt-image: bulletSimple; } But this will cause that GWT adds the width and height according to the image dimensions. This results in a list item with unwanted dimensions. Normally you can solve this with a div that wraps the div containing the image. However how to do this with a bullet list item? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: instance of Servlet in web.xml
what server have you have? 2010/8/4 lam lama.gh...@gmail.com Hi, I need to get and instance of the servlet specified in web.xml. I have a main running in the same JVM as the servlet. I need to be able to fill a queue in the server. How can I do this??? Any help is appreciated. Thank you -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Browser cache issue
I have a GWT app deployed onto our client's machines. As an ongoing development alongside, we have to release new improved versions of the application fron time to time. Everytime we release a new version we often run into the problem where the client's browser has cached the old scripts scriptsand for a while it behaves strangly as the data it is trying to work with is not quite compatible with it. What is the best way to overcome this problem. Currently I have to tell the users to clear their browser's cache for a new release but it would be nice they don't have to do this. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return permutation directly from the server without selection script.
I look for that a time ago... the Wave team did it.. but it seems they didn't release it. But it shouldn't be hard to do... you need to create a linker that generates a file with the information you need. Then from your server read that file a do the easy part. 2010/8/4 André Moraes andr...@gmail.com Hi, I saw the presentation of the GWT team and they talked about sending the permutation without sending first the selection script. I can read the HTTP headers and find-out what is the browser which is making the request, this is the easy part. But how can I find-out which file was generated by which permutation in the GWT compiler pipeline? I belive that I will need to write a linker to get those files, but how? Thanks. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.com http://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://ajax-development.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return permutation directly from the server without selection script.
How in the linker i get the permutation that is been generated? I saw the google i/o presentation where the creation off an Html5OfflineLinker but i don't found were i get the permutation, the list of files I already know were to look. The GWT team don't have too much docs for Linkers. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.com http://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return permutation directly from the server without selection script.
To be honest.. I don't know :)... I never did it. I good start point is com.google.gwt.core.linker.IFrameLinker 2010/8/4 André Moraes andr...@gmail.com How in the linker i get the permutation that is been generated? I saw the google i/o presentation where the creation off an Html5OfflineLinker but i don't found were i get the permutation, the list of files I already know were to look. The GWT team don't have too much docs for Linkers. -- André Moraes Analista de Desenvolvimento de Sistemas andr...@gmail.com http://andredevchannel.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://ajax-development.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?
How did u get the application to be standalone? Did used gears or something like that? Greets Am 04.08.2010 15:33 schrieb Fernando spiderkens...@gmail.com: Yes, I did a project a few months ago with everything you listed except, maybe, Hibernate I say maybe because the project itself used an internal framework very similar to Hibernate On 3 ago, 05:18, Sanky 74.san...@gmail.com wrote: Hello, I am learning GWT for a while. I tri... -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Filter and Sorting in new Data presentation widget
Please do not bump threads like this. It's rude, adds noise to the list, and it won't get your question answered any faster. On Wed, Aug 4, 2010 at 2:35 PM, Deepak Singh deepaksingh...@gmail.comwrote: Any help pls ? On Wed, Aug 4, 2010 at 5:46 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi All, I am using new data presentaion widget for creating table. I need to filter the table and sort the table based on some data. How can i do it ? I didn't find any example for this. Pls help. Regards Deepak -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Chris Conroy Software Engineer Google, Atlanta -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to parse news rss feeds?
The problem you are having is related to the Same Origin Policy(SOP) within the browser. It basically says that code can only load data from the server it is loaded from. That is why I suggested the server side proxy in both solutions above. Unfortunately this means the server is making the request for you, so any personalized RSS feeds or ones that require authentication will not be accessible. If you would like to avoid writing your own proxy you can try using YQL for JSONP: http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D'http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories'format=jsoncallback=cbfunc On Aug 4, 10:12 am, kumar decent.p...@gmail.com wrote: Hi lineman, Thanks for giving me response, my problem is not the parsing.. problem is parsing from public server feeds which will provide news. I have tried with RequestBuilder class but i unable to read data from other servers (Ex. Google news feed, yahoo news feed etc..).. data coming as null.. I have searched on the google but i have't find any solutions.. Thanks Please provide information about parsing from other servers On Aug 4, 8:50 am, lineman78 linema...@gmail.com wrote: The easiest, but not most efficient way would be to write a server side proxy to fetch for you and use the built-in GWT DOM parsing API. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... The most efficient method that I would use is to use the RSS XSD to generate JAXB classes which will be used in the proxy to parse the RSS and convert it into JSON so it can be parsed faster on the client. I would also add a server-side cache so multiple clients viewing the same RSS feed aren't making multiple requests per minute, cacheing for 1 minute would be sufficient I think. On Aug 3, 1:28 pm, kumar decent.p...@gmail.com wrote: how to parse news rss feeds? RSS feed like any of news sites or google news... please help me -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Filter and Sorting in new Data presentation widget
Have you tried change the list and refresh the celltable. 2010/8/4 Chris Conroy con...@google.com Please do not bump threads like this. It's rude, adds noise to the list, and it won't get your question answered any faster. On Wed, Aug 4, 2010 at 2:35 PM, Deepak Singh deepaksingh...@gmail.comwrote: Any help pls ? On Wed, Aug 4, 2010 at 5:46 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi All, I am using new data presentaion widget for creating table. I need to filter the table and sort the table based on some data. How can i do it ? I didn't find any example for this. Pls help. Regards Deepak -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Chris Conroy Software Engineer Google, Atlanta -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: AE / GWT Newb: How to do RPC Call with my own return type?
Hey spierce, Your event class needs to go in the shared package (com.spierce7.gwt.test.shared.Event). Both the server and client will use that class. The Event should implement IsSerializable, and have an empty constructor at the minimum. As with all serialized objects, all it's members need to be serializable. If your using java.util.Date, you should be fine. Tom On Aug 3, 7:14 pm, spierce7 spier...@gmail.com wrote: Hey guys, I've been mess making an app for a while now, and I've finally got something that is able to save an entity on the server. That entity (to keep it simple) is of type Event. It has 2 Date objects: startDate and endDate. I understand how to do queries and what not, but what I found my program encountering issues with is in my method within the ServiceImpl, getEvents(), it's having a difficult time distinguishing between my client side Event object and my server side. This creates issues when I try to have my return type as ListEvent. How should I be handling this? Does the client side Event object need to be serializable? I've tried this, still without much luck. On the client side Service, and ServiceAsync classes, should I be declaring the types through the server side object? Example: public Listcom.spierce7.gwt.test.server.Event getEvents(); or should I perhaps be doing the same thing, but with the client side on the server? I've tried both of these, but can't seem to get it to be happy with whatever I put. Any direction in this would be greatly appreciated! Thanks! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Can't download eclipse plugin
I'm getting repeated timeout errors trying to download the eclipse 3.6 plugin: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.oophm_1.3.3.v201006111317.jar. connect timed out Is something down on the server side? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problem with default Style for Popup
Hello, I am trying to display 3-4 popuppanel which should be displayed to the starting from bottom right of the screen. But am facing a difficulty which is due to this popup panel is being converted to indivisual panels and those divs are being given default style = left: 0px; top: 0px; position: absolute; overflow: visible; . How to solve this problem i.e to remove that style please help. Thanks in advance. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Server support for speed traces in GWT 2.1
I just joined the group and quickly scanned the archives, but didn't see an answer to my question. I'm very pleased with GWT and was hoping to have a look at the speed traces feature in 2.1 M2, but noticed that it seems to require a commercial version of Tomcat from SpringSource. Is there additional server support required for speed traces for open- source or other Java servers? I'm not particulary keen to dive into Spring, haven't looked at Roo at all, and it's unlikely that we would be moving to SpringSource TC anytime soon. Is the Spring XML framework needed for performance analysis or are there other server-side features that this product provides? In general I'm quite puzzled at this dependency in an open toolkit. Thanks, Steve -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Setting a height in % within a 'rounded-corners' panel
Hi, I have the following problem: I want a window-like panel with rounded corners inside a nested structure of other panels. The content of the window should scale automatically (preferably via CSS: height 100%, scaling it via ResizeHandlers introduces much scope for things to go wrong). Eventually I realized that heights in % are ignored if they are inside a td table cell. So I changed my layout to only use div based panels, of course finally realizing that unsurprisingly the DecoratorPanel itself is a table. Changing that to a SimplePanel makes everything work fine. Does anyone have an elegant solution to how I could either achieve what I want? Of course if needs be I can resize the contents of the DecoratorPanel using a ResizeHandler, but it seems like there ought to be a better way... Cheers, Johannes -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Filter and Sorting in new Data presentation widget
**I tried by changing the list and table.redraw(). Even refresh did not work. Regards Deepak On Thu, Aug 5, 2010 at 1:17 AM, jocke eriksson jock...@gmail.com wrote: Have you tried change the list and refresh the celltable. 2010/8/4 Chris Conroy con...@google.com Please do not bump threads like this. It's rude, adds noise to the list, and it won't get your question answered any faster. On Wed, Aug 4, 2010 at 2:35 PM, Deepak Singh deepaksingh...@gmail.comwrote: Any help pls ? On Wed, Aug 4, 2010 at 5:46 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi All, I am using new data presentaion widget for creating table. I need to filter the table and sort the table based on some data. How can i do it ? I didn't find any example for this. Pls help. Regards Deepak -- 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 to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Chris Conroy Software Engineer Google, Atlanta -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't download eclipse plugin
you can try with this path http://dl.google.com/eclipse/plugin/3.5 2010/8/4 JKelly qc.jke...@gmail.com I'm getting repeated timeout errors trying to download the eclipse 3.6 plugin: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.oophm_1.3.3.v201006111317.jar . connect timed out Is something down on the server side? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Make GWT Files Smaller In Size
When I compile GWT it generates files. The total file size for my compiled project is 222KB. How do I make this smaller? Are there any files I don't need? For example, there is a hosted.html that is created. Can I delete that? Also the only module I am using is inherits name='com.google.gwt.user.User'/ So I can't get rid of any other modules. I need the compilation to be as small as possible! Thx. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Server support for speed traces in GWT 2.1
Steve, SpeedTracer and GWT continue to be fully open. For those that use SpringSource TC, this feature is useful. Some enterprising folks have started porting this work to other servers: http://github.com/igrigorik/rack-speedtracer http://github.com/igrigorik/rack-speedtracer http://code.google.com/p/spring4speedtracer/ On Wed, Aug 4, 2010 at 1:21 PM, swart steve.w...@gmail.com wrote: I just joined the group and quickly scanned the archives, but didn't see an answer to my question. I'm very pleased with GWT and was hoping to have a look at the speed traces feature in 2.1 M2, but noticed that it seems to require a commercial version of Tomcat from SpringSource. Is there additional server support required for speed traces for open- source or other Java servers? I'm not particulary keen to dive into Spring, haven't looked at Roo at all, and it's unlikely that we would be moving to SpringSource TC anytime soon. Is the Spring XML framework needed for performance analysis or are there other server-side features that this product provides? In general I'm quite puzzled at this dependency in an open toolkit. Thanks, Steve -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Chris Conroy Software Engineer Google, Atlanta -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Filter and Sorting in new Data presentation widget
Ok get the list from the adapter, here this works for me ListBookingItemJSO items = adapter.getList(); for (BookingItemJSO item : items) { item.setChecked(false); } Collections.reverse(items); adapter.refresh(); } }); 2010/8/4 Deepak Singh deepaksingh...@gmail.com **I tried by changing the list and table.redraw(). Even refresh did not work. Regards Deepak On Thu, Aug 5, 2010 at 1:17 AM, jocke eriksson jock...@gmail.com wrote: Have you tried change the list and refresh the celltable. 2010/8/4 Chris Conroy con...@google.com Please do not bump threads like this. It's rude, adds noise to the list, and it won't get your question answered any faster. On Wed, Aug 4, 2010 at 2:35 PM, Deepak Singh deepaksingh...@gmail.comwrote: Any help pls ? On Wed, Aug 4, 2010 at 5:46 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi All, I am using new data presentaion widget for creating table. I need to filter the table and sort the table based on some data. How can i do it ? I didn't find any example for this. Pls help. Regards Deepak -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Chris Conroy Software Engineer Google, Atlanta -- 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 to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error on execution
Anyone can help? :S 2010/8/3 Diego Venuzka dvenu...@gmail.com Well, in the Netbeans, how i do that? because i'm compiling the project direct on NB, and it open a internet window, to show the page. The project is normally compiled, but show the error message on internet window... Wich files i can delete to solve this? Or how i compile it again ? Thanks!!! 2010/8/3 Gal Dolber gal.dol...@gmail.com mm, I have never used Netbeans.. In general that problem happen when you run an app that isn't compiled. When you run development-mode it generated a folder in the war directory if it didn't exist. And if you try to run the app without development-mode before compiling you will get that alert. If your app works on development-mode there is something wrong with the compiling process. If you see the alert in development-mode (I don't know if that even possible).. I don't know what you can do :P Try to describe better the situation. 2010/8/3 Diego Venuzka dvenu...@gmail.com Hi Gal! Well, i'm using Netbeans to build my project, and i don't found the war directory. On Eclipse i saw that, but on Netbeans, not On the main.xml, in the tab Compiler, all the lines are emptythis is correct? Thanks! 2010/8/3 Gal Dolber gal.dol...@gmail.com Jeje, porque contestas en español si pregunta en ingles? Try to remove the generated folder from the war directory and recompile or re-run. 2010/8/2 leonardo britez britez_2...@yahoo.com Fijate si le falta alguna libreria, ok? --- El *lun, 8/2/10, Diego Venuzka dvenu...@gmail.com* escribió: De: Diego Venuzka dvenu...@gmail.com Asunto: Error on execution A: google-web-toolkit@googlegroups.com Fecha: lunes, 2 de agosto de 2010, 09:11 pm Hi! I'm still trying to build my project, and after several searches, i found a really nice project. After the adjustments, the system show a error message (attached). How i solve this? Thanks for all! :D -- Diego Venuzka -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://ajax-development.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Diego Venuzka -- 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 to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://ajax-development.blogspot.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Diego Venuzka -- Diego Venuzka -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: AE / GWT Newb: How to do RPC Call with my own return type?
Thanks so much! I'll give this a shot. On Aug 4, 4:06 pm, Thomas Dvornik amp...@gmail.com wrote: Hey spierce, Your event class needs to go in the shared package (com.spierce7.gwt.test.shared.Event). Both the server and client will use that class. The Event should implement IsSerializable, and have an empty constructor at the minimum. As with all serialized objects, all it's members need to be serializable. If your using java.util.Date, you should be fine. Tom On Aug 3, 7:14 pm, spierce7 spier...@gmail.com wrote: Hey guys, I've been mess making an app for a while now, and I've finally got something that is able to save an entity on the server. That entity (to keep it simple) is of type Event. It has 2 Date objects: startDate and endDate. I understand how to do queries and what not, but what I found my program encountering issues with is in my method within the ServiceImpl, getEvents(), it's having a difficult time distinguishing between my client side Event object and my server side. This creates issues when I try to have my return type as ListEvent. How should I be handling this? Does the client side Event object need to be serializable? I've tried this, still without much luck. On the client side Service, and ServiceAsync classes, should I be declaring the types through the server side object? Example: public Listcom.spierce7.gwt.test.server.Event getEvents(); or should I perhaps be doing the same thing, but with the client side on the server? I've tried both of these, but can't seem to get it to be happy with whatever I put. Any direction in this would be greatly appreciated! Thanks! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Wave Demise.........sad day for GWT
Well poster boy for google's gwt adoption google wave officially died today. I would love the wave/gwt team to share lesson's learned. Also can we have the UI code open sourced as well? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: i18n translations
if you can i can help you with spanish 2010/8/4 ale aleee...@gmail.com Hi everybody, I'm finishing to develop a web application with GWT + GAE, and I want to publish in multiple languages. The application is about sport, and the message file is about 400 lines mostly consist of one word. Is there anyone who can translate it into his native language? In return he will receive my infinite gratitude, I will write his/her name in the thanks page of my site with a link to what he wants. And of course I will be happy to return the favor by translating into Italian! Any language is OK, even English, (I'n not speak wery well, so will be full of errors!) Thank you, thank you! Alessandro -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Loading a GWT module into a jsp page
Can you post your EntryPoint? maybe you nned to check the RootPanel.get() methods and check everything's where it's supposed to be... On Aug 3, 7:55 pm, shinokamparos shinokampa...@gmail.com wrote: Hi all, I have a GWT module I want to load into a jsp page. My nocache.js file load correctly from the server as per Firebug. The problem is that the module does not display. I don't know what the problem, the code is taken form the generated hosted page, which works, so I see no reason why there should be a problem. My jsp file is set out below. Any help would be greatly apreciated. ?xml version=1.0 encoding=UTF-8 ? %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html head titleLogin/title meta http-equiv=content-type content=text/html; charset=UTF-8/meta meta name=gwt:module content=com.accounts.Login/ com.accounts.Login/meta script type=text/javascript language=javascript src=../ com.accounts.Login/com.accounts.Login.nocache.js/script /head body iframe src=javascript:'' id=__gwt_historyFrame tabIndex='-1' style=position: absolute; width: 0; height: 0; border: 0/iframe pHello Login/p div id=login/div /body /html -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Wave Demise.........sad day for GWT
I just worry about GWT itself. Google may kill GWT some day. Our project heavy uses it:(. It doesn't release any new major version since last Dec. Although there is 2.1m2 released, I test it and found it is far more from final release. One year is for a major release, can we call it as an active project!? On Aug 5, 9:59 am, retro retrofit.br...@gmail.com wrote: Well poster boy for google's gwt adoption google wave officially died today. I would love the wave/gwt team to share lesson's learned. Also can we have the UI code open sourced as well? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Wave Demise.........sad day for GWT
I just worry about GWT itself. Google may kill GWT some day. Our project heavy uses it:(. Not anytime soon I imagine. Look Google just acquired instantiations which makes the gwtdesigner. http://www.instantiations.com/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Wave Demise.........sad day for GWT
Even if Google stopped supporting it, don't you think that it'd be kept up by community contributors? At the current release rate, maybe that would be faster anyways. On Wed, Aug 4, 2010 at 9:14 PM, charlie charlie.f...@gmail.com wrote: I've read much lately that google is working hard to get a social networking site to compete with facebook, I'm guessing they're pulling wave now so when it's ready it will be fresh and people will have forgotten wave. And seeing how adwords , gmail and most of the google apps suite use GWT, I think we will be safe. Having such a slow release schedule is kind of worrying though. On Wed, Aug 4, 2010 at 8:05 PM, Edgenius dapeng...@edgenius.com wrote: I just worry about GWT itself. Google may kill GWT some day. Our project heavy uses it:(. It doesn't release any new major version since last Dec. Although there is 2.1m2 released, I test it and found it is far more from final release. One year is for a major release, can we call it as an active project!? On Aug 5, 9:59 am, retro retrofit.br...@gmail.com wrote: Well poster boy for google's gwt adoption google wave officially died today. I would love the wave/gwt team to share lesson's learned. Also can we have the UI code open sourced as well? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- charlie/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Wave Demise.........sad day for GWT
Well google acquired Instantiations so probably GWT designer will be open sourced in some form. There are a bunch of must do's for GWT to be a credible alternative and if the might of Google cannot give us an end to end ajax toolkit then the likes of Sun microsystem's failing is no surprise. maybe free software is a tricky business. Must do's for GWT: 1) Where is my freaking DataBinding? I know i can add listeners and add MVP to do what we want, but the design seems fit for just simple UI's. Anyone looking for an alternative to Flex/SproutCore/Ajax/RIA should have better databinding support. 2) Give me a nice professional skin, for God's sake the enterprise skin should be easy to build and there should be better looking widgets. Even a blind person will cringe when he sees the GWT widgets. It makes me feel like Web 1.0 was so much better and i don't need AJAX. 3)Add some security/authorization/authentication support to widgets. Understood that it's fake security being on the client, but it's still needed for suppressing component display based on user roles. 4) DataBound widgets in GWT 2.1 are a shame compared to what EXT or SmartGWT grids offer. If they can do it in Javascript and it's too tough to do the same in GWT, then for God's sake stand up and say we give up, and add GodDamn wrappers to google branded javascripts. I have a hundred other things which i can think of but it seems like Google is not putting enough people behind GWT. Bruce/Ray/Sumit anyone? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
which permutation which user.agent HTML5 manifest help!!!
How can I know which which permutation (exactly which files) are for which user.agent? I assume that information is available if I look for it during compile time by extending an AbstractLinker, adding it my xxx.gwt.xml config file. I need to know because in order to make a cache.manifest for offline HTML5 storage, I need to know which files go in there. I can make a manifest now but it has files for my 12 permutations. Try using that on your Android phone. While it works, it seems to take like 5-10 minutes to pull the files from cache. I'm not exactly sure here but wouldn't you suspect having all 12 version in the manifest file is the culprit. It seems all files for all versions are downloaded, cached and retrieved. How then can I make a separate manifest file for each user.agent? I can just specify a generic html manifest=generic.manifest/ in my base page and then in a servlet filter detect user.agent and return an appropriate manifest. My problem is that I don't know what files are for which user.agent. Anyone? Does anyone know which GWT class is responsible for writing the xxx.nocache.js file. Whatever is writing that file has the information I need but how to get it? I'll start wading through GWT src but does anyone know? I can watch Cache event in chrome and I know the manifest is causing all versions of all user.agents to be downloaded and stored. Well that is what I told it to do because I don't know which files are used by which user agent. Should I file a bug? Is there one already? I GWT just inherently HTML5 unfriendly? Shouldn't be. Shawn -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Setting a height in % within a 'rounded-corners' panel
The td being 100% will do nothing if the table isn't 100%. Remember, % based is in relation to the parent, in the case of a td the table is set to auto size and therefore the cell being 100% won't matter. I also suggest looking at the layout panel as a parent panel due to the fact that it helps with inconsistencies between browsers. On Aug 4, 7:11 am, Johannes Lehmann johannes.lehma...@googlemail.com wrote: Hi, I have the following problem: I want a window-like panel with rounded corners inside a nested structure of other panels. The content of the window should scale automatically (preferably via CSS: height 100%, scaling it via ResizeHandlers introduces much scope for things to go wrong). Eventually I realized that heights in % are ignored if they are inside a td table cell. So I changed my layout to only use div based panels, of course finally realizing that unsurprisingly the DecoratorPanel itself is a table. Changing that to a SimplePanel makes everything work fine. Does anyone have an elegant solution to how I could either achieve what I want? Of course if needs be I can resize the contents of the DecoratorPanel using a ResizeHandler, but it seems like there ought to be a better way... Cheers, Johannes -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Official tutorial of how to create GWT module?
Hi I might be missing something, but I couldn't find a tutorial of how to create a GWT module from the GWT documentation. Is there any tutorial or article from GWT Team? -- Hez -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Fix support for null fields and Boolean type types in RequestFactory. (issue739801)
http://gwt-code-reviews.appspot.com/739801/diff/3001/1009 File user/src/com/google/gwt/app/rebind/EditorSupportGenerator.java (right): http://gwt-code-reviews.appspot.com/739801/diff/3001/1009#newcode457 user/src/com/google/gwt/app/rebind/EditorSupportGenerator.java:457: sw.indent(); Lose this change? http://gwt-code-reviews.appspot.com/739801/diff/3001/1013 File user/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java (right): http://gwt-code-reviews.appspot.com/739801/diff/3001/1013#newcode131 user/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java:131: return null; In addition to gracefully handling a Long field being set to null, wouldn't this return null even if a Long field is set to a String foo? http://gwt-code-reviews.appspot.com/739801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Possible memory leak in AbstractResourceContext
Look on CACHES field. /** * Maps ResourceContext caches to their associated TypeOracles. This is a weak * map and will not prevent TypeOracles from being gc'ed. */ private static final MapTypeOracle, MapString, Object CACHES = new WeakHashMapTypeOracle, MapString, Object(); Unfortunately I see in profiler that it _does_ prevent TypeOracle from being gc'ed. Look on screen shot from profiler. http://dl.dropbox.com/u/76691/images/2010/Screenshot_20100802_185831.png As you can see, there is ImageResourceDeclaration has strong reference on JMethod, it has reference on JRealClassType, which also has strong reference on TypeOracle. So, there is strong reference on TypeOracle from weak map value. As stated in WeakHashMap documentation this prevents entry from being gc'ed. See Implementation note: comment. The value objects in a ttWeakHashMap/tt are held by ordinary strong references. Thus care should be taken to ensure that value objects do not strongly refer to their own keys, either directly or indirectly, since that will prevent the keys from being discarded. I'm not sure what to do here. We probably can not use WeakReference on value, as recommended in WeakHashMap documentation, because there are no other link on cache. May be use WeakReference for method in ImageResourceDeclaration? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Make GWT template javascript suitable for XHTML
I created an issue based on the trunk of GWT, the url is http://codereview.appspot.com/1873052 On Aug 2, 3:04 pm, Joel Webber j...@google.com wrote: The best way would be to upload a patch to http:// gwt-code-reviews.appspot.com/ . That makes it much easier to understand the diffs. Le 1 août 2010 11:07, Henri hfman...@gmail.com a écrit : I updated function computeScriptBase() in IFrameTemplate.js to work with DOM javascript functions instead of document.write, which seems to work, and would like you to look at it. How can I send this file to you? On Jul 23, 3:17 pm, Joel Webber j...@google.com wrote: We've tried to get rid of the document.write() tricks before, but with no success. There's always some squirrely case that crops on (especially on IE) that's forced us to put them back in. There are also a couple of specific corner cases that rely on document.write(), which would need to be preserved: 1. computeScriptBase() uses it to find the current script element, so it can compute the base url from which it was loaded. 2. It's used to determine when script injection (i.e., script tags referenced in the .gwt.xml file) is done. The above two cases are probably impossible to solve without document.write(), though I'm certainly open to ideas. Assuming that's correct, it would mean you'd have to remove automatic script base detection and disable script injection. As much as I'd like to do that, we can't do so without breaking many existing apps. If you really must have XHTML support (something I've never found any actual utility in personally), then probably the better approach would be to design a different linker for it that explicitly removes the above features. Le 22 juillet 2010 05:28, Henri hfman...@gmail.com a écrit : Hello, Currently the template javascript files IFrameTemplate.js, SingleScriptTemplate.js, and XSTemplate.js in com/google/gwt/core/ linker and HostedModeTemplate.js in com/google/gwt/core/ext/linker/ impl use document.write to manipulate the HTML page. This is not allowed in XHTML. I changed IFrameTemplate.js so it now uses equivalent DOM statements instead and that is working. XHTML documents are useful since one can use embedded SVG and MathML. If you are interested I can send the modified IFrameTemplate.js to you to check out if I did it the right way. Then we can update the other template javascript files. Hope to hear from you! Kind regards, Henri Manson -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Ability to support null data in Record (issue712802)
On 2010/08/04 00:19:18, cromwellian wrote: Looks good, but should we return 'null' or default a 'null' Long to something like say, '0L'? It should definitely return null if the server provided null. Returning a default value like 0L (or anything else) when encountering a null Long would mean that we couldn't use null as a different state any more. http://gwt-code-reviews.appspot.com/712802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: De-bounce built-in selection models (issue722802)
I'm assuming you meant: sm.setSelected(foo, !sm.isSelected(foo)); sm.setSelected(foo, !sm.isSelected(foo)); To do this I need some temp storage to be able to compare the final state when the event is about to be fired to the previous state at the same point in the code. Is this situation common enough to justify the extra effort? On 2010/08/03 18:27:00, Ray Ryan wrote: If I do this: sm.setSelected(!foo, sm.isSelected()); sm.setSelected(!foo, sm.isSelected()); I'll still see an event. Given your nifty event coalescing, I wouldn't have to. Should you do it there instead? Also, I wonder if NoSelectionModel is the exception to the no bounces please rule. Agreed. http://gwt-code-reviews.appspot.com/722802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: De-bounce built-in selection models (issue722802)
http://gwt-code-reviews.appspot.com/722802/diff/1/2 File user/src/com/google/gwt/view/client/DefaultSelectionModel.java (right): http://gwt-code-reviews.appspot.com/722802/diff/1/2#newcode84 user/src/com/google/gwt/view/client/DefaultSelectionModel.java:84: scheduleSelectionChangeEvent(); It seems that I would need some additional storage to actually guarantee that the event firing logic knows exactly what has changed (as in your example of setSelected(a, true); setSelected(a, false) not firing an event). My question is whether that's worth it. I'll protoype something and see how it looks. On 2010/08/03 18:27:11, Ray Ryan wrote: Should you be doing this at your finally spot rather than at each setSelected() call? http://gwt-code-reviews.appspot.com/722802/diff/1/3 File user/src/com/google/gwt/view/client/MultiSelectionModel.java (right): http://gwt-code-reviews.appspot.com/722802/diff/1/3#newcode52 user/src/com/google/gwt/view/client/MultiSelectionModel.java:52: public void setSelected(T object, boolean selected) { In this case, I think there was a latent bug. If two items have equal keys: getKey(a).equals(getKey(b)) but are not themselves equal, then: setSelected(a, true); setSelected(b, true); would end up with both a and b in selectedSet even though selectedKeys would only have one key for both. My thought is that: 1) an item with the same key as an existing item should replace that item, and 2) if selectedSet changes, an event should be fired (even if the key set doesn't change) Does that make sense? I'm thinking of reimplementing this again to be more clear about the intended contract, stay tuned. On 2010/08/03 18:27:11, Ray Ryan wrote: I'm confused by this one. setSelected is also a way to notify the model that an object is still selected, but needs to be redisplayed because it has changed? http://gwt-code-reviews.appspot.com/722802/diff/1/4 File user/src/com/google/gwt/view/client/NoSelectionModel.java (right): http://gwt-code-reviews.appspot.com/722802/diff/1/4#newcode49 user/src/com/google/gwt/view/client/NoSelectionModel.java:49: public void setSelected(T object, boolean selected) { On 2010/08/03 18:27:11, Ray Ryan wrote: Seems like de-bouncing would be unexpected for this model? Done. http://gwt-code-reviews.appspot.com/722802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add SpeedTracerLogger instrumentation to DevMode (issue704802)
still lgtm http://gwt-code-reviews.appspot.com/704802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix support for null fields and Boolean type types in RequestFactory. (issue739801)
imo, the client should independently check for errors, without relying on the server code. The server code could be stale, for example. How about if the previous code, i.e., the code before the patch, is rearranged to check for null return value from getInt(...)? On Wed, Aug 4, 2010 at 12:35 AM, cromwell...@google.com wrote: http://gwt-code-reviews.appspot.com/739801/diff/3001/1013 File user/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java (right): http://gwt-code-reviews.appspot.com/739801/diff/3001/1013#newcode131 user/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java:131: return null; Yes, but in theory this shouldn't happen since the domain object on the server is returning Long, and we should be aggressively checking that they match up at invocation time. If the domain object is returning String, but the Record is Long, we should be trapping this earlier. On 2010/08/04 07:16:38, amitmanjhi wrote: In addition to gracefully handling a Long field being set to null, wouldn't this return null even if a Long field is set to a String foo? http://gwt-code-reviews.appspot.com/739801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fixing the position of the paging controls in the scaffolding app. (issue738802)
Reviewers: Ray Ryan, Description: Fixing the position of the paging controls in the scaffolding app. Please review this at http://gwt-code-reviews.appspot.com/738802/show Affected files: M bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/employee/EmployeeListView.ui.xml M bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/report/ReportListView.ui.xml Index: bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/employee/EmployeeListView.ui.xml === --- bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/employee/EmployeeListView.ui.xml (revision 8466) +++ bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/employee/EmployeeListView.ui.xml (working copy) @@ -6,12 +6,12 @@ ui:image field=createButton / ui:style .controls { - position: absolute; + position: relative; left:0; right:0; top:0; height: 2em; - margin-left: 12em; + margin-left: 15px; } @sprite .createButton { gwt-image: 'createButton'; Index: bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/report/ReportListView.ui.xml === --- bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/report/ReportListView.ui.xml (revision 8466) +++ bikeshed/src/com/google/gwt/sample/expenses/gwt/ui/report/ReportListView.ui.xml (working copy) @@ -5,12 +5,12 @@ ui:image field=createButton resource=../createButton.png / ui:style .controls { - position: absolute; + position: relative; left:0; right:0; top:0; height: 2em; - margin-left: 12em; + margin-left: 15px; } @sprite .createButton { gwt-image: 'createButton'; -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Possible memory leak in AbstractResourceContext
Maybe this wants to be the Apache ReferenceMap of WEAK,WEAK? On Wed, Aug 4, 2010 at 3:23 AM, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote: Look on CACHES field. /** * Maps ResourceContext caches to their associated TypeOracles. This is a weak * map and will not prevent TypeOracles from being gc'ed. */ private static final MapTypeOracle, MapString, Object CACHES = new WeakHashMapTypeOracle, MapString, Object(); Unfortunately I see in profiler that it _does_ prevent TypeOracle from being gc'ed. Look on screen shot from profiler. http://dl.dropbox.com/u/76691/images/2010/Screenshot_20100802_185831.png As you can see, there is ImageResourceDeclaration has strong reference on JMethod, it has reference on JRealClassType, which also has strong reference on TypeOracle. So, there is strong reference on TypeOracle from weak map value. As stated in WeakHashMap documentation this prevents entry from being gc'ed. See Implementation note: comment. The value objects in a ttWeakHashMap/tt are held by ordinary strong references. Thus care should be taken to ensure that value objects do not strongly refer to their own keys, either directly or indirectly, since that will prevent the keys from being discarded. I'm not sure what to do here. We probably can not use WeakReference on value, as recommended in WeakHashMap documentation, because there are no other link on cache. May be use WeakReference for method in ImageResourceDeclaration? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Public: Add default validators for the standard constraints. (issue735801)
LGTM http://gwt-code-reviews.appspot.com/735801/diff/20002/26058 File user/test/com/google/gwt/validation/client/constraints/GwtCompileTest.java (right): http://gwt-code-reviews.appspot.com/735801/diff/20002/26058#newcode35 user/test/com/google/gwt/validation/client/constraints/GwtCompileTest.java:35: ListClass? temp = new ArrayListClass?(12); 12 != 13. Any real reason to set the size here? http://gwt-code-reviews.appspot.com/735801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Removed trim in ValueBoxBase, forcing parsers to handle trim()ing. (issue738801)
We just helped Philip pick one of the bugs on the list for Q3 to help him get started with the codebase. /kelly On Wed, Aug 4, 2010 at 12:53 PM, rj...@google.com wrote: Where did this change come from? What's motivating it? http://gwt-code-reviews.appspot.com/738801/diff/1/2 File user/src/com/google/gwt/user/client/ui/ValueBoxBase.java (left): http://gwt-code-reviews.appspot.com/738801/diff/1/2#oldcode201 user/src/com/google/gwt/user/client/ui/ValueBoxBase.java:201: if (.equals(text)) { This check will have to move after the parsing, or else be declared a parser responsibility. http://gwt-code-reviews.appspot.com/738801/show -- If you received this communication by mistake, you are entitled to one free ice cream cone on me. Simply print out this email including all relevant SMTP headers and present them at my desk to claim your creamy treat. We'll have a laugh at my emailing incompetence, and play a game of ping pong. (offer may not be valid in all States). -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fixing the position of the paging controls in the scaffolding app. (issue738802)
LGTM http://gwt-code-reviews.appspot.com/738802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add login widgets to Expenses and the Mobile versions (issue713802)
LGTM http://gwt-code-reviews.appspot.com/713802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Reintroduce changes from r8440, with a fix to ZipFileResource and update related tests. (issue723802)
Reviewers: scottb, Description: Reintroduce changes from r8440, with a fix to ZipFileResource and update related tests. Please review this at http://gwt-code-reviews.appspot.com/723802/show Affected files: M dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java D dev/core/src/com/google/gwt/dev/cfg/PublicOracle.java M dev/core/src/com/google/gwt/dev/resource/ResourceOracle.java M dev/core/src/com/google/gwt/dev/resource/impl/AbstractResource.java M dev/core/src/com/google/gwt/dev/resource/impl/DirectoryClassPathEntry.java M dev/core/src/com/google/gwt/dev/resource/impl/FileResource.java M dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java M dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java M dev/core/src/com/google/gwt/dev/resource/impl/ZipFileResource.java M dev/core/test/com/google/gwt/dev/resource/impl/AbstractResourceOrientedTestBase.java M dev/core/test/com/google/gwt/dev/resource/impl/ClassPathEntryTest.java M dev/core/test/com/google/gwt/dev/resource/impl/FileResourceTest.java M dev/core/test/com/google/gwt/dev/resource/impl/MockAbstractResource.java M dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplRealClasspathTest.java M dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java M dev/core/test/com/google/gwt/dev/resource/impl/testdata/rebuild_jars -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Reintroduce changes from r8440, with a fix to ZipFileResource and update related tests. (issue723802)
Can you give me a diff between the current version and the previous version I reviewed? Or better yet, just go back and update the old code review issue with the new patch. You don't have to make a new code review issue just because you rolled back the previous patch. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Reintroduce changes from r8440, with a fix to ZipFileResource and update related tests. (issue723802)
On 2010/08/04 17:36:17, scottb wrote: Can you give me a diff between the current version and the previous version I reviewed? Or better yet, just go back and update the old code review issue with the new patch. You don't have to make a new code review issue just because you rolled back the previous patch. alright. gonna close this issue out and just update the old one. http://gwt-code-reviews.appspot.com/723802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Optimize ResourceOracle Refresh by removing some archaic guarantees and some other peephole opti... (issue728801)
http://gwt-code-reviews.appspot.com/728801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Optimize ResourceOracle Refresh by removing some archaic guarantees and some other peephole opti... (issue728801)
also in this CL are cpe1.zip and cpe2.zip which are not showing up on rietveld. some of the diff between patchsets is a result of the moving base. http://gwt-code-reviews.appspot.com/728801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Optimize ResourceOracle Refresh by removing some archaic guarantees and some other peephole opti... (issue728801)
LGTM with nit. http://gwt-code-reviews.appspot.com/728801/diff/7001/8015 File dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java (right): http://gwt-code-reviews.appspot.com/728801/diff/7001/8015#newcode164 dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java:164: } You can simplify this whole section a lot by using Util.readStreamAsBytes() or Util.readStreamAsString() and comparing the results. http://gwt-code-reviews.appspot.com/728801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Optimize ResourceOracle Refresh by removing some archaic guarantees and some other peephole opti... (issue728801)
http://gwt-code-reviews.appspot.com/728801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Optimize ResourceOracle Refresh by removing some archaic guarantees and some other peephole opti... (issue728801)
http://gwt-code-reviews.appspot.com/728801/diff/7001/8015 File dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java (right): http://gwt-code-reviews.appspot.com/728801/diff/7001/8015#newcode164 dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java:164: } On 2010/08/04 17:51:51, scottb wrote: You can simplify this whole section a lot by using Util.readStreamAsBytes() or Util.readStreamAsString() and comparing the results. Good tip. Patch updated. http://gwt-code-reviews.appspot.com/728801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Optimize ResourceOracle Refresh by removing some archaic guarantees and some other peephole opti... (issue728801)
LGTM http://gwt-code-reviews.appspot.com/728801/diff/27001/28015 File dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java (right): http://gwt-code-reviews.appspot.com/728801/diff/27001/28015#newcode152 dev/core/test/com/google/gwt/dev/resource/impl/ResourceOracleImplTest.java:152: Utility.close(is); Util.readStreamAsString() is documented to close the input stream at the end, so you can remove this line. http://gwt-code-reviews.appspot.com/728801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Allowing DefaultSuggestionDisplay to stay open even when empty (no suggestions). (issue698803)
LGTM http://gwt-code-reviews.appspot.com/698803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Removes the unnecessary ErrorCompilationUnit. (issue730801)
http://gwt-code-reviews.appspot.com/730801/diff/2001/3003 File dev/core/src/com/google/gwt/dev/javac/CompilationUnitImpl.java (right): http://gwt-code-reviews.appspot.com/730801/diff/2001/3003#newcode74 dev/core/src/com/google/gwt/dev/javac/CompilationUnitImpl.java:74: return hasErrors; Alas, isError() is actually existing API, that I don't really want to change here. I'm missing an @Override on this, will add. http://gwt-code-reviews.appspot.com/730801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
http://gwt-code-reviews.appspot.com/730802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Removed trim in ValueBoxBase, forcing parsers to handle trim()ing. (issue738801)
http://gwt-code-reviews.appspot.com/738801/diff/6001/7002 File user/test/com/google/gwt/user/client/ui/TextBoxTest.java (right): http://gwt-code-reviews.appspot.com/738801/diff/6001/7002#newcode67 user/test/com/google/gwt/user/client/ui/TextBoxTest.java:67: assertEquals( two space padding ,a.getValueOrThrow()); space after the comma http://gwt-code-reviews.appspot.com/738801/diff/6001/7002#newcode68 user/test/com/google/gwt/user/client/ui/TextBoxTest.java:68: } catch (ParseException e) { setText cannot throw a ParseException. Be sure that you've executed all lines of a test when you write it. To test this properly you'll need to put a mock parser in your TextBox instance and then check that it was actually called. http://gwt-code-reviews.appspot.com/738801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Comment on DomEventsAndMemoryLeaks in google-web-toolkit
Comment by bob.whiton: I have a question regarding the com.google.gwt.event.shared.HandlerManager and memory leaks. Let's say that Object A calls addHandler on Object B which contains an instance of HandlerManager. If I destroy Object A, will Object B still have a reference to it? I could categorize that as a leak. Or, must I always call removeHandler? For more information: http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: De-bounce built-in selection models (issue722802)
http://gwt-code-reviews.appspot.com/722802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: First pass at keyboard navigation (currently only for CellTable) (issue710802)
http://gwt-code-reviews.appspot.com/710802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fix authentication redirection (issue740801)
Reviewers: Ray Ryan, Description: Fix authentication redirection Please review this at http://gwt-code-reviews.appspot.com/740801/show Affected files: M bikeshed/src/com/google/gwt/sample/expenses/gwt/client/Scaffold.java M bikeshed/src/com/google/gwt/sample/expenses/server/domain/GaeUserInformation.java M user/src/com/google/gwt/requestfactory/client/AuthenticationFailureHandler.java M user/src/com/google/gwt/requestfactory/client/LoginWidget.java M user/src/com/google/gwt/requestfactory/client/impl/RequestFactoryJsonImpl.java M user/src/com/google/gwt/requestfactory/server/RequestFactoryServlet.java M user/src/com/google/gwt/requestfactory/server/UserInformation.java M user/src/com/google/gwt/requestfactory/shared/UserInformationRequest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix support for null fields and Boolean type types in RequestFactory. (issue739801)
Let's not distract ourselves with belts and suspenders bullet proofing on the client. On Wed, Aug 4, 2010 at 2:21 PM, cromwell...@google.com wrote: http://gwt-code-reviews.appspot.com/739801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix support for null fields and Boolean type types in RequestFactory. (issue739801)
LGTM http://gwt-code-reviews.appspot.com/739801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
LGTM, except I kind of preferred the red. :) http://gwt-code-reviews.appspot.com/730802/diff/11001/12003 File dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java (right): http://gwt-code-reviews.appspot.com/730802/diff/11001/12003#newcode387 dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java:387: onModuleLoad() threw an unexpected exception, I wouldn't necessarily call this unexpected.. it's the user's exception so maybe it's unexpected, maybe it's not. http://gwt-code-reviews.appspot.com/730802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix authentication redirection (issue740801)
It's kind of surprising that the client is responsible for telling the server what URL it's coming from. And why aren't the header and the request parameter redundant? http://gwt-code-reviews.appspot.com/740801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
http://gwt-code-reviews.appspot.com/730802/diff/11001/12003 File dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java (right): http://gwt-code-reviews.appspot.com/730802/diff/11001/12003#newcode387 dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java:387: onModuleLoad() threw an unexpected exception, Done. http://gwt-code-reviews.appspot.com/730802/diff/11001/12003#newcode431 dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java:431: String details = pUnexpected exception while loading module b Unexpected exception while loading... - Exception while loading... http://gwt-code-reviews.appspot.com/730802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
On Wed, Aug 4, 2010 at 2:42 PM, sco...@google.com wrote: LGTM, except I kind of preferred the red. :) Patches welcome :-) http://gwt-code-reviews.appspot.com/730802/diff/11001/12003 File dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java (right): http://gwt-code-reviews.appspot.com/730802/diff/11001/12003#newcode387 dev/core/src/com/google/gwt/dev/shell/ModuleSpace.java:387: onModuleLoad() threw an unexpected exception, I wouldn't necessarily call this unexpected.. it's the user's exception so maybe it's unexpected, maybe it's not. http://gwt-code-reviews.appspot.com/730802/show -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
http://gwt-code-reviews.appspot.com/730802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix authentication redirection (issue740801)
I don't claim to fully understand the request object, but as far as I can tell, the request object is the AJAX request (so for instance, request.getURL() will return /gwtRequest. We need the URL for the page itself. Previously, I was just passing a placeholder to the authentication system, and then, on the client side, swapping that placeholder out for the current location before I did the redirect. However, in the real authentication system, the redirect URL is signed, so you you can't mess with it. - Unnur On Wed, Aug 4, 2010 at 2:45 PM, rj...@google.com wrote: It's kind of surprising that the client is responsible for telling the server what URL it's coming from. And why aren't the header and the request parameter redundant? http://gwt-code-reviews.appspot.com/740801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Create a red dev mode glass panel when hosted mode fails to load your module, similar to the gra... (issue730802)
LGTM http://gwt-code-reviews.appspot.com/730802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix support for null fields and Boolean type types in RequestFactory. (issue739801)
LGTM http://gwt-code-reviews.appspot.com/739801/diff/15001/16004 File user/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java (right): http://gwt-code-reviews.appspot.com/739801/diff/15001/16004#newcode136 user/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java:136: LGTM++ http://gwt-code-reviews.appspot.com/739801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors