Re: Building SmartGWT project having multiple entry points with maven giving issue
Hi Pratik, I’m uploaded an example pom.xml and module.gwt.xml to Gist: https://gist.github.com/NickWilton/dc1602fff24509154c076daa404bacb5 This example uses SmartGWT 4.1 and GWT 2.8. The directory structure for this example is: / src / main / java / yourpackage / client server shared resources / yourpackage / module.gwt.xml log4j.isc.config.xml server.properties webapp /Your Web Files Go Here pom.xml You should be able to add the additional entry points into the module file (or have multiple module files each with a single entry point, and compile these separately). But I suggest getting it working with one entry point for now. I hope this helps. Regards, Nick -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/FF51C2EE-C15E-43E6-9E9A-52DB8DFECB97%40guided.net.au.
Re: Veracode detected 5 XSS issues in nocache.js
I suggest you have a look at the OWASP website, it’s an excellent resource to understand this vulnerability and how to address it. https://owasp.org/www-community/attacks/xss/ -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0A361879-B99C-4802-A73B-95D7C2EE6EB9%40guided.net.au.
Re: Veracode detected 5 XSS issues in nocache.js
module.nocache.js is a build artifact, created with GWT. Like all web technologies it’s up to the developer using GWT to ensure vulnerabilities like XSS are not introduced. There’s further information about avoiding the introduction of XSS vulnerabilities in GWT applications here: http://www.gwtproject.org/doc/latest/DevGuideSecuritySafeHtml.html > On 19 Feb 2020, at 06:33, kaveri wrote: > > Veracode has reported 5 places with error - improper neutralization of > script related hrml tags in web page(basic xss) in module.nocache.js at line > number 4, 10, 9 and 13 > > Is there any fix to this issue or proper explanation to prove that code is > secured > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit/49e6d69a-fc94-42e1-b70b-14a550044d03%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6A9B52B4-7575-4EEB-88CC-C9FFD75D9C9D%40guided.net.au.
Re: [ANN] (Unofficial) GWT 2.8.2-v20191108 release
Thanks. I was able to use them in my Maven build. Only my IDE, IntelliJ doesn't pick them up. Do you if it is possible to use these as the compiler in IntelliJ? With regards, Nick S. On Monday, 11 November 2019 04:20:20 UTC+1, Peter Donald wrote: > > GWT is a development toolkit for building and optimizing complex > browser-based applications. Its goal is to enable productive > development of high-performance web applications without the > developer having to be an expert in browser quirks, > XMLHttpRequest, and JavaScript. It’s open-source, completely > free, and used by thousands of developers around the world. > > https://github.com/gwtproject/gwt > > This is an unofficial release to Maven Central with the groupId > prefixed with "org.realityforge.". The intent is to get the current > version of GWT into more people's hands earlier. Please don't bug > the GWT project. Versions are released on demand. > > The one significant difference in the way that it has been packaged > is to release the jsinterop-annotations artifact with the coordinate > > org.realityforge.com.google.jsinterop:jsinterop-annotations:jar:2.8.2-v20191108 > > > > For most Maven users, it should be sufficient to update your > dependency declarations to something like: > > > org.realityforge.com.google.gwt > gwt-user > 2.8.2-v20191108 > > > org.realityforge.com.google.gwt > gwt-dev > 2.8.2-v20191108 > > > Hope this helps, > > Peter Donald > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/313e9b2b-886f-4848-80ee-2c5deff39815%40googlegroups.com.
Re: GWT - Still Active ?
It would be good to have an approximate public release window for GWT 3.0 from the community. Will it happen in 2019? Also any plans to move release cadence for GWT to match Java’s 6-monthly cycles? -Nick > On 30 May 2019, at 10:54, Craig Mitchell wrote: > > Also, see here for more comments: > https://groups.google.com/forum/#!topic/Google-Web-Toolkit/-6KuZjHFD5c > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit/7ab94297-5dd1-4990-88ee-3bac2fbaec94%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/A84D8CAD-4438-4782-8521-39EF59395263%40guided.net.au.
Re: Is this project active?
It’s very active. See https://gitter.im/gwtproject/gwt -Nick > On 28 Mar 2019, at 13:28, carl.hostrande...@gmail.com wrote: > > Hello all! I am wondering how active this project is? Don't see much action > on the releases and comments. > > Another question I have is if this project is still active, when will Java 11 > support be released? > > Thanks in advance, > > Carl > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Starting with programming
I would like to get started with programming. does anyone know good software that is good for learning. BTW i am 14. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT and BV/javax.validation 1.1
I am the original author of the GWT validation implementation, but I have no plans to upgrade it. I can't speak for the GWT team (which I am not part of). I am however happy to to review code. (aka patches welcome). On Thu, Apr 24, 2014 at 2:52 PM, joerg.hohwil...@googlemail.com joerg.hohwil...@googlemail.com wrote: Hi there, I had to upgrade BV on the server side. Now my GWT client fails: [ERROR] [mmm] - Line 43: No source code is available for type javax.validation.ParameterNameProvider; did you forget to inherit a required module? ... [ERROR] [mmm] - Unable to find type 'net.sf.mmm.app.client.SampleValidatorFactory.GwtValidator' are there any plans to support more recent versions of BV in GWT? Any workarounds for the moment (maybe I just have to override BV versions in client POMs)? Is there a roadmap for a more modularized variant of GWT without gwt-dev and gwt-sevlet that contain arbitrary third-party code in fixed versions? Thanks regards Jörg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- Nick Chalko | Software Engineer | ncha...@google.com | :-) Generate your java flags for easier testing. go/java_flags -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Issue # 3520: More Flexible DatePicker
Hello all, I've submitted a patch for this issue: http://gwt-code-reviews.appspot.com/1894803/ I was wondering if anyone has looked at it since I haven't had any feedback in a while. Thanks, Nick -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Unable to install Window Builder Pro on Eclipse 4.2
will do, thanks! On Wednesday, February 27, 2013 1:40:58 AM UTC-8, Thomas Broyer wrote: Please ask on https://groups.google.com/d/forum/google-plugin-eclipse (or on StackOverflow, as they moved their support there) On Wednesday, February 27, 2013 1:03:02 AM UTC+1, Nick Kloski wrote: Hi all...I want to learn more about the Window Builder Pro plugin to Eclipse and I am having problems getting it installed. Brand new Eclipse 4.2 install on Linux 64-bit. Installed Eclipse, ran get updates...updates downloaded, and eclipse restarted fine. Installed GWT+SDK's, installed and restarted fine. Installed WBPro from: http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2 but when I try to run File -- New -- Other -- WindowBuilder -- GWT User Interface I get an error saying the toolkit needs to install more software...but it looks as if it is trying to install 3.7 software and I have 4.2? Is that the problem? How might I get this installed? Thanks! Your original request has been modified. WindowBuilder Core will be ignored because a newer version is already installed. WindowBuilder XML Core (requires Eclipse WTP/WST) will be ignored because a newer version is already installed. WindowBuilder CSS Support will be ignored because a newer version is already installed. GWT Designer Core will be ignored because a newer version is already installed. GWT Designer Editor will be ignored because a newer version is already installed. GWT Designer GPE will be ignored because a newer version is already installed. Cannot complete the install because of a conflicting dependency. Software being installed: Google Plugin for Eclipse 3.7 3.2.0.v201302131858-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.2.0.v201302131858-rel-r37) Software currently installed: Eclipse IDE for Java EE Developers 1.5.1.20121004-1506 (epp.package.jee 1.5.1.20121004-1506) Only one of the following can be installed at once: Ant Build Tool Core 3.2.300.v20110511 (org.eclipse.ant.core 3.2.300.v20110511) Ant Build Tool Core 3.2.302.v20120110-1739 (org.eclipse.ant.core 3.2.302.v20120110-1739) Ant Build Tool Core 3.2.400.v20120523-1752 (org.eclipse.ant.core 3.2.400.v20120523-1752) Cannot satisfy dependency: From: Google Plugin for Eclipse 3.7 3.2.0.v201302131858-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.2.0.v201302131858-rel-r37) To: org.eclipse.platform.feature.group [3.7.0,3.8.0) Cannot satisfy dependency: From: Eclipse IDE for Java EE Developers 1.5.1.20121004-1506 (epp.package.jee 1.5.1.20121004-1506) To: org.eclipse.epp.package.jee.feature.feature.group [1.5.1.20121004-1506] Cannot satisfy dependency: From: Java EE IDE Feature 1.5.1.20121004-1506 (org.eclipse.epp.package.jee.feature.feature.group 1.5.1.20121004-1506) To: org.eclipse.platform.feature.group [4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO] Cannot satisfy dependency: From: Eclipse Platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f (org.eclipse.platform.feature.group 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f) To: org.eclipse.ant.core [3.2.300.v20110511] Cannot satisfy dependency: From: Eclipse Platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK (org.eclipse.platform.feature.group 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK) To: org.eclipse.ant.core [3.2.300.v20110511] Cannot satisfy dependency: From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q) To: org.eclipse.ant.core [3.2.302.v20120110-1739] Cannot satisfy dependency: From: Eclipse Platform 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO (org.eclipse.platform.feature.group 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO) To: org.eclipse.ant.core [3.2.400.v20120523-1752] -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Unable to install Window Builder Pro on Eclipse 4.2
Hi all...I want to learn more about the Window Builder Pro plugin to Eclipse and I am having problems getting it installed. Brand new Eclipse 4.2 install on Linux 64-bit. Installed Eclipse, ran get updates...updates downloaded, and eclipse restarted fine. Installed GWT+SDK's, installed and restarted fine. Installed WBPro from: http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2 but when I try to run File -- New -- Other -- WindowBuilder -- GWT User Interface I get an error saying the toolkit needs to install more software...but it looks as if it is trying to install 3.7 software and I have 4.2? Is that the problem? How might I get this installed? Thanks! Your original request has been modified. WindowBuilder Core will be ignored because a newer version is already installed. WindowBuilder XML Core (requires Eclipse WTP/WST) will be ignored because a newer version is already installed. WindowBuilder CSS Support will be ignored because a newer version is already installed. GWT Designer Core will be ignored because a newer version is already installed. GWT Designer Editor will be ignored because a newer version is already installed. GWT Designer GPE will be ignored because a newer version is already installed. Cannot complete the install because of a conflicting dependency. Software being installed: Google Plugin for Eclipse 3.7 3.2.0.v201302131858-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.2.0.v201302131858-rel-r37) Software currently installed: Eclipse IDE for Java EE Developers 1.5.1.20121004-1506 (epp.package.jee 1.5.1.20121004-1506) Only one of the following can be installed at once: Ant Build Tool Core 3.2.300.v20110511 (org.eclipse.ant.core 3.2.300.v20110511) Ant Build Tool Core 3.2.302.v20120110-1739 (org.eclipse.ant.core 3.2.302.v20120110-1739) Ant Build Tool Core 3.2.400.v20120523-1752 (org.eclipse.ant.core 3.2.400.v20120523-1752) Cannot satisfy dependency: From: Google Plugin for Eclipse 3.7 3.2.0.v201302131858-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.2.0.v201302131858-rel-r37) To: org.eclipse.platform.feature.group [3.7.0,3.8.0) Cannot satisfy dependency: From: Eclipse IDE for Java EE Developers 1.5.1.20121004-1506 (epp.package.jee 1.5.1.20121004-1506) To: org.eclipse.epp.package.jee.feature.feature.group [1.5.1.20121004-1506] Cannot satisfy dependency: From: Java EE IDE Feature 1.5.1.20121004-1506 (org.eclipse.epp.package.jee.feature.feature.group 1.5.1.20121004-1506) To: org.eclipse.platform.feature.group [4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO] Cannot satisfy dependency: From: Eclipse Platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f (org.eclipse.platform.feature.group 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f) To: org.eclipse.ant.core [3.2.300.v20110511] Cannot satisfy dependency: From: Eclipse Platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK (org.eclipse.platform.feature.group 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK) To: org.eclipse.ant.core [3.2.300.v20110511] Cannot satisfy dependency: From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q) To: org.eclipse.ant.core [3.2.302.v20120110-1739] Cannot satisfy dependency: From: Eclipse Platform 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO (org.eclipse.platform.feature.group 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO) To: org.eclipse.ant.core [3.2.400.v20120523-1752] -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: RequestFactory Could not parse payload: payload[0] = N
Hey Sydney, I've been seeing the same error message recently. Did you figure it out? On Saturday, July 28, 2012 3:46:00 PM UTC-4, Sydney wrote: After deploying my app on appengine, I get the following exception: com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost: Unexpected error java.lang.RuntimeException: Could not parse payload: payload[0] = N at com.google.web.bindery.autobean.vm.impl.JsonSplittable.create(JsonSplittable.java:70) at com.google.web.bindery.autobean.shared.impl.StringQuoter.create(StringQuoter.java:46) at com.google.web.bindery.autobean.shared.ValueCodex$Type$7.encode(ValueCodex.java:122) at com.google.web.bindery.autobean.shared.ValueCodex.encode(ValueCodex.java:315) at com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$ValueCoder.extractSplittable(AutoBeanCodexImpl.java:500) at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:277) at com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.setProperty(ProxyAutoBean.java:253) at com.google.web.bindery.autobean.vm.impl.BeanPropertyContext.set(BeanPropertyContext.java:44) at com.google.web.bindery.requestfactory.server.Resolver$PropertyResolver.visitValueProperty(Resolver.java:154) at com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(ProxyAutoBean.java:289) at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.traverse(AbstractAutoBean.java:166) at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.accept(AbstractAutoBean.java:101) at com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:395) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:483) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:225) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:127) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) Any idea of what the exception means? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/pc74M_H6jWEJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to validate TextBox fields?
On Mon, Jan 7, 2013 at 7:42 AM, Thomas Broyer t.bro...@gmail.com wrote: On Monday, January 7, 2013 3:45:53 PM UTC+1, membersound wrote: Yes I know this side. But it still does not tell me: - how to validate the name before creating the person object (which I'm looking for in terms of numbers like int age; There I'd first like the validator to catch if it's a valid age before creating the person object) If you want to use the annotations that are on your Person fields, then you have to create a Person object. Technically, I believe you could generate code, the generator reading the annotations and producing code that will be able to validate data before creating the Person object, but there's no such things in GWT proper. That being said, creating a Person object shouldn't be that expensive that you want to avoid it a all costs. http://docs.oracle.com/javaee/6/api/javax/validation/Validator.html#validateValue(java.lang.Class, java.lang.String, java.lang.Object, java.lang.Class...) validateValue T java.util.SetConstraintViolation http://docs.oracle.com/javaee/6/api/javax/validation/ConstraintViolation.htmlT *validateValue*(java.lang.ClassT beanType, java.lang.String propertyName, java.lang.Object value, java.lang.Class?... groups) Validates all constraints placed on the property named propertyName of the class beanType would the property value be value ConstraintViolation objects return null for ConstraintViolation#getRootBean() and ConstraintViolation#getLeafBean() *Parameters:*beanType - the bean type propertyName - property to validate value - property value to validategroups - group or list of groups targeted for validation (default to Defaulthttp://docs.oracle.com/javaee/6/api/javax/validation/groups/Default.html ) *Returns:*constraint violations or an empty Set if none*Throws:* IllegalArgumentException - if beanType is null, if propertyName null, empty or not a valid object property or if null is passed to the varargs groups ValidationException - if a non recoverable error happens during the validation process -- -- Nick Chalko | Software Engineer | ncha...@google.com | :-) Generate your java flags for easier testing. go/java_flags -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory in a offline Szenario?
I've just posted the core part of my offline requestfactory implementation. http://puretech.siderakis.com/2012/10/offline-requestfactory-gwt.html Basically all you need to do is extend it and override processPayload (to save the request payload in local storage), and then send the request payload at a later time when the apps back online. I hope its helpful, and I'd love to get some feedback. On Tuesday, October 9, 2012 10:41:56 AM UTC-4, Christoph Henrici wrote: Am Dienstag, 9. Oktober 2012 12:59:19 UTC+2 schrieb Thomas Broyer: On Tuesday, October 9, 2012 9:03:35 AM UTC+2, Christoph Henrici wrote: Best thanx. Szenario 1, would mean that you have to deal with two different sets of data structures online = entityproxies and offline something else. or you have to develop your own layer above request factory which to avoid was the rational behind using requestfactory. Szenario 2 seems like a interesting approach, but i must confess i not knowlegable enough of the internals of Requestfactory to really be able to see what that means. Have a look at http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/web/bindery/requestfactory/shared/ProxySerializer.htmlbut beware that there are issues with it (known and probably unknown too). Great pointer, thanx! Also for adressing the issue with the potential confict resolution this is probably not the right layer So probably you need something above RequestfFactory, which deals with a higher level batching and offline / online awareness etc... Synchronization (and conflict resolution) is hard. In the end, it's probably easier to either use the last write wins (possibly at the property level rather than object level; that would make it more of less equivalent to OT) or to simply store duplicates and then provide a mean to reconcile/merge data. It seems to be more or less what Google does for the contacts for instance. Very true the approach with secondary unconsolidated data structures, which are consolidate in a second step might a sound approach -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QSB2H_2lEeAJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt module may need to be (re)compiled
I was experiencing this same problem recently and for the benefit of the community I am posting my solution today: I discovered that my src/main/webapp folder contained an oldmodule.nocache.js file. If you see this error message, check the timestamp of your module.nocache.js to ensure that it is in sync with the rest of the GWT compiler output (i.e. *.gwt.rpc and *.cache.png). In my case, I'm guessing that an old DevMode execution from within eclipse directed the GWT compiler output to the src/main/webapp folder and this was getting packaged in to the war file by maven instead of the freshly compiled version. Nick On Thursday, July 29, 2010 4:18:36 AM UTC-4, Thomas Van Driessche wrote: Hi all, I have developed for a while now on a gwt 2.0.0 and maven project. But recently i did a maven clean install on the project to generate the war file in the target folder. Now when i tried to do a mvn gwt:run again it sais that the module may need to be (re)compiled... I can't get it fixed. I even checked out an older version of the project out of the repository in an new workspace, but still i get the error. And i am sure that that version was working when i checked in the changes... Any idea pls?? I'm really stuck here kind regards, Thomas -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LrX-tEFOAmgJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: DevMode not working in Chrome after update
FOUND THE FIX open up the extensions page in chrome, drag and drop the downloaded .crx file, and BOOSH! Prompts for installation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rXg3ZGVO5yMJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Serializing different objects in one class that implements IsSerializable
ok so for my createpolygon method i just make that private? You cant make a private constructor of an object in another class, or can you? And for the polygon class being shown, i am just importing import com.google.gwt.maps.client.overlay.Polygon this. On Fri, Sep 21, 2012 at 7:58 AM, Paul Robinson ukcue...@gmail.com wrote: You don't show the Polygon class, but from the error it looks like you haven't provided a zero-argument constructor. It must have one, even if it's private and you never call it. GWT-RPC needs it for anything that it serializes. Paul On 21/09/12 15:40, coffeMan wrote: I created a class that implements IsSerializable. I am using Polygon and LatLng within this class called BoundingBox. I am getting issues with no being able to instantiate Polygon without a constructor. Do you create a separate Polygon class? [ERROR] com.google.gwt.maps.client.overlay.Polygon has no available instantiable subtypes. [ERROR] subtype com.google.gwt.maps.client.overlay.Polygon is not default instantiable (it must have a zero-argument constructor or no constructors at all) and has no custom serializer. Can anyone point me in the right direction??? Thanks! public class BoundingBox implements IsSerializable { private LatLng Coordinate_One; private LatLng Coordinate_Two; private LatLng Coordinate_Three; private LatLng Coordinate_Four; private Polygon poly; public BoundingBox() { } public Polygon getPoly() { return poly; } public void setPoly(Polygon poly) { this.poly = poly; } public Polygon CreatePolygon(BoundingBox bbox) // param = file type object { LatLng[] polyOverlay = new LatLng[5]; polyOverlay[0] = LatLng.newInstance(bbox.getCoordinate_One() .getLatitude(), bbox.getCoordinate_One().getLongitude()); polyOverlay[1] = LatLng.newInstance(bbox.getCoordinate_Two() .getLatitude(), bbox.getCoordinate_Two().getLongitude()); polyOverlay[2] = LatLng.newInstance(bbox.getCoordinate_Three() .getLatitude(), bbox.getCoordinate_Three().getLongitude()); polyOverlay[3] = LatLng.newInstance(bbox.getCoordinate_Four() .getLatitude(), bbox.getCoordinate_Four().getLongitude()); polyOverlay[4] = LatLng.newInstance(bbox.getCoordinate_One() .getLatitude(), bbox.getCoordinate_One().getLongitude()); this.poly = new Polygon(polyOverlay); return poly; } public LatLng getCoordinate_One() { return Coordinate_One; } public void setCoordinate_One(LatLng coordinate_One) { Coordinate_One = coordinate_One; }...etc for the rest of the sets/gets -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FZ8xY8K6SA0J. 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.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-toolkit@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. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Serializing different objects in one class that implements IsSerializable
Ok, so with that being said, ill need to create my own LatLng and Polygon objects? or? On Fri, Sep 21, 2012 at 8:19 AM, Jens jens.nehlme...@gmail.com wrote: The Polygon class is a JavaScriptOverlay type provided by Google and it does not have a no-arg constructor, so you can't use it with GWT-RPC. Other than that I assume you can't use JSO's on server side either (How should JSNI work on server side?) so it does not make sense to use them in a serializable class. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jtR6LHgwVeAJ. 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.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-toolkit@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 - dev environment ...
Guys, Thanks for your comments; I used VMs to simply test various LINUX distro with eclipse +GWT + WindowBuilder; need to include WindowBuilder / GWT Designer in an attempt to accelerate learning of UI building plus entice colleagues from .net universe) will opt for ubuntu 10.10 Interestingly under mac osx juno + gwt designer work fine .. Nick On Friday, 13 July 2012 10:19:20 UTC+1, Nick Floros wrote: Hi, I have been evaluating GWT as a development framework in building a call handling application; maybe this is nuts idea but this is another story. It has been going kind of ok up to the point where my eclipse started running out of memory ; host os is Windows XP 32 bit. In addition corporate PC are full of anti-virus software which makes compilation and opening WindowsBuilder design a bit of a pain. So have been considering using 64 bit LINUX; in an attempt to avoid all the av software. Does anybody out there has any recommendations about which version of LINUX 64 bit and eclipse go together with GWT and WindowBuilder ? Been trying (admittedly on a VM) - Ubuntu 12.04 (32bit + 64bit) + eclipse 3.7 no joy tried also eclipse 4.2 - Mint Linux Cinnamon I get only a working environment but only with eclipse 3.6 - OpenSuse + eclipse 3.7 works when using standard GWT widgets. Any attempt to use GWT-EXT results in eclipse death. Any suggestions will be appreciated. Thanks Nick -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/z8DyhbXWiWcJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT - dev environment ...
Hi, I have been evaluating GWT as a development framework in building a call handling application; maybe this is nuts idea but this is another story. It has been going kind of ok up to the point where my eclipse started running out of memory ; host os is Windows XP 32 bit. In addition corporate PC are full of anti-virus software which makes compilation and opening WindowsBuilder design a bit of a pain. So have been considering using 64 bit LINUX; in an attempt to avoid all the av software. Does anybody out there has any recommendations about which version of LINUX 64 bit and eclipse go together with GWT and WindowBuilder ? Been trying (admittedly on a VM) - Ubuntu 12.04 (32bit + 64bit) + eclipse 3.7 no joy tried also eclipse 4.2 - Mint Linux Cinnamon I get only a working environment but only with eclipse 3.6 - OpenSuse + eclipse 3.7 works when using standard GWT widgets. Any attempt to use GWT-EXT results in eclipse death. Any suggestions will be appreciated. Thanks Nick -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kxaXkA8KtbQJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Applying Spring Dependency Injection(DI) to client side classes in GWT
You could use - Server: Guice - Client(GWT): Gin or - Server: Spring - Client: Gin On Tuesday, July 10, 2012 1:26:22 AM UTC-4, Saritha wrote: Hi All, I am new GWT. I have a project where I am using GWT and Spring as our technologies to implement. I have done Spring integration with GWT, with the help of following links. http://technophiliac.wordpress.com/2008/08/24/giving-gwt-a-spring-in-its-step/ http://goog_979169948 https://docs.google.com/document/pub?id=1USHYx9cB3B1s1zM4dlkzEZ759D3lEfavn_dDewvBkaA Here with this, I am able to apply the Dependency Injection with only Server side classes which holds the actual business(Remote Service) functionality. My questions are, How can i apply Dependency Injection for all other classes like those are in client, shared, view, presenter packages? Which dependency Injection is better? I mean GWT provided two dependency injection mechanisms 1 is guice is for implementing dependency injection on server side 2 is gin is for implementing dependency injection on client side. and Spring Dependency Injection. Which one is better to select? either GWT Dependency Injection or Spring Dependency Injection? or combination of both? Please reply me. Thanks, Saritha. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fYCxB_ekrpYJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory VS Cloud Endpoints (App Engines Java Rest API)
http://www.youtube.com/watch?v=v9TG7OzsZqQfeature=player_detailpage#t=910s It looks like the new Cloud Endpoints implement a lot of the functionality that makes RequestFactory attractive. - Patch commits - only send what has changed to the server. - Batch requests - RequestBatcher - Partial GETs - similar to defining a proxy with a subset of attributes. It has the benefit of being a standard REST api, but is limited to App Engine Apps. What do you guys think? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Yw08ikijyccJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory VS Cloud Endpoints (App Engines Java Rest API)
I just signed up to be a trusted tester yet. I need a public API for one of my sites, right now we're using Jersey and I'm looking forward to moving to Cloud Endpoints. I hope there is a way to generate a GWT client library. :) On Saturday, July 7, 2012 7:38:55 PM UTC-4, Patrick Jackson wrote: I would like to try out cloud endpoints and have signed up for trusted tester and have not received a reply. I see there is a javascript library generated, but nothing specific to GWT. Have you been able to use it with GWT? On Saturday, July 7, 2012 12:11:51 PM UTC-4, Nick Siderakis wrote: http://www.youtube.com/watch?v=v9TG7OzsZqQfeature=player_detailpage#t=910s It looks like the new Cloud Endpoints implement a lot of the functionality that makes RequestFactory attractive. - Patch commits - only send what has changed to the server. - Batch requests - RequestBatcher - Partial GETs - similar to defining a proxy with a subset of attributes. It has the benefit of being a standard REST api, but is limited to App Engine Apps. What do you guys think? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/X-yazHJzW2cJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
deferred binding for a/b and cohort testing framework - what do you think
I'm thinking about building a small framework similar to cohorts.js for GWT that takes advantage of deferred binding. Does this seem like a good idea? ( cohorts.js https://github.com/jamesyu/cohorts ) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/pqvdXrKIoQkJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: deferred binding for a/b and cohort testing framework - what do you think
Some reasons why this is a bad idea - Does not scale well for many tests (permutation explosion) - Would not support dynamic (in app) cohort assignment runAsync seems like a better choice. On Sunday, June 24, 2012 1:43:01 PM UTC-4, Nick Siderakis wrote: I'm thinking about building a small framework similar to cohorts.js for GWT that takes advantage of deferred binding. Does this seem like a good idea? ( cohorts.js https://github.com/jamesyu/cohorts ) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4D9ea3ApnqsJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is there a way to avoid the colon(:) sign in a Place's prefix ???
Workaround for using / rather than : as the place delimiter post here http://puretech.siderakis.com/2012/05/custom-delimiter-in-gwt-places.html On Thursday, January 20, 2011 11:58:30 AM UTC-5, Karthik Reddy wrote: Thanks Martin for opening an issue. Also, please feel to share with us any code related to implementing your own PlaceHistoryMapper, Tokenizers , to circumvent this issue. This is an issue a lot of developers would eventually face . I would encourage developers to star this issue in the aforementioned location. Hopefully, the GWT team will pick it up for 2.3. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EBC_s5NJFd8J. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Compiling from command line
/usr/lib/jvm/jdk1.6.0_26_32/bin/java -cp ~/Software/Java/gwt-trunk/build/staging/gwt-0.0.0/gwt-dev.jar -Xmx512m com.google.gwt.dev.Compiler -logLevel INFO -style OBFUSCATED -war ~/Software/Java/workspace/MyProject-AppEngine/war -localWorkers 4 project.Embed project.Project project.Mobile project.NativeMobile project.Gadget I'm got: Loading inherited module 'project.Embed' [ERROR] Unable to find 'project/Embed.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? So I added the source directory: /usr/lib/jvm/jdk1.6.0_26_32/bin/java -cp ~/Software/Java/gwt-trunk/build/staging/gwt-0.0.0/gwt-dev.jar:~/Software/Java/workspace/MyProject-AppEngine/src/ -Xmx512m com.google.gwt.dev.Compiler -logLevel INFO -style OBFUSCATED -war ~/Software/Java/workspace/MyProject-AppEngine/war -localWorkers 4 project.Embed project.Project project.Mobile project.NativeMobile project.Gadget And I got: Loading inherited module 'project.Embed' Loading inherited module 'com.google.gwt.core.Core' [ERROR] Unable to find 'com/google/gwt/core/Core.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Will I have to add every client source directory / jar into the classpath? (probably yes?) *Is there a way to capture the exact command eclipse uses when compiling the GWT project?* When I try (ps -fp PID), I don't see any path information... p.s. my goal is to checkout trunk, compile, and deploy gwt projects to appengine on my build-machine remotely from my notebook. I got checkout and deploy working, I just need to be able to compile from command line. Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PbpgtkT5uBIJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Validation on client side whit Editors
Here is the key line, at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at you are missing a compile time dependency. You need the complete hibernate validator at compile to to generate the validation code. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Server side gwt-validation doesn't work (?)
On Tue, Dec 6, 2011 at 7:46 AM, Nicolas.Rocca nicolas.ro...@t-online.dewrote: We use gwt-validation-2.0-BETA-SNAPSHOT-r269.jar and GWT 2.4. The field of the entity is annotated with javax.validation.constraints.NotNull Client side validation works and also server side validation in hosted mode (jetty). But when deployed in tomcat (6.0.20), we get the following exception when server side validation is invoked: Caused by: javax.validation.UnexpectedTypeException: No validator was found for javax.validation.constraints.NotNull with type [...deleted...] at com.em.validation.client.CoreValidatorImpl.validateConstraint(CoreValidatorImpl.java: 372) at com.em.validation.client.CoreValidatorImpl.validateValue(CoreValidatorImpl.java: 202) at com.em.validation.client.CoreValidatorImpl.validateProperty(CoreValidatorImpl.java: 119) at com.em.validation.client.CoreValidatorImpl.validate(CoreValidatorImpl.java: 76) at com.em.validation.client.CoreValidatorImpl.validate(CoreValidatorImpl.java: 96) at com.em.validation.client.ValidatorImpl.validate(ValidatorImpl.java: 48) at ... Our war-file contains the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar and also the validation-api-1.0.0.GA.jar. Replacing the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar in the war file with hibernate-validator-4.2.0.Final.jar seems to fix the problem (as a workaround). Partially Correct, Try just adding the hibernate-validator jar. and leave the GWT one in place. To have server side validation you need hibernate or some other vilidation provider like apache-bval. GWT validation only handles the client side part -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: GWT / Spring Roo Integration
I use version 1.1.5. For the most part I think it works great. They did several things that allow you to easily integrate your custom code with the auto generated code. The two big issues I have are trying to override a user interface field (for instance using a text area instead of a text box), and extending ApplicationRequestFactory. Also, I can't use GWT 2.4 because the the auto generated code uses the deprecated version of RequestFactory. On Nov 19, 5:45 am, Emilio Bravo emilio@gmail.com wrote: Hi Nick, I post thishttp://forum.springsource.org/showthread.php?117623-About-future-of-G... in roo forum, but I got no response from the team developing the gwt add-on for roo. What version of roo are you using? On 17 nov, 12:14, Nick Thorson thorson.nicho...@gmail.com wrote: Not sure if this is the group to join, but it seemed like at the very least it was a good place to start. I have been building GWT / Spring Roo apps for about a year now, and have several thoughts I would like to share with the development team of the GWT plugin for Spring Roo. For the most part it works great for getting an application up and running. However, if I want to extend an application, I run into several head aches. I have identified work-arounds that I would like to share. Thank you, Nick Thorson -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] GWT / Spring Roo Integration
Not sure if this is the group to join, but it seemed like at the very least it was a good place to start. I have been building GWT / Spring Roo apps for about a year now, and have several thoughts I would like to share with the development team of the GWT plugin for Spring Roo. For the most part it works great for getting an application up and running. However, if I want to extend an application, I run into several head aches. I have identified work-arounds that I would like to share. Thank you, Nick Thorson -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: How to disable WEB-INF/deploy/module-name directory
My app size is too large (for GAE) because of this directory. Currently I'm deleting them by hand after compilation. Is there a way to disable it, or move it? (with out using maven) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/O4Jd28la8eAJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Generated HTML Doesn't Display
Also found that the login page isn't being displayed properly in Firefox (only part of the page is displayed). Pressing the tab key resolves the problem which makes me think there is something weird going on with the way GWT does layout. It is possible this might be related to the image map not showing up. Fix one and it might fix the other. Haven't done any major changes which could be causing these issues. On Sep 12, 9:37 pm, Nick Apperley napper...@gmail.com wrote: Ran the application in Firefox instead of Chrome and found it displays a funny looking blue box. Right clicked on it, selected View Image and found that the image (an ordinary SVG file) isdisplayedjust fine. Talk about bizarre rendering behavior between browsers. Not sure why the image map is no longerdisplayedproperly as it used to work fine in both browsers. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Generated HTML Doesn't Display
Ran the application in Firefox instead of Chrome and found it displays a funny looking blue box. Right clicked on it, selected View Image and found that the image (an ordinary SVG file) is displayed just fine. Talk about bizarre rendering behavior between browsers. Not sure why the image map is no longer displayed properly as it used to work fine in both browsers. On Sep 11, 3:55 pm, Nick Apperley napper...@gmail.com wrote: Correction - Just tried the application using Jetty instead of Glassfish and the same problem occurs. At a complete loss as to why the generated HTML isn't displayed, this is absolutely bizarre. Any possible ideas as to why this is occurring? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Generated HTML Doesn't Display
Found some strange behavior going on with GWT 2.3 when the application is deployed onto Glassfish 3.1 instead of the built-in Jetty. Normally an image map is displayed on the web page after the user selects some things from some combo boxes which works in Jetty. Under Glassfish 3.1 (via dev mode) the image map isn't displayed despite the fact that the HTML has been updated using the GWT API. Out of curiosity I created an ordinary HTML file containing the generated HTML for the image map (grabbed it via Firebug Lite), ran it in Chrome and discovered that the image map displays just fine. At a complete loss as to why the generated HTML isn't displayed, this is absolutely bizarre. Any possible ideas as to why this is occurring? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Generated HTML Doesn't Display
Correction - Just tried the application using Jetty instead of Glassfish and the same problem occurs. On Sep 11, 3:32 pm, Nick Apperley napper...@gmail.com wrote: Found some strange behavior going on with GWT 2.3 when the application is deployed onto Glassfish 3.1 instead of the built-in Jetty. Normally an image map is displayed on the web page after the user selects some things from some combo boxes which works in Jetty. Under Glassfish 3.1 (via dev mode) the image map isn't displayed despite the fact that the HTML has been updated using the GWT API. Out of curiosity I created an ordinary HTML file containing the generated HTML for the image map (grabbed it via Firebug Lite), ran it in Chrome and discovered that the image map displays just fine. At a complete loss as to why the generated HTML isn't displayed, this is absolutely bizarre. Any possible ideas as to why this is occurring? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Converts the validation sample to build with maven. (issue1537805)
On Thu, Sep 8, 2011 at 5:00 PM, rj...@google.com wrote: Getting closer, still not ready for review. I learned how to pull in both the binary and the source for hibernate validator. Now getting the app's An error occurred dialog when sending, nothing in the console. At launch still seeing the ClassNotFound exception below. Will debug in the morning, but if anyone has clue to share in the meantime I'll be obliged. 00:00:30.295 [SPAM] Resolving org.hibernate.validator.**constraints.ScriptAssert 00:00:30.296 [SPAM] Found type 'org.hibernate.validator.**constraints.ScriptAssert' 00:00:30.296 [ERROR] Annotation error: cannot resolve org.hibernate.validator.**constraints.impl.**ScriptAssertValidator So ScriptAssertValidator should not be getting compiled. Let me try to find where it is excluded. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Converts the validation sample to build with maven. (issue1537805)
org.hibernate.validator.**constraints.impl.**ScriptAssertValidator So ScriptAssertValidator should not be getting compiled. Let me try to find where it is excluded. user/src/org/hibernate/validator/HibernateValidator.gwt.xml excludes that file with. source path=constraints exclude name=impl/scriptassert/ / exclude name=super/ / /source Not sure why this is not used. -- Nick Chalko | Software Engineer | ncha...@google.com | :-) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Blank Page Using Dev Mode On Glassfish
Discovered what the issue was. An incorrect path was pointing to the nocache JavaScript file in the HTML file, hence the blank page. For some reason the GWT plugin will not create a GWT HTML file after clicking on the Finish button in the wizard. Problem exists for both Google Web and Dynamic Web projects. Can only get a GWT HTML file by grabbing one from a Google Web project (just an ordinary Java project) that is created with samples. On Sep 3, 9:14 pm, Thomas Broyer t.bro...@gmail.com wrote: How about the following?http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee(if you use WTP to run your project) -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Blank Page Using Dev Mode On Glassfish
Followed some instructions on getting dev mode to work on Glassfish (http://groups.google.com/group/google-web-toolkit/browse_thread/ thread/43f62776e0b6f1eb). After running the app in dev mode under Chrome a blank page appears, why does this occur? I noticed in the project's WebContent directory (for a Dynamic Web project) that the generated directory uses the package name as part of its name when the project is compiled. Doing the compile in an ordinary Java project results in a generated directory that does not use the package name as part of its name. Not sure if this has any impact with running an application in dev mode. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Blank Page Using Dev Mode On Glassfish
Don't see anything in Eclipse to indicate that there is an instance of the app running in dev mode. Normally when an app is running under dev mode there would be an app entry under the server entry in the Development Mode tab for Eclipse. Chrome displays a GWT icon only if the gwt.codesvr query string is part of the URL. The applications's current URL has the icon displayed in Chrome's address bar. On Sep 3, 11:24 am, Nick Apperley napper...@gmail.com wrote: Followed some instructions on getting dev mode to work on Glassfish (http://groups.google.com/group/google-web-toolkit/browse_thread/ thread/43f62776e0b6f1eb). After running the app in dev mode under Chrome a blank page appears, why does this occur? I noticed in the project's WebContent directory (for a Dynamic Web project) that the generated directory uses the package name as part of its name when the project is compiled. Doing the compile in an ordinary Java project results in a generated directory that does not use the package name as part of its name. Not sure if this has any impact with running an application in dev mode. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt-earth sample - question
Ben ben.falchuk@... writes: I'm trying to learn and work with the gwt-earth project.. started with the sort of hello earth program available at: http://code.google.com/p/earth-api-samples/source/browse/#svn%2Ftrunk%2Fdemos%2Fgwt-earth%2Fsrc%2Fcom%2Fgoogle%253Fstate%253Dclosed While the GEPlugin concept is fairly tricky - there is a GEWrapper class that encapsulates a GEPlugin class, which in turn talks to a class with native communication to the GEPlugin (GEPluginNative). In that latter class i find native methods like: public static native JavaScriptObject getFeatures(JavaScriptObject ge)/*-{ return ge.getFeatures(); }-*/; and i'm trying to add a new one that sets up zoom controllers (etc), but can't seem to make it work. I've tried adding this: public static native void setControlsVisible(JavaScriptObject ge)/*-{ ge.getNavigationControl().setControlType(ge.NAVIGATION_CONTROL_LARGE); ge.getNavigationControl().setVisibility(ge.VISIBILITY_SHOW); }-*/; and then call it via GEPlugin class: public void setControlsVisible() {GEPluginNative.setControlsVisible(ge);} but i end up with a runtime JS error (this.d.b is null).. Is it possible to add controls to the gwt-earth example program? what am i missing? Thanks for insight. Hi Ben, I'm not sure if you are still in need of a solution to your problem but I would recommend that you use the gwt-earth-3 project instead. It provides full support for the entire Google Earth API, including the capability that you are trying to implement. You can find the project here: https://code.google.com/p/gwt-earth-3/ Regards, Nick -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Application Behaving Differently On Glassfish
Have an application that works just fine if it is deployed to Jetty (the built-in one), however it doesn't work as expected when it is deployed to a remote Glassfish server (as a WAR file). Login page appears just fine and the main page appears when a user has logged in correctly (via an HTTP POST with CORS). What is different though is that a single combo box is not populated (via JSONP), and a status message is not appearing (in a GWT Label) on the main page. Double checked to be sure that the same version of the application is being deployed to both Jetty and Glassfish. Unfortunately I cannot get remote deployment working for Glassfish via the Eclipse plugin (a vague error message appears) for development mode. As a result the deployment process for the GWT application is slow, and lacks proper feedback (can't view any GWT log messages). Not even close to determining what is causing the behavior differences. Right now I am running around in circles trying to isolate the causes of the problems. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Application Behaving Differently On Glassfish
Discovered what the main issue is with the single combo box not being populated, an empty response is coming back from the server. Looked at the Glassfish logs to find that it has handled a request from the application and has returned a single result (expected). For some strange reason the application is getting an empty response, why is this different when deploying the application to Glassfish? A status message is now appearing on the main page after doing a reload of the application and restarting Glassfish. Now debug messages can be seen on the client side. DomainsCallback.java: = package com.darc.autohome.automatortool.client.io; import java.util.ArrayList; import com.darc.autohome.automatortool.client.gui.HeaderPanel; import com.darc.autohome.automatortool.client.model.DomainEntry; import com.darc.autohome.automatortool.client.model.Domains; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; public class DomainsCallback implements AsyncCallbackDomains{ private HeaderPanel headerPanel; private ArrayListDomainEntry domains = new ArrayListDomainEntry(); public DomainsCallback(HeaderPanel headerPanel){ this.headerPanel = headerPanel; } @Override public void onFailure(Throwable ex) { GWT.log(Cannot get domains, ex); headerPanel.updateStatus(Cannot get domains); } @Override public void onSuccess(Domains result) { try{ for(int pos = 0; pos result.getDomains().length(); pos++) { domains.add(result.getDomains().get(pos)); } catch(Exception ex){ domains.add(result.getSingleDomain()); } headerPanel.setDomains(domains.toArray(new DomainEntry[domains.size()])); if(domains.size() 0){ headerPanel.updateStatus(); } else{ headerPanel.updateStatus(No Domains found); } } } = Domains.java: = package com.darc.autohome.automatortool.client.model; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArray; public class Domains extends JavaScriptObject{ protected Domains() {} public final native JsArrayDomainEntry getDomains() /*-{ return this.domain; }-*/; public final native DomainEntry getSingleDomain() /*-{ return this.domain; }-*/; } = DomainEntry.java: = package com.darc.autohome.automatortool.client.model; import com.google.gwt.core.client.JavaScriptObject; public class DomainEntry extends JavaScriptObject{ protected DomainEntry() {} public final native String getDomainid() /*-{ return this.domainid; }-*/; public final native void setDomainid(String domainid) /*-{ this.domainid = domainid; }-*/; public final native String getDomainname() /*-{ return this.domainname; }-*/; public final native void setDomainname(String domainname) /*-{ this.domainname = domainname; }-*/; } = On Aug 26, 12:07 pm, Nick Apperley napper...@gmail.com wrote: Have an application that works just fine if it is deployed to Jetty (the built-in one), however it doesn't work as expected when it is deployed to a remote Glassfish server (as a WAR file). Login page appears just fine and the main page appears when a user has logged in correctly (via an HTTP POST with CORS). What is different though is that a single combo box is not populated (via JSONP), and a status message is not appearing (in a GWT Label) on the main page. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Integrating RequestFactory into an eclipse project
What do I use as a validator of my choice that I can use with GAE and which is easily gettable? http://www.hibernate.org/subprojects/validator.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-toolkit@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.
Do proxy objects necessarily reduce client side entity manipulation to functional programming?
I want to load a bunch of data to the client, graph it (via Google Visualization API), have the user manipulate it (client side only), and regraph it...and so on. I really like the selling points of requestfactory, but I find my self between a rock and a hard place. **When I was using POJOs for domain objects (with GWT-RPC) I could get the data on to the client and manipulate it arbitrarily (using its mutator methods, which may contain complex logic) and then regraph it. The manipulated data doesn't need to be saved. With requestfactory I only see two options: 1. Manipulate the domain proxies on the client functionally, which might duplicate behavior that already exists in the server objects. 2. Do the work on the server, which would request a request for each manipulation, not a good idea. I may be misusing requestfactory... Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ibjF24LtzssJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: file upload once again
take a look at the code in http://code.google.com/p/upload4gwt/, its not a polished library (yet), but its still usable. also the links might provide some useful resources. hope it helps :D -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xWnPHCsNlmgJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Compile Error - Method Not Implemented
Made a silly mistake of having the interface extend EventListener instead of having the class implement EventListener. In the class the required method was already implemented. With that corrected the compile works without any errors. Would be good if the Console window had more meaningful output on where the error occurred (it did not mention about the interface). On Aug 5, 2:21 am, Jeffrey Chimene jchim...@gmail.com wrote: On 8/3/2011 7:56 PM, Nick Apperley wrote: Is there a way to do a clean build from scratch? You can always delete the compiler output (including .class files). If you're using Eclipse, the clean function will accomplish that task. When a compile is done is any caching involved? I think the answer at the level of problem you're having is no. I qualify the no, because if you are using Gin, and are using development mode, and you change the Gin binding information, then it's wise to recompile (i.e. restart development mode). That doesn't seem to be the case here. I'm fairly sure you will find the problem is some unexplored linkage between the .java and the .ui.xml. I've outlined a resolution path below. I know this can be frustrating. In cases like this, the wisdom to strategically cripple your application is crucial to isolating the failure point. On Aug 3, 2:28 am, Jeffrey Chimene jchim...@gmail.com wrote: I see nothing there either. I'd try a few things: o Simplify the file. Use VerticalPanel or HorizontalPanel or a combination of them to replace the g:grid when laying out the labels. o Focus on getting a clean compilation w/o reference to the ui.xml (obviously, it won't run...) Start commenting out the UiField and UiHandler annotations one by one. Donotcomment out the field references. o Does the Template Editor do anything interesting when invoked on this ui.xml? o Look at the generated javascript and see if you can find the linkage to the Problem Child. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT is for apps — right? But what's about static pages? (GWT's Future Plans...)
I am sorry, but this sounds insane. You are going to generate page content on the browser which you will post on the server so that it can be loaded by the browser. I still stand by my original approach. Generate the simple html content on the server, and let the browser load a GWT module which (possibly with gwtquery) attaches event handlers into the page and links into the rest of the module's functionality. Nick On Aug 4, 7:24 am, dreamer venugopal.vasire...@gmail.com wrote: = static pages I tried to develop a page uisng UIBinder (mix of html and widgets) and RPC calls where it makes sense and ultimately I wanted to post entire page to server and let server serve next page. Here are My roadblocks for now * Not sure how to post entire page to servlet, develop just using designer and plugin * If some how, able to post UIBinder page to servlet, how servlet creates a RequestDispatcher for another UIBinder page? * Can UIBinder page be identifiable like jsp/html page on server ??? -Venuhttp://schoolk12.appspot.com/ On Aug 4, 6:45 am, Alexander Orlov alexander.or...@loxal.net wrote: On Thu, Aug 4, 2011 at 3:11 PM, Alex Dobjanschi alex.dobjans...@gmail.comwrote: As far as it goes, you're basically running Javascript code, in a (simple-to-complex) app, inside client code (browser sandbox). I don't how crawling such an app would be straightforward. The appsparts of an app shouldn't be crawled... There are static parts in almost every app, e.g. product descriptions and exactly those parts of an app should be crawled. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: http://www.google.com/hotelfinder
Does anyone know what the hotel app is using for RPC? It doesn't look like standard RequestFactory or GWT-RPC. Example request body: [,[[,hs,[,[,\nyc\,\2011-08-10\,1]\n]\n] ] ,[,[[,b_lr,1:83] ,[,b_lr,2:141] ,[,b_qu,0] ] ] ] -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/P7qFFZc1nh8J. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Compile Error - Method Not Implemented
Is there a way to do a clean build from scratch? When a compile is done is any caching involved? On Aug 3, 2:28 am, Jeffrey Chimene jchim...@gmail.com wrote: I see nothing there either. I'd try a few things: o Simplify the file. Use VerticalPanel or HorizontalPanel or a combination of them to replace the g:grid when laying out the labels. o Focus on getting a clean compilation w/o reference to the ui.xml (obviously, it won't run...) Start commenting out the UiField and UiHandler annotations one by one. Donotcomment out the field references. o Does the Template Editor do anything interesting when invoked on this ui.xml? o Look at the generated javascript and see if you can find the linkage to the Problem Child. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT is for apps — right? But what's about static pages? (GWT's Future Plans...)
What exactly do you hope to accomplish? If I am understanding you correctly, you want to have the server generate some html page content and the the embedded gwt module will make the page dynamic (I.e apply filters, next page, etc.) You can already do much of this functionality, its just not the standard way of building gwt apps. You may want to look into using gquery. Nick On Aug 3, 7:36 pm, Gal Dolber gal.dol...@gmail.com wrote: GWT isn't the problem, you can easily make a non-CEO-friendly apps with jquery, sencha, or any other js framework. The problem is that search engines do not crawl AJAX apps yet. The proposal to make ajax crawlable is a quick solution to make them work with old crawling infrastructure. I really hope to see a more real solution in the near future. On Wed, Aug 3, 2011 at 10:50 PM, Karthik Reddy karthik.ele...@gmail.comwrote: I would like to make a related observation although, only tangentially related to the initial poster's questions and grievances: Even though GWT started off as a toolkit for developing desktop-style applications for the web, I think it has slowly transformed beyond the said scope. As an example consider, google hotel search at http://www.google.com/hotelfinder/. Evidently, this has been built using GWT and evidently it is closer to a web-style application than a desktop-style application. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s6C_kGBy96UJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Compile Error - Method Not Implemented
Whenever I try to do a compile the method not implemented error appears. The LoginPage.java file has the required method commented out. This should resolve the problem but the compile error still occurs. Below is the result of the compile: Adding '2' new generated units Validating newly compiled units [ERROR] Errors in 'generated:// 48656C47A1796EF8C5CCC8F2542B4F02/com/darc/autohome/automatortool/ client/gui/LoginPage_LoginPageUiBinderImpl.java' [ERROR] Line 8: The type LoginPage_LoginPageUiBinderImpl must implement the inherited abstract method EventListener.onBrowserEvent(Event) See snapshot: /tmp/ com.darc.autohome.automatortool.client.gui.LoginPage_LoginPageUiBinderImpl4841949816845375900.java [ERROR] Errors in 'generated://48656C47A1796EF8C5CCC8F2542B4F02/com/ darc/autohome/automatortool/client/gui/ LoginPage_LoginPageUiBinderImpl.java' [ERROR] Line 8: The type LoginPage_LoginPageUiBinderImpl must implement the inherited abstract method EventListener.onBrowserEvent(Event) [ERROR] Cannot proceed due to previous errors Is there anything that can be checked which could be causing the error to appear? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Compile Error - Method Not Implemented
Had another look at the UI file (LoginPage.ui.xml) and didn't see anything related to the issue. Below is the contents of that file: = !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui ui:with type=com.darc.autohome.automatortool.client.Resources field=res / g:HTMLPanel ui:field=mainLayout addStyleNames={res.loginPageStyle.loginBody} g:VerticalPanel g:Label text=Autohome Automator ui:field=titleLbl addStyleNames={res.loginPageStyle.titleLbl}, {res.loginPageStyle.loginText} / g:Label text=Welcome, please login. ui:field=msgLbl addStyleNames={res.loginPageStyle.msgLbl}, {res.loginPageStyle.loginText} / g:Label text= ui:field=statusLbl addStyleNames={res.loginPageStyle.statusLbl} / g:Grid ui:field=fieldLayout addStyleNames={res.loginPageStyle.fieldLayout} g:row g:customCell g:Label text=User Name: ui:field=userNameLbl / /g:customCell g:customCell g:TextBox ui:field=userNameTxt addStyleNames={res.loginPageStyle.textBox} visibleLength=25 / /g:customCell /g:row g:row g:customCell g:Label text=Password: ui:field=passwordLbl/ /g:customCell g:customCell g:PasswordTextBox ui:field=passwordTxt addStyleNames={res.loginPageStyle.textBox} visibleLength=25 / /g:customCell /g:row /g:Grid g:HorizontalPanel ui:field=btnLayout addStyleNames={res.loginPageStyle.btnLayout} g:Button ui:field=loginBtn text=LoginNew Button/g:Button g:Button ui:field=clearBtn text=Clear addStyleNames={res.loginPageStyle.clearBtn}New Button/g:Button /g:HorizontalPanel /g:VerticalPanel /g:HTMLPanel /ui:UiBinder = On Aug 2, 3:41 pm, Jeffrey Chimene jchim...@gmail.com wrote: There's something in the associated ui.xml not matching the .java -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ProgressBar for GWT 2.3
I have been using this simple css based cell widget progress bar: http://code.google.com/p/gwt-cell-widgets/source/browse/trunk/GWT-Cell-Widgets-Example/src/com/siderakis/gwt/cellwidgets/client/StatusCell.java -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/k74A97YLE74J. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactoryEditorDriver example?
Vasily, can you post the updated snippet for PhoneListEditor and related UI code. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VlHFEGDAeWwJ. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Question about the API of Validation
Remember @Valid Foo foo. Just recurses into foo calling the Validator on it. @Valid Integer int. at best will do nothing because the Integer class has no constraints. @Valid is made for your classes that you have put constraints on. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Question about the API of Validation
On Thu, Jul 21, 2011 at 2:45 AM, Adolfo Panizo Touzon adolfo.pan...@gmail.com wrote: As I said in another email I'm working with gwt api validation. Now I'm doing some tests, it is still not allowed the validation of fields belonging to the package java.util with @Valid constraint. Can you show the code you have that fails. You might also try the GWT 2.4 beta it includes Validation see http://code.google.com/p/google-web-toolkit/wiki/BeanValidation. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Validation java.util fields
On Tue, Jul 19, 2011 at 11:00 AM, Kevin Jordan ke...@kjordan.net wrote: You can do a custom constraint. That seems like a good approach, 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-toolkit@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: Which version of javax.validation.validation-api?
GWT 2.4 beta include support for built in Validation take a look at http://code.google.com/p/google-web-toolkit/wiki/BeanValidation -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 7:09 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: Adding the validation-api to the classpath now results in javax.validation.ValidationException: Unable to find a default provider I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one. Any thoughts on this? Correct you need hibernate-validator in your class path to generate Client Side validators. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found. Thanks for the feedback. svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml ? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 8:53 AM, Nick Chalko ncha...@google.com wrote: On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found. Thanks for the feedback. svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml ? Which is probably not included until gwt 2.4 -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 8:58 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: Saw it there. Ok so until 2.4 what is the recommended way of doing validation? Not supported on the client. And in 2.4 is still experimental, it is my 20% project, I hope to finish it this summer. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HTML5 pushState support
I just finished writing a barebones support for this: com/google/gwt/user/client/impl/HistoryStateImpl.java: package com.google.gwt.user.client.impl; /** * History implementation based on pushState */ public class HistoryStateImpl extends HistoryImpl { public native boolean init() /*-{ var token = ''; var path = $wnd.location.pathname; if (path.length 0) { token = th...@com.google.gwt.user.client.impl.HistoryImpl::decodeFragment(Ljava/ lang/String;)(path); } @com.google.gwt.user.client.impl.HistoryImpl::setToken(Ljava/lang/ String;)(token); var historyImpl = this; var oldHandler = $wnd.history.onpopstate; $wnd.onpopstate = $entry(function() { var token = ''; var path = $wnd.location.pathname; if (path.length 0) { token = historyim...@com.google.gwt.user.client.impl.HistoryImpl::decodeFragment(Ljava/ lang/String;)(path); } historyim...@com.google.gwt.user.client.impl.HistoryImpl::newItemOnEvent(Ljava/ lang/String;)(token); if (oldHandler) { oldHandler(); } }); return true; }-*/; protected native void nativeUpdate(String historyToken) /*-{ var encodedToken = th...@com.google.gwt.user.client.impl.HistoryImpl::encodeFragment(Ljava/ lang/String;)(historyToken); $wnd.history.pushState(encodedToken, $wnd.document.title, encodedToken); }-*/; } In order to get this to work fully, you will have to do some messing around with Deferred Binding in your module file. Something like this: define-property name=history.push.state values=supported, notsupported/ property-provider name=history.push.state ![CDATA[ if (typeof(window.history.pushState) == function) { return supported; } else { return notsupported; } ]] /property-provider replace-with class=com.google.gwt.user.client.impl.HistoryStateImpl when-type-is class=com.google.gwt.user.client.impl.HistoryImpl/ all when-property-is name=history.push.state value=supported/ /all /replace-with What this code will basically do is instead of having hash based tokens, it will set your url path. So : http://www.myserver.com/#foo becomes http://www.myserver.com/foo Note that it will be sensible on the server to be forwarding all requests into your desired gwt module. On Jun 28, 2:43 pm, Stefan Asseg stefanas...@gmail.com wrote: Is this planned to be included in GWT in the near future or is anyone working on a GWT library that offers HTML5 pushState support? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
KeyCodes private contructor - protected constructor
Hi all, I just noticed that the KeyCodes class has a private contructor to prevent instantiation of the class. While I agree with this in principle, my suggestion is to make the constructor protected instead of private so that it can be subclassed. It makes sense to keep KeyCodes smaller rather than adding the ASCII codes for all possible keys, but my belief is that consumers of this class would obviously like to expand it to include more than is provided in the base class. Thoughts? Should I file a ticket to ask for this change to be implemented? Thanks, Nick -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: XsrfTokenServiceServlet requires deployed gwt-dev.jar?
I modified the GWT sample app to be Xsrf safe. http://code.google.com/p/xsrf-safe/ On Jun 9, 12:55 pm, Nick nix...@gmail.com wrote: As a workaround you can create a copy of the Utility class in your project. Just make sure its in the original package 'package com.google.gwt.util.tools', and deleted the methods with restricted code (if deploying to gae). p.s. You might need to adjust your build path so that your code comes before the gwt library. On May 17, 11:25 am, Karl karl.rest...@gmail.com wrote: Hi, thank you for the quick answer, I created an issue for ithttp://code.google.com/p/google-web-toolkit/issues/detail?id=6367. I have been using gwt-dispatch for another project and I really like it, but I thought I'd try the new stuff. I suppose that have to wait a bit... /Karl On May 17, 4:24 pm, David Chandler drfibona...@google.com wrote: Hi Karl, This looks like a GWT bug, as gwt-servlet should not have any dependencies on gwt-dev. Please file in the issue tracker. As an aside, have you looked at the Command pattern as implemented by gwt-dispatch or RequestFactory? These are both easier than securing each service individually IMHO. Thanks, /dmc On Tue, May 17, 2011 at 12:14 PM, Karl karl.rest...@gmail.com wrote: Hi! I'm trying to implement the 2.3 xsrf protection as described here http://code.google.com/webtoolkit/doc/latest/DevGuideSecurityRpcXsrf but I run into a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/google/gwt/util/tools/Utility at com.google.gwt.user.server.rpc.XsrfTokenServiceServlet.generateTokenValue(X srfTokenServiceServlet.java: 198) [:] at com.google.gwt.user.server.rpc.XsrfTokenServiceServlet.getNewXsrfToken(Xsrf TokenServiceServlet.java: 163) [:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [: 1.6.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) [:1.6.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java: 43) [:1.6.0_20] at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20] at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 569) [:] ... 28 more Caused by: java.lang.ClassNotFoundException: com.google.gwt.util.tools.Utility from BaseClassLoader@31843ea1{vfs:/// home/user/dev/JBoss/distrib/server/myCompany/deploy/myWar.war} at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.ja va: 480) [jboss-classloader.jar:2.2.0.GA] at java.lang.ClassLoader.loadClass(ClassLoader.java:266) [:1.6.0_20] ... 35 more The only place I can find this com/google/gwt/util/tools/Utility class is in gwt-dev.jar but deploying this results in the following exception: Caused by: LifecycleException: Error initializaing : javax.management.ReflectionException: Cannot find method addChild with this signature same as described here: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... I'm running JBoss 6.0. and I build my project with maven2 as described here http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/b... What am I doing wrong? Any help would be greatly appreciated. /Karl -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: XsrfTokenServiceServlet requires deployed gwt-dev.jar?
As a workaround you can create a copy of the Utility class in your project. Just make sure its in the original package 'package com.google.gwt.util.tools', and deleted the methods with restricted code (if deploying to gae). p.s. You might need to adjust your build path so that your code comes before the gwt library. On May 17, 11:25 am, Karl karl.rest...@gmail.com wrote: Hi, thank you for the quick answer, I created an issue for ithttp://code.google.com/p/google-web-toolkit/issues/detail?id=6367. I have been using gwt-dispatch for another project and I really like it, but I thought I'd try the new stuff. I suppose that have to wait a bit... /Karl On May 17, 4:24 pm, David Chandler drfibona...@google.com wrote: Hi Karl, This looks like a GWT bug, as gwt-servlet should not have any dependencies on gwt-dev. Please file in the issue tracker. As an aside, have you looked at the Command pattern as implemented by gwt-dispatch or RequestFactory? These are both easier than securing each service individually IMHO. Thanks, /dmc On Tue, May 17, 2011 at 12:14 PM, Karl karl.rest...@gmail.com wrote: Hi! I'm trying to implement the 2.3 xsrf protection as described here http://code.google.com/webtoolkit/doc/latest/DevGuideSecurityRpcXsrf but I run into a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/google/gwt/util/tools/Utility at com.google.gwt.user.server.rpc.XsrfTokenServiceServlet.generateTokenValue(X srfTokenServiceServlet.java: 198) [:] at com.google.gwt.user.server.rpc.XsrfTokenServiceServlet.getNewXsrfToken(Xsrf TokenServiceServlet.java: 163) [:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [: 1.6.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) [:1.6.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java: 43) [:1.6.0_20] at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20] at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 569) [:] ... 28 more Caused by: java.lang.ClassNotFoundException: com.google.gwt.util.tools.Utility from BaseClassLoader@31843ea1{vfs:/// home/user/dev/JBoss/distrib/server/myCompany/deploy/myWar.war} at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.ja va: 480) [jboss-classloader.jar:2.2.0.GA] at java.lang.ClassLoader.loadClass(ClassLoader.java:266) [:1.6.0_20] ... 35 more The only place I can find this com/google/gwt/util/tools/Utility class is in gwt-dev.jar but deploying this results in the following exception: Caused by: LifecycleException: Error initializaing : javax.management.ReflectionException: Cannot find method addChild with this signature same as described here: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... I'm running JBoss 6.0. and I build my project with maven2 as described here http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/b... What am I doing wrong? Any help would be greatly appreciated. /Karl -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
SplitLayoutPanel Sizing?
In the application (using GWT 2.3) there is a SplitLayoutPanel with a widget on the left (East) and one on the right (West). When viewing the application in both FF 3.6 and FF 4 the combo box in the left side of the SplitLayoutPanel has its end chopped off. No resizing of the SplitLayoutPanel with its divider will show the rest of it. Another issue with the SplitLayoutPanel is that the widget on the right side doesn't display in both FF 3.6 and FF4. Initially I thought it was because the widget was reporting the incorrect width however after fixing the width reporting the issue still occurs. What is the best way to size SplitLayoutPanel so that it will allocate half to one side and half to another anytime its contents changes? What might cause SplitLayoutPanel to not display a Widget on a particular side? Below is the contents of the UIBinder file which are relevant to SplitLayoutPanel: --- g:west size=1.0 g:VerticalPanel ui:field=navLayout g:Label text=Image ui:field=imageLbl/ g:ListBox ui:field=zonesCbo/ g:HTMLPanel ui:field=imageLayout div id=imageDiv /div div id=imageMapDiv /div /g:HTMLPanel /g:VerticalPanel /g:west --- The right side of the SplitLayoutPanel has its contents dynamically added/removed. On the left side imageDiv/imageMapDiv have their contents dynamically change, depending on what has been selected at the time by the user. Since some custom HTML elements is used (ImageElement and MapElement) in the left side it could make sizing the SplitLayoutPanel very tricky. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Validation-api-1.0.0, Doesn't work
Take a look at http://code.google.com/p/google-web-toolkit/wiki/BeanValidation -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Validation-api-1.0.0, Doesn't work
You will need to do something like this. public class ExposeImpl implements IsSerializable { @SuppressWarnings(unused) private ConstraintViolationImpl? constraintViolationImpl; @SuppressWarnings(unused) private PathImpl pathIpml; @SuppressWarnings(unused) private HashSet? hashSet; } And then Create a dummy method like the following in your RemoteService ExposeImpl dummy(); I am working on a simpler solution. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Setting Up A Login Page To Use SSL
Max - With regards to point 1 I did consider it but it isn't feasible to use SSL for the entire website when large amounts of data is being sent to/from the server. Most of the data being received from the server is in JSON format, which although it is less verbose than XML it does include other pieces of data that hasn't been requested from the website (client). All of the received data comes from a DB as row(s). If a row contains a foreign key then the referred row (by the key) is automatically included instead of the key in a JSON file. This is automatically done by the server, no changes were made to do this. You can imagine just how much data is included if there is more than one foreign key, and this automatically scales up recursively if the included row also contains a foreign key. 1. Have you considered using TLS/SSL for your complete application? Without that a MITM would still be able to sniff the session cookie and act on behalf of the user, sniff users' data, modify data on the way between server and client and so on. 2. If you really really want to use TLS only for login purposes I recommend you redirect users to a simple login page using https and after logging in redirecting them back to the http version fo your app. HTH Max -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Setting Up A Login Page To Use SSL
When using CORS with GWT how will I know if an HTTP request is getting through? In the client the RequestBuilder class is being used to send an HTTP POST with the Content-Type header set to text/plain. With the testing of the client it doesn't appear as though anything is occurring after the request is sent. Normally Firefox will display something in the status bar when an HTTP request is being made. On May 23, 5:35 pm, Andi andi.ba...@googlemail.com wrote: you can use cors (cross origin resource sharing). i think its cool, but with that you will have a reduced browsersupport. andi (vom fon) On 23.05.2011, at 05:52, Nick Apperley napper...@gmail.com wrote: -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Setting Up A Login Page To Use SSL
It appears as though a request is getting through to the server. Why does RequestBuilder only accept a single String for data with an HTTP request? There are 2 defined REST web services on the server that take one or more parameters (data). How do I send an HTTP POST that contains one or more parameters (data) with GWT? On May 24, 1:08 pm, Nick Apperley napper...@gmail.com wrote: When using CORS with GWT how will I know if an HTTP request is getting through? In the client the RequestBuilder class is being used to send an HTTP POST with the Content-Type header set to text/plain. With the testing of the client it doesn't appear as though anything is occurring after the request is sent. Normally Firefox will display something in the status bar when an HTTP request is being made. On May 23, 5:35 pm, Andi andi.ba...@googlemail.com wrote: -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Setting Up A Login Page To Use SSL
How do I setup a login page to use SSL for the GWT client? I have been looking around the web for a simple way to do this, but surprisingly there is no guide available which contains some example code for doing it. Currently I am trying to figure out how to get the client app to communicate with the Glassfish (ver 3.1) server via REST over SSL for logins/logouts only. With the debilitating SOP establishing communication between the client and server has proven difficult enough to achieve via HTTP (REST) with JSONP since only GETs can be done. Does the entire website (client) have to use HTTPs if it is on the same server where the REST web services reside? What steps need to be done on the server side with Glassfish to enable SSL support that works with the client? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Empty Response From HTTP Request
All web services were returning json but not in a way that is treated as jsonp for the GWT client. Once that was fixed no more timeouts occurred for future requests. However there is now a bizarre issue where the ArrayList that was populated in the defined onSuccess method (for the AsyncCallback object) is now empty outside of the method definition. How can that happen when no items have been removed from the ArrayList? The ArrayList was defined outside of the object. On May 13, 5:34 pm, A. Stevko andy.ste...@gmail.com wrote: Can you at least see the size of the response like in an apache log file? Try using FireBug's Net Panel to see the request/response size/duration. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Empty Response From HTTP Request
As it turns out AsyncCallback doesn't have a way to inform that it is finished. Therefore anything that needs the proper results from the request would need to be done in the AsyncCallback's onSuccess method. On May 13, 6:12 pm, Nick Apperley napper...@gmail.com wrote: All web services were returning json but not in a way that is treated as jsonp for the GWT client. Once that was fixed no more timeouts occurred for future requests. However there is now a bizarre issue where the ArrayList that was populated in the defined onSuccess method (for the AsyncCallback object) is now empty outside of the method definition. How can that happen when no items have been removed from the ArrayList? The ArrayList was defined outside of the object. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Empty Response From HTTP Request
Every time a request is made with RequestBuilder an empty response is returned from the server. If the request is made using just the web browser in an empty tab a non empty response is returned from the server that is displayed directly (in Firefox). With the latter the expected response is returned from the server. After doing some further investigation on the issue it seems as though the empty response could be caused by GWT's Same Origin Policy. The web services are running on a different server from the GWT client. What was suggested was to use JsonpRequestBuilder instead of RequestBuilder to bypass the SOP problem. However that can only be done if one can change the REST web services to return Json instead of XML. I have undertaken the suggestion but now have an entirely new problem to content with. Timeouts are occurring every time a request is made using JsonpRequestBuilder. I have checked to see that the URL is correct, and have extended the timeout duration but still end up with the same problem. What could cause a timeout to occur with doing a request with JsonpRequestBuilder? A. Stevko wrote: Hi Nick, Are you saying that the server response is empty or that RequestBuilder does not recognize the response? If its the former, the server is not recognizing something in the request like the browser code headers. If its the latter, then I would compare the content-type and formatting of the response with a benchmark response from the eclipse dev tool. Either way, you'll need to get below just looking at the browser display to understand diagnose the communication protocols. I suggest using a logging proxy server on your test bench to track what is coming and going. MS Fiddler works well on Windows. ---Stevko -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Empty Response From HTTP Request
What is really weird is that the timeouts are occurring with making a request via JsonRequestBuilder yet the Glassfish server has received the request successfully. I have been digging through the Glassfish server logs and found an identical set of entries for 2 requests that were made (one from GWT client, the other from the web browser). What isn't recorded in the logs is if the server has sent back a response, and its content if it was sent. Right now I do not know what is happening with the server responses. Presumably a response is being sent back to the GWT client. At least a response has been sent back for the request made by the web browser. On May 13, 10:15 am, Nick Apperley napper...@gmail.com wrote: I have undertaken the suggestion but now have an entirely new problem to content with. Timeouts are occurring every time a request is made using JsonpRequestBuilder. I have checked to see that the URL is correct, and have extended the timeout duration but still end up with the same problem. What could cause a timeout to occur with doing a request with JsonpRequestBuilder? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Empty Response From HTTP Request
Using RequestBuilder I can successfully make a request to the Glassfish 3.1 server I have setup. The server delivers REST web services that involve HTTP GET and POST. Currently I am testing to see if I can establish communication between the server and the GWT client. What isn't working is getting the correct response for the particular web service used (a HTTP GET). In Firefox with the same web service used it receives the correct response which is an XML file. This confirms that the web service is working properly. What are the possible causes for an empty response from a HTTP request with GWT? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Running GWT Developing mode
The validation jar is not on the path, search the group history you will find some answers. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: [gwt-contrib] Check for IsWidget rather than Widget when determining if a class is a Widget in UiBinder (issue1421809)
I will patch this and test it in raptical On Thu, Apr 28, 2011 at 11:59 AM, unn...@google.com wrote: Reviewers: rjrjr, Description: Check for IsWidget rather than Widget when determining if a class is a Widget in UiBinder Please review this at http://gwt-code-reviews.appspot.com/1421809/ Affected files: M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java Index: user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java === --- user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (revision 10100) +++ user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (working copy) @@ -39,7 +39,7 @@ import com.google.gwt.uibinder.rebind.model.OwnerClass; import com.google.gwt.uibinder.rebind.model.OwnerField; import com.google.gwt.user.client.ui.Attachable; -import com.google.gwt.user.client.ui.Widget; +import com.google.gwt.user.client.ui.IsWidget; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -687,7 +687,7 @@ public boolean isWidgetElement(XMLElement elem) throws UnableToCompleteException { -return isSubclassOf(elem, Widget.class); +return isSubclassOf(elem, IsWidget.class); } /** -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Generate your java flags for easier testing. go/java_flags https://goto.google.com/java_flags https://goto.google.com/java_flags -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Development Mode quit unexpectedly while using libjava.jnilib plugin
Just got a brand new mac book pro for work. Installed the latest JDK (1.6.0_24), App Engine SDK(1.4.2), and GWT(2.2.0) Using intellij, created a new project and configured everything the same way I've been doing for the last 6 months with no problems. Tried to debug my GWT application and it crashed. Restarted my computer thinking all the new SDKs might be worth a restart. It worked once and then started crashing again. I think the new JDK is what broke this cause I have an almost identical set up at home but I'm using and older JDK. Please help me resolve this. Thanks. Here's the crash report: Process: java [1490] Path:/usr/bin/java Identifier: com.apple.javajdk16.cmd Version: 1.0 (1.0) Code Type: X86-64 (Native) Parent Process: idea [134] PlugIn Path: /Library/Java/JavaVirtualMachines/1.6.0_24- b07-334.jdk/Contents/Libraries/libjava.jnilib PlugIn Identifier: libjava.jnilib PlugIn Version:??? (???) Date/Time: 2011-03-16 11:27:35.998 -0700 OS Version: Mac OS X 10.6.6 (10J3210) Report Version: 6 Interval Since Last Report: 2842 sec Crashes Since Last Report: 5 Per-App Interval Since Last Report: 77 sec Per-App Crashes Since Last Report: 5 Anonymous UUID: A613E182-BC76-41FB-8C9F- BC4DFC63271D Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x Crashed Thread: 28 Dispatch queue: com.apple.root.low-priority ... Model: MacBookPro8,2, BootROM MBP81.0047.B04, 4 processors, Intel Core i7, 2.2 GHz, 4 GB, SMC 1.69f1 Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB Memory Module: global_name AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.10.1) Bluetooth: Version 2.4.3f1, 2 service, 19 devices, 1 incoming serial ports Network Service: AirPort, AirPort, en1 Serial ATA Device: TOSHIBA MK7559GSXF, 698.64 GB Serial ATA Device: MATSHITADVD-R UJ-898 USB Device: FaceTime HD Camera (Built-in), 0x05ac (Apple Inc.), 0x8509, 0xfa20 / 3 USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa10 / 2 USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0245, 0xfa12 / 5 USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa11 / 4 USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x821a, 0xfa113000 / 6 USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd10 / 2 USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd11 / 3 -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Validator with Editor Framework
On Fri, Mar 11, 2011 at 10:17 AM, keyvez key...@gmail.com wrote: Hi, I just found the DynaTableRf sample and see that onViolation is fired there. Going through its setup I realized that I was missing the hibernate-validator jar, so I put it in my libs and build path, but still no entity property violations are caught. Any help is greatly appreciated. The client side validation is working somewhat now if your are using SVN head. Take a look at http://code.google.com/p/google-web-toolkit/wiki/BeanValidation r, Nick -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
PNGs breaking the build on Linux (GWT 2.1.0)
Hi, I've got a GWT 2.1 project that has some transparent 8-bit PNGs as resources. I'm developing on Mac OS X Snow Leopard, and building/ packaging my project (with Maven) works fine. But when I upload it to our TeamCity CI box (Linux, Ubuntu 9.01) with the same pom.xml, same local Maven repo, etc., I get the following error on build (see below). It's complaining about some PNGs that have the following attributes (from ImageMagick 'identify' command): filter-att.png PNG 25x50 25x50+0+0 8-bit DirectClass 2.74KiB 0.000u 0:00.000 Any ideas? Is there an OS incompatibility or is there a GWT library that I might be missing? Both versions of GWT are the same (2.1.0). [ERROR] Unrecognized image file format [INFO][ERROR] Generator 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' threw an exception while rebinding 'com.peek.qcom.war.client.FilterBarViewImpl_BinderImpl_GenBundle' java.lang.NullPointerException at com.google.gwt.resources.rg.ImageResourceGenerator $BundledImage.addImage(ImageResourceGenerator.java:97) at com.google.gwt.resources.rg.ImageResourceGenerator.prepare(ImageResourceGenerator.java: 542) at com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java: 628) at com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java: 654) at com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate(AbstractClientBundleGenerator.java: 243) at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java: 427) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 39) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.tryRebind(StandardRebindOracle.java:115) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:58) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 161) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 150) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java: 345) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:254) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:175) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:288) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access $400(AbstractCompiler.java:145) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 632) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 484) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 32) at com.google.gwt.dev.Precompile.precompile(Precompile.java:545) at com.google.gwt.dev.Precompile.precompile(Precompile.java:466) at com.google.gwt.dev.Compiler.run(Compiler.java:205) at com.google.gwt.dev.Compiler.run(Compiler.java:177) at com.google.gwt.dev.Compiler$1.run(Compiler.java:149) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:156) -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
As it turns out a line was missing in the LoginPage's constructor for properly initializing itself which is required for UIBinder. This would explain why an instance of LoginPage couldn't be added to RootLayoutPanel. initWidget(uiBinder.createAndBindUi(this)); On Feb 16, 10:30 am, Nick Apperley napper...@gmail.com wrote: Something is not being initialized properly (most likely the Composite). Shouldn't the server take care of this? On Feb 16, 10:23 am, Nick Apperley napper...@gmail.com wrote: Based on the exception the problem occurs when the login page (a Composite) is being added to the RootLayoutPanel. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
Interestingly enough if I adjust the code to only attach a Label to RootLayoutPanel in the onModuleLoad method no compilation is done, and nothing is displayed on the web page. This is weird since a minor change has been made to the code, even if nothing was displayed Firefox should freeze to indicate that compilation is currently being done. No error messages are being displayed in Eclipse's Console window, absolutely nothing to go by. On Feb 15, 10:51 am, Jeff Larsen larse...@gmail.com wrote: Pop open firebug and start drilling down into the DOM and see if you can find your code in there. I.e. any of your labels, widgets, panels. If they aren't there, then maybe an error is being caught somewhere and not thrown, if they are there but not visible, start mucking around with CSS properties to see if you've attached stuff correctly. Note, if you're using layout panels, you're best case scenario is to use layoutpanels from rootpanel all the way through to your top level panels. doing something like FlowPanel panel = new FlowPanel(); DockLayoutPanel dockPanel = new DockLayoutPanel(); //do stuff with docklayoutpanel RootLayoutPanel.get().add(panel); this will cause nothing to be displayed. If it is done outside of the onModuleLoad method of an EntryPoint. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
Not in offline mode. Anyway I have recreated the project as a new Web Application (the Google one) project in Eclipse. Compilation works normally but now I have an exception appearing in development mode, which didn't occur previously with the old project type (GWT Java). --- 10:11:55.193 [ERROR] [autohome_automator] Unable to load module entry point class com.darc.autohome.automatortool.client.AutohomeAutomator (see associated exception for details) java.lang.AssertionError: This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement() at com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java: 528) at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94) at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:97) at com.darc.autohome.automatortool.client.Controller.showLoginPage(Controller.java: 28) at com.darc.autohome.automatortool.client.AutohomeAutomator.onModuleLoad(AutohomeAutomator.java: 17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:619) --- -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
Based on the exception the problem occurs when the login page (a Composite) is being added to the RootLayoutPanel. On Feb 16, 10:17 am, Nick Apperley napper...@gmail.com wrote: Not in offline mode. Anyway I have recreated the project as a new Web Application (the Google one) project in Eclipse. Compilation works normally but now I have an exception appearing in development mode, which didn't occur previously with the old project type (GWT Java). --- 10:11:55.193 [ERROR] [autohome_automator] Unable to load module entry point class com.darc.autohome.automatortool.client.AutohomeAutomator (see associated exception for details) java.lang.AssertionError: This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement() at com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java: 528) at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94) at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:97) at com.darc.autohome.automatortool.client.Controller.showLoginPage(Controller.java: 28) at com.darc.autohome.automatortool.client.AutohomeAutomator.onModuleLoad(AutohomeAutomator.java: 17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:619) --- -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
Something is not being initialized properly (most likely the Composite). Shouldn't the server take care of this? On Feb 16, 10:23 am, Nick Apperley napper...@gmail.com wrote: Based on the exception the problem occurs when the login page (a Composite) is being added to the RootLayoutPanel. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
UI Binder File Not Loaded During Runtime
Whenever I run the application nothing is displayed on the main page (using the development server). The only thing that is displayed is the page's title. Everything has been checked including adding a widget to the Root Panel when the module is loaded. Is there anything else that is worth checking? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
Doc type is set to standards mode and I have switched from RootPanel to RootLayoutPanel, but it has not changed anything with displaying the main page. There doesn't appear to be anything in the DOM related to the application. What should I specifically look for with GWT in the DOM? On Feb 15, 10:15 am, Jeff Larsen larse...@gmail.com wrote: Are you using layout panels? If so, have you set the doctype to standards mode? Also, if you are using layout panels, you need to attach them to RootLayoutPanel, not RootPanel. Another thing to check is to see if the widgets are attached to the DOM with something like firebug. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder File Not Loaded During Runtime
After looking at a similar application that does something very similar (in code) it displays the main page just fine. In the corresponding DOM the are 3 defined GWT variables (__gwt_SessionID, __gwt_scriptsLoaded, __gwt_stylesLoaded). With the problematic application it doesn't have the defined GWT variables, and it does not compile (no compile error messages appear in Eclipse's Console window). Hence Firefox doesn't freeze when the application is loaded the first time. On Feb 15, 10:51 am, Jeff Larsen larse...@gmail.com wrote: Pop open firebug and start drilling down into the DOM and see if you can find your code in there. I.e. any of your labels, widgets, panels. If they aren't there, then maybe an error is being caught somewhere and not thrown, if they are there but not visible, start mucking around with CSS properties to see if you've attached stuff correctly. Note, if you're using layout panels, you're best case scenario is to use layoutpanels from rootpanel all the way through to your top level panels. doing something like FlowPanel panel = new FlowPanel(); DockLayoutPanel dockPanel = new DockLayoutPanel(); //do stuff with docklayoutpanel RootLayoutPanel.get().add(panel); this will cause nothing to be displayed. For more information,http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.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-toolkit@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: Added missing validation jars to gwt-user.jar. Fixes Issue 5950. (issue1323803)
On Fri, Feb 11, 2011 at 10:11 AM, Rodrigo Chandia rchan...@google.comwrote: Oh, sorry. I guess I pasted confusingly similar links. So far there are two approaches to fix Issue 5950: http://gwt-code-reviews.appspot.com/1323803/show (This one) http://gwt-code-reviews.appspot.com/1342803/show (The other one) So adding to gwt-user seems like the simplest approach -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
CSS Styling With GWT
I am interested in finding out how people do CSS styling with GWT. After making an attempt to go though the Client Bundle route CSS is not being applied to all the UI Binder templates. Google have deprecated the method of referring to CSS via the link tag in a HTML page. Previously I used this method for CSS styling which works, but decided to go with the recommended way (current practice) to do CSS styling in GWT. What is puzzling with UI Binder is that all the GWT widgets don't have a natural mapping to CSS with properties like class and id. In other words one cannot style the widgets without adding a style via a method call. Surely there is a more straightforward way to do this. The id property does exist but conflicts with the ui:field property which isn't ideal when you need to customize a widget in a Java class. It seems as though id is the same as ui:field. All documentation on Client Bundle is not entirely clear on how it maps to classes and ids in CSS. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Displaying A Single Entry Point
Whenever I run the application the contents of the two entry points are displayed on the same web page even though only one entry point is being displayed. Attempted to fix the problem by removing the old entry point (source file), and adjust the xml file to point to the new entry point but still end up with contents from both entry points being displayed. Why is this occurring? I have even restarted Eclipse (ver 3.6) just in case there was a compilation problem but to no avail. Currently using GWT Designer (ver 8.1.1) with the Google Plugin (ver 1.4.2). -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Add validation jars to the expenses sample build.xml (issue1309802)
I need a g4 approve -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: GWT Validation Framework
On Mon, Jan 17, 2011 at 7:43 AM, SVR svr...@gmail.com wrote: Has anybody used the GWT Validation Framework based on the JSR-303http://code.google.com/p/gwt-validation/ Can you please provide your thoughts on its usefulness and can you please point to some useful links on its usage with examples. thanks -- JSR-303 of course already works on the server side, DynatableRf should show that. I am working on getting the client side working. See http://code.google.com/p/google-web-toolkit/wiki/BeanValidation. -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Validation Framework
On Mon, Jan 17, 2011 at 12:02 PM, SVR svr...@gmail.com wrote: This is not part of any released code? Is it planned to be part of ver x.y? Eventually it will be in released code. No time line yet. Is http://code.google.com/p/gwt-validation/ a different project? yes it is a different project and does not match the JSR-303 spec -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Add support for mapping ConstraintViolation objects into SimpleBeanEditor. (issue1260801)
Will do. On Thu, Jan 6, 2011 at 9:31 AM, rj...@google.com wrote: Nick, could you take a look at this? Is Bob making reasonable assumptions about how ConstraintViolation acts, especially its paths? http://gwt-code-reviews.appspot.com/1260801/show -- Generate your java flags for easier testing. go/java_flags https://goto.google.com/java_flags https://goto.google.com/java_flags -- http://groups.google.com/group/Google-Web-Toolkit-Contributors