Re: WindowBuilder (GWTDesigner) error
init() simply sets up the controls in the view. If settings is null, it doesn't do much accept leave the controls at their defaults. If settings is not null, then it sets the controls to values specified in settings. Basically its setting the index on a bunch of listboxes. MyControlPanel looks like this: public class MyControlPanel extends BaseControlPanel { private static MyControlPanel uiBinder = GWT.create( MyControlPanel .class ); @UiField ListBox qualityList; @UiField ListBox reasonsList; @UiField TextArea techCommentsTextArea; @UiField TextArea medCommentsTextArea; @UiField ListBox diagregList; @UiField ListBox compregList; @UiField Button reanalyzeButton; @UiField Button holdButton; interface MyControlPanel extends UiBinder { } ... } And BaseControlPanel looks like this: public class ReviewControlBaseBmdPanel extends Composite { // A few methods share by all derived classes } The WindowsBuilder error happens on all of the derived classes. > -- 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: Facebook login button
You can check this page on facebook: https://developers.facebook.com/docs/facebook-login/getting-started-web/ You probably have to use OAuth protocol for that. There an easy library that helps you manage that in the server side: https://github.com/fernandezpablo85/scribe-java?source=cr It also shows many example to do OAuth management for many websites including Facebook. On Friday, May 3, 2013 5:35:23 PM UTC+3, Larissa Costa wrote: > > Hi, > > I've never worked with the facebook and I need help. > > I have a website (GWT) and I wanted to connect it with facebook to get > some information about the user. For example, put a login button on the > home page of my site. > > Does anyone know how I can do this? Anyone have one example? > > Thank you > -- 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.
Closure Compiler Breaks eval("$wnd.…")
Hi, We recently tried to use the closure compiler to reduce file size and ran into an issue where the script would throw a reference error when loading the page. After some digging, I found that one of the Google Maps widgets (v2 for now) uses JSOpaque based enums, which use eval("$wnd.NAME") to get their values. When using the closure compiler (with -XenableClosureCompiler) (0,eval)("$wnd.NAME") is used instead, which uses global scope and so cannot find $wnd. I tried running the output of a regular GWT compile through the just the closure compiler and it did not change the eval statements. I set $wnd.$wnd=$wnd in onModuleLoad for now as a workaround but I'm wondering if there's a better way. Is there a way to configure how the compiler handles eval? Thanks, David -- 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: Facebook login button
Hi, Spring is a good choice but, for me, the learning curve is too steep since I don't know Spring and annotation at all. I am looking at socialauth now. Thanks From: Larissa Costa To: google-web-toolkit@googlegroups.com Sent: Friday, May 3, 2013 7:35 AM Subject: Facebook login button Hi, I've never worked with the facebook and I need help. I have a website (GWT) and I wanted to connect it with facebook to get some information about the user. For example, put a login button on the home page of my site. Does anyone know how I can do this? Anyone have one example? Thank you -- 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. -- 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: GWT Designer crashes Eclipse when i switch the editor-tab to Design...
Have you tried uninstalling them and reinstalling the GPE w/ the latest and matching GWT Designer? It looks like your install might have left stuff around or didn't fully complete. Many people have had this kind of issue with the installer in 4.2. Most people recommend just starting with a new Eclipse install completely when you hit this, rather than trying to fix your existing install. You may need to export/import your preferences (including external tools, run configs, debug configs, etc that you don't store in .settings) but some of that will come over if you use the same workspace. On Thursday, May 2, 2013 4:22:49 AM UTC-4, Costis Aivalis wrote: > > The GWT-Designer crashes my Eclipse completely. > This problem started, after upgrading from Ubuntu 32bit 12.10 to 32bit > 13.04. > Windowbuilder plugin installs and works correctly. It designs even > preciser than it did in 12.04. > The GWT plugin for Eclipse 4.2 Juno, on the other hand, installs > correctly, allows generating projects with sample code, that run, > but does not allow Designer Editing. I crashes Eclipse. > > Here are the error messages. A larger portion of the log file is attached. > > !SESSION 2013-05-02 01:49:35.609 > --- > eclipse.buildId=M20130204-1200 > java.version=1.7.0_17 > java.vendor=Oracle Corporation > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US > Framework arguments: -product org.eclipse.epp.package.jee.product > Command-line arguments: -os linux -ws gtk -arch x86 -product > org.eclipse.epp.package.jee.product > > !ENTRY org.eclipse.ui 4 4 2013-05-02 01:51:10.339 > !MESSAGE Plug-in 'org.eclipse.jpt.jpa.ui' contributed an invalid Menu > Extension (Path: 'org.eclipse.jpt.jpa.ui.menu.JpaTools' is invalid): > org.eclipse.jpt.jpa.ui.generateEntities > > !ENTRY org.eclipse.ui 4 4 2013-05-02 01:51:50.979 > !MESSAGE Could not create action delegate for id: > org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction > > !ENTRY org.eclipse.equinox.registry 4 1 2013-05-02 01:51:50.979 > !MESSAGE Plug-in org.eclipse.wb.core.java was unable to load class > org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate. > !STACK 0 > java.lang.ClassNotFoundException: > org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate > -- 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: WindowBuilder (GWTDesigner) error
What does init() do? It is part of MyControlPanel()? Hard to tell you without seeing what it does. On Friday, May 3, 2013 1:58:27 AM UTC-4, Mike Dee wrote: > > I'm getting the following error when I try to switch to design mode. > > GWT Designer can't load a module because of error in gwt.xml module > description, incorrect resource which requires processing with GWT > generator or by some other configuration error. > > Please check your *$project_dir/.gwt/.gwt-log* for GWT-specific errors > (not GWT Designer errors). > This log has the following error messages: > > [ERROR] Failed to create an instance of > 'com.mycompany.app.client.panels.MyControlPanel' via deferred binding > > > This error occurs when attempting to view MyView.ui.xml in design mode. > MyView includes MyControlPanel.ui.xml. > > The app actually runs fine. I just can't use WindowBuilder. > > After playing around with this for a while I noticed that MyControlPanel() > has two constructors (as shown below). They both call init() which does > common initialization. If I remove the call to init(null) in the first, it > works fine! > > public MyControlPanel() > { > initWidget( uiBinder.createAndBindUi( this ) ); > init( null ); > } > public MyControlPanel( Settings settings ) > { > initWidget( uiBinder.createAndBindUi( this ) ); > init( settings ); > } > > Any clues? > > -- 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: ClientAbortException Issue Since 2.5.1
On Friday, May 3, 2013 10:46:07 PM UTC+2, James Patrick wrote: > > Hey Guys, > > The company I work for uses apache + gwt + tomcat7 for our site. I've been > trying to update from gwt 2.5.0 -> 2.5.1. > GwtSerlvet.jar used to contain the > org.apache.catalina.connector.ClientAbortException class. > Er… no! (verified in 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0 and 2.5.1) -- 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.
ClientAbortException Issue Since 2.5.1
Hey Guys, The company I work for uses apache + gwt + tomcat7 for our site. I've been trying to update from gwt 2.5.0 -> 2.5.1. GwtSerlvet.jar used to contain the org.apache.catalina.connector.ClientAbortException class. What is upgrade path from 2.5.0 to 2.5.1 for users who are depended on catching ClientAbortException (in case I've missed something)? We put catalina.jar in the classpath to compile. If we add it to WEB-INF/lib tomcat fails to deploy the app, if we don't it just doesn't catch that Exception and the error is just caught be a general catch-all. *The error log for is below:* org.apache.catalina.connector.ClientAbortException: null at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388) ~[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462) ~[tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366) ~[tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:413) ~[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:401) ~[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91) ~[tomcat-catalina-7.0.26.jar:7.0.26] at com.greenfiling.util.StreamUtil.streamCopy(StreamUtil.java:23) ~[StreamUtil.class:na] at com.greenfiling.servlet.FileDownload.doGet(FileDownload.java:80) ~[FileDownload.class:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [tomcat-servlet-api-3.0.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [tomcat-servlet-api-3.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) [tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) [tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) [tomcat-coyote-7.0.26.jar:7.0.26] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_24] at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24] Caused by: java.net.SocketException: Connection reset at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.6.0_24] at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.6.0_24] at org.apache.coyote.ajp.AjpProcessor.output(AjpProcessor.java:295) [tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.coyote.ajp.AbstractAjpProcessor$SocketOutputBuffer.doWrite(AbstractAjpProcessor.java:1082) ~[tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.coyote.Response.doWrite(Response.java:533) ~[tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:383) ~[tomcat-catalina-7.0.26.jar:7.0.26] ... 25 common frames omitted -- 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
Facebook login button
Hi, I've never worked with the facebook and I need help. I have a website (GWT) and I wanted to connect it with facebook to get some information about the user. For example, put a login button on the home page of my site. Does anyone know how I can do this? Anyone have one example? Thank you -- 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.