Re: Tree and TreeItem in standards mode
Thanks. The scrolling is breaking but I no longer think the Tree/TreeItem objects are causing it. I found a VerticalPanel upstream from it that I am pretty sure is the cause. Thanks again. Happy new year! On Wednesday, January 3, 2018 at 3:31:45 PM UTC-5, Colin Alworth wrote: > > As far as I can tell, Tree/TreeItem work just fine in standards mode - > what makes you think that they don't? > http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwTree > shows it being used in standards mode. > > In contrast, consider com.google.gwt.user.client.ui.TabPanel, which has > Javadoc indicating that it only works in quirks mode, and that > TabLayoutPanel should be used instead when in standards mode. > > On Tuesday, January 2, 2018 at 1:23:25 PM UTC-6, Harry Wagner wrote: >> >> I am converting an old GWT app to standards mode and have not found a >> good substitute for either Tree or TreeItem. Does anyone know of one? TIA! >> >> Harry >> > -- 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.
Tree and TreeItem in standards mode
I am converting an old GWT app to standards mode and have not found a good substitute for either Tree or TreeItem. Does anyone know of one? TIA! Harry -- 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.
How to disable F12 in super-dev mode
How can I get GWT to ignore F12 when running super-dev mode? My app uses the F12 key. Unfortunately pressing F12 toggles the web inspector. That event (F12) is not passed to the app. Anyone know how to do this? TIA. Harry -- 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.
Re: Does FlexTable break SplitLayoutPanel?
The short answer is "no". My error was unrelated to the FlexTable. On Wednesday, June 28, 2017 at 1:40:54 PM UTC-4, Harry Wagner wrote: > > I have an app written back in the 1.x days that I am trying to migrate to > 2.8 and standards mode. It uses SplitLayoutPanel. Following initialization > a dialog box is displayed that includes a FlexTable. That seems to break > the SplitLayoutPanel. The splitter stops working at that point. No error > msgs I have been able to find. Should this work or do I need to substitute > something else for the FlexTable? TIA. > > Harry > -- 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.
Re: Debugging question
Found it. The module with the onModuleLoad() method implements ResizeHandler and NativePreviewHandler. The doEventPreview() method was trying to set the splitter position programmatically. I pulled that code since the "resizable" panels I am using now manages resize events. Seems to work now. Many thanks for the help! On Thursday, June 29, 2017 at 8:04:44 AM UTC-4, Stevko wrote: > > name_0_g$ has the signature of an object member variable. Sounds like you > have an initialization problem with one of your classes. > > > > On Jun 29, 2017 7:55 AM, "Harry Wagner" wrote: > > Some progress. The unresponsiveness is due to a breakpoint being taken due > to an umbrella exception. I found this on the debugger tab of Safari's > developer tools. > > Exception with thrown value: Error: > com.google.web.bindery.event.shared.UmbrellaException: Exception caught: > (TypeError) : undefined is not an object (evaluating 'name_0_g$') > > I've no idea what is causing the exception and am still looking for a > stack trace. > > > On Thursday, June 29, 2017 at 7:46:12 AM UTC-4, Thomas Broyer wrote: >> >> >> >> On Thursday, June 29, 2017 at 1:41:08 PM UTC+2, Harry Wagner wrote: >>> >>> I mean that the SplitLayoutPanel's splitter no longer works, nor the >>> page's HTML links. It works if I comment-out the code that displays the >>> dialog box. >>> >> >> It might be that there's a transparent element that covers >> them/everything and "eats" the mouse events. You'd have to chase where it >> comes from and why it doesn't go away (hopefully the div's attributes –e.g. >> class=""– will hint in the right direction). >> > -- > 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-we...@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.
Re: Debugging question
Some progress. The unresponsiveness is due to a breakpoint being taken due to an umbrella exception. I found this on the debugger tab of Safari's developer tools. Exception with thrown value: Error: com.google.web.bindery.event.shared.UmbrellaException: Exception caught: (TypeError) : undefined is not an object (evaluating 'name_0_g$') I've no idea what is causing the exception and am still looking for a stack trace. On Thursday, June 29, 2017 at 7:46:12 AM UTC-4, Thomas Broyer wrote: > > > > On Thursday, June 29, 2017 at 1:41:08 PM UTC+2, Harry Wagner wrote: >> >> I mean that the SplitLayoutPanel's splitter no longer works, nor the >> page's HTML links. It works if I comment-out the code that displays the >> dialog box. >> > > It might be that there's a transparent element that covers them/everything > and "eats" the mouse events. You'd have to chase where it comes from and > why it doesn't go away (hopefully the div's attributes –e.g. class=""– will > hint in the right direction). > -- 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.
Re: Debugging question
I mean that the SplitLayoutPanel's splitter no longer works, nor the page's HTML links. It works if I comment-out the code that displays the dialog box. I am using both the Safari and Chrome developer tools.I am new to GWT and would not be surprised to learn I am doing something silly. Thanks for your help! On Wednesday, June 28, 2017 at 3:33:59 PM UTC-4, Thomas Broyer wrote: > > What do you mean by unresponsive? Have you looked at the browser's > developer tools? -- 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.
Debugging question
I am migrating an old 1.x app to 2.8 and standards mode. After initialization the app displays a dialog box for authentication. After accepting the user input (and successfully authenticating) the app becomes completely unresponsive. I cannot find an error msg or other hint as to why. I am working in command-line mode and using SDM. Other than the command-line console and the SDM console is there anywhere else I might find a clue as to what had gone wrong? TIA. Harry -- 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.
Does FlexTable break SplitLayoutPanel?
I have an app written back in the 1.x days that I am trying to migrate to 2.8 and standards mode. It uses SplitLayoutPanel. Following initialization a dialog box is displayed that includes a FlexTable. That seems to break the SplitLayoutPanel. The splitter stops working at that point. No error msgs I have been able to find. Should this work or do I need to substitute something else for the FlexTable? TIA. Harry -- 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.
Debugging with developer tools
Is there a way to tie an umbrella exception back to a specific LOC using either Chrome or Safari developer tools? Uncaught Error: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'xe' of null -- 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.
Re: Splitter not showing in SplitLayoutPanel
Thank you! That helps :) On Thursday, May 25, 2017 at 10:11:01 AM UTC-4, Thomas Broyer wrote: > > "Layout panels" (RequiresResize) need to be sized "from the outside" (they > don't have an "intrinsic size" depending on their content), and this means > you either need to give them an explicit, absolute size (i.e. no > percentages or other relative units) or have an uninterruptible chain of > parent layout panels (RequiresResize/ProvidesResize, or IIRC possibly > HeaderPanel's content widget) up until one has and an explicit, absolute > size, or can give one to its content (RootLayoutPanel or ResizeLayoutPanel) > > Your FlowPanels and Composites break that chain. Maybe try using > LayoutPanel/DockLayoutPanel instead (and ResizeComposite). > > But understand that this is a fundamental shift in how the UI is built and > behaves (e.g. no scrolling, unless you use ScrollPanels; and no "intrinsic > sizing"). Layout panels are much more "app-y" than "webby". > > On Thursday, May 25, 2017 at 3:27:33 PM UTC+2, Harry Wagner wrote: >> >> I have inherited a GWT application that was written back in GWT's 1.x >> days. It has since been migrated to 2.4 but will only run in quirks mode. I >> am tasked with migrating it to 2.8 and making it run in standards mode. It >> is a challenge for me. I have years of Java experience but no GWT >> experience. The app relies heavily on HorizontalPanel and VerticalPanel >> which I am changing to FlowPanel. The app also uses VerticalSplitPanel >> which I am trying to replace with SplitLayoutPanel but can't get the >> splitters to show, even when this LOC "Window.alert("SplitterSize: " + >> rightPanel.getSplitterSize());" indicates 10px, which is what I am >> expecting. I have struggled with this and am wondering if I might be trying >> to do something not in SplitLayoutPanel's nature? Here is what my panel >> layout looks like (I am not using UIBinder). Hopefully downstream >> formatting won't make a mess of the layout. >> >> Should this work, or am I doing something with SplitLayoutPanel that it >> was not designed for? TIA! >> >> Harry >> >> Root Panel (RootLayoutPanel) >> RootWidget (extends FlowPanel) >> Top Panel (FlowPanel) >> hpPanel (FlowPanel) >>cmdPanel (Composite) >>vpPanel(FlowPanel) >> rpPanel (SplitLayoutPanel) >> listPanel (extends FlexTable) >> detailPanel (extends Composite) >> iconPanel (extends FlowPanel) >> >> >> -- >> top panel | >> --| >> cmdPanel |.listPanel.| >> || >> || >> |- splitter here | >> || >> >> | detailPanel.| >> || >> |- splitter here | >> || >> | iconPanel. | >> || >> -- >> --- >> > -- 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.
Splitter not showing in SplitLayoutPanel
I have inherited a GWT application that was written back in GWT's 1.x days. It has since been migrated to 2.4 but will only run in quirks mode. I am tasked with migrating it to 2.8 and making it run in standards mode. It is a challenge for me. I have years of Java experience but no GWT experience. The app relies heavily on HorizontalPanel and VerticalPanel which I am changing to FlowPanel. The app also uses VerticalSplitPanel which I am trying to replace with SplitLayoutPanel but can't get the splitters to show, even when this LOC "Window.alert("SplitterSize: " + rightPanel.getSplitterSize());" indicates 10px, which is what I am expecting. I have struggled with this and am wondering if I might be trying to do something not in SplitLayoutPanel's nature? Here is what my panel layout looks like (I am not using UIBinder). Hopefully downstream formatting won't make a mess of the layout. Should this work, or am I doing something with SplitLayoutPanel that it was not designed for? TIA! Harry Root Panel (RootLayoutPanel) RootWidget (extends FlowPanel) Top Panel (FlowPanel) hpPanel (FlowPanel) cmdPanel (Composite) vpPanel(FlowPanel) rpPanel (SplitLayoutPanel) listPanel (extends FlexTable) detailPanel (extends Composite) iconPanel (extends FlowPanel) -- top panel | --| cmdPanel |.listPanel.| || || |- splitter here | || | detailPanel.| || |- splitter here | || | iconPanel. | || -- --- -- 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.
How to compile to standards mode?
I've inherited support for a GWT application that was built with 2.4. It only runs in quirks mode. I would like to update it to run in standards mode (using 2.8) but am having trouble determining what exactly needs changed to make this happen. The release notes help, but it would be MUCH easier if the GWT compiler could be passed a parameter that would make it flag deprecated classes and their methods that will cause it to run in quarks mode. I have not been able to find one, and the GWT compiler does not complain when I compile the project using the 2.8 jars. Does anyone here know of such a parameter, or another approach to getting the code from running in quirks mode to running in standard mode? Thanks! Harry -- 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.
Read content from given url
Hi, I have some folders and files in google drive/some remote location and i want to read those files/folder names. In there any way that i can read those name from client (developed using GWT). I don't want to get those details from server side. At least is there any way to get those names in the form of html? Kindly help me on this. Thanks in advance. -- 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.
App in iframe does top navigation
Is there a way to avoid top navigation for a GWT app in an iframe? I am putting my app into someone else's page, and they are putting it in an iframe. The app takes over the entire window instead of limiting itself to the iframe. If I turn off ALLOW_TOP_NAVIGATION, the app will not run at all. The iframe is just empty. This behavior is counter to all documentation that I have found. Can anyone shed some light on this? Is there a simple way to tell GWT not to use top navigation and to stay inside of the iframe? Thanks. -- 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: Running Hupa in Development Mode
Thanks!! I can compile with : mvn clean package -DskipTests But got errors when launching log : D:\Harry.Lin\java\workspace\james-hupa-trunkmvn -am -pl hupa gwt:run [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] Apache James Hupa Parent [INFO] Apache James Hupa Shared [INFO] Apache James Hupa Mock [INFO] Apache James Hupa Server [INFO] Apache James Hupa Widgets [INFO] Apache James Hupa Client [INFO] Apache James Hupa [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-map ping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its depende ncies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:j ar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local reposito ry, resolution will not be reattempted until the update interval of central has elapsed or updates are forced [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea ded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] [INFO] Building Apache James Hupa Parent 0.0.5-SNAPSHOT [INFO] [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-map ping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its depende ncies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:j ar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local reposito ry, resolution will not be reattempted until the update interval of central has elapsed or updates are forced [INFO] [INFO] gwt-maven-plugin:2.5.1:run (default-cli) @ hupa-parent [INFO] [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ hupa-parent - -- [INFO] [INFO] gwt-maven-plugin:2.5.1:run (default-cli) @ hupa-parent [INFO] [INFO] --- gwt-maven-plugin:2.5.1:run (default-cli) @ hupa-parent --- [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache James Hupa Parent .. FAILURE [ 1.589 s] [INFO] Apache James Hupa Shared .. SKIPPED [INFO] Apache James Hupa Mock SKIPPED [INFO] Apache James Hupa Server .. SKIPPED [INFO] Apache James Hupa Widgets . SKIPPED [INFO] Apache James Hupa Client .. SKIPPED [INFO] Apache James Hupa . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.771 s [INFO] Finished at: 2014-03-04T15:58:35+08:00 [INFO] Final Memory: 26M/309M [INFO] [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:run (def ault-cli) on project hupa-parent: The parameters 'runTarget' for goal org.codeha us.mojo:gwt-maven-plugin:2.5.1:run are missing or invalid - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginParamete rException D:\Harry.Lin\java\workspace\james-hupa-trunk -- 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/groups/opt_out.
Re: Running Hupa in Development Mode
I'm working on the trunk :) By the way, I got a error with the the version i used and this trunk. In Hupa.gwt.xml file With module rename-to='hupa' tag it says : The content of element type module must match (inherits|source|public|super-source|entry-point| stylesheet|script|servlet|replace-with|generate-with|define-property|extend-property|set-property|set- configuration-property|property-provider|define-linker|add-linker)*. How can i solve it ? 2014-02-21 6:25 GMT+08:00 Manuel Carrasco Moñino man...@apache.org: I have compiled that version without problem. Anyway we are developing a new version of hupa which a lot of changes, try to check out last stuff from github and compile it https://github.com/manolo/james-hupa - Manolo On Wed, Feb 19, 2014 at 5:15 AM, Harry Lin linch0...@gmail.com wrote: Hi Manuel, I download Hupa from http://james.apache.org/hupa/ , The version is 0.0.2. Manuel Carrasco於 2014年2月17日星期一UTC+8上午3時58分55秒寫道: Which version have you checked out? On Thu, Feb 13, 2014 at 11:43 AM, Harry Lin linc...@gmail.com wrote: In my attempt to run hupa in Development mode I receive the following error. The application was stuck in loading, although it can get into the Mail page (I can see the number of mails in INBOX and Trash...But the loading message showing in the middle) Could anyone provide some direction as to what may be going on here? log start here Loading modules org.apache.hupa.HupaProd Validating servlet tags for module 'hupa' [WARN] Module declares a servlet class 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml has no corresponding declaration; please add the following lines to your web.xml: servlet servlet-nameremoteLoggingService/servlet-name servlet-classcom.google.gwt.gen2.logging.server. RemoteLoggingService/servlet-class /servlet servlet-mapping servlet-nameremoteLoggingService/servlet-name url-pattern/hupa/logging/url-pattern /servlet-mapping org.apache.hupa.Hupa Validating servlet tags for module 'hupa' [WARN] Module declares a servlet class 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml has no corresponding declaration; please add the following lines to your web.xml: servlet servlet-nameremoteLoggingService/servlet-name servlet-classcom.google.gwt.gen2.logging.server. RemoteLoggingService/servlet-class /servlet servlet-mapping servlet-nameremoteLoggingService/servlet-name url-pattern/hupa/logging/url-pattern /servlet-mapping [WARN] Server class 'org.apache.hupa.server.mock.MockConstants' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/D:/Harry.Lin/java/ workspace/hupa-parent-0.0.2/mock/target/classes/' to the web app classpath for this session 0[main] INFO HupaLogger - Started HUPA with configuration - {IMAPS=true, SMTPAuth=true, IMAPServerPort=993, IMAPServerAddress= imap.gmail.com, TrustStore=, SMTPServerPort=465, DefaultTrashFolder=[Gmail]/Trash, SMTPServerAddress=smtp.gmail.com, DefaultInboxFolder=INBOX, SMTPS=true, DefaultDraftsFolder=[Gmail]/Drafts, PostFetchMessageCount=0, DefaultSentFolder=[Gmail]/Sent, IMAPConnectionPoolSize=4, IMAPConnectionPoolTimeout=30, TrustStorePassword=, SessionDebug=true} 60 [main] INFO gwtupload.server.UploadServlet - UPLOAD-SERVLET init: maxSize=10485760, slowUploads=null, isAppEngine=false 61 [main] INFO gwtupload.server.UploadServlet - UPLOAD-ACTION init: removeSessionFiles=false, removeData=false [WARN] Server class 'junit.framework.AssertionFailedError' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/C:/Users/kirin/.m2/ repository/junit/junit/4.9/junit-4.9.jar' to the web app classpath for this session 111461 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: executing: CheckSession 111475 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: finished: CheckSession 133238 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: executing: LoginUser 136221 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: finished: LoginUser java.lang.RuntimeException at org.apache.hupa.client.CachingDispatchAsync. executeOneRequestPerAction(CachingDispatchAsync.java:87) at org.apache.hupa.client.CachingDispatchAsync.execute( CachingDispatchAsync.java:67) at org.apache.hupa.client.mvp.MessageTableModel.requestRows( MessageTableModel.java:120) at com.google.gwt.gen2.table.client.CachedTableModel. requestRows(CachedTableModel.java:321) at com.google.gwt.gen2.table.client.PagingScrollTable. gotoPage(PagingScrollTable.java:732) at org.apache.hupa.client.mvp.IMAPMessageListView.reset( IMAPMessageListView.java:477) at org.apache.hupa.client.mvp.IMAPMessageListPresenter. revealDisplay(IMAPMessageListPresenter.java:421
Re: Running Hupa in Development Mode
Hi Manuel, I download Hupa from http://james.apache.org/hupa/ , The version is 0.0.2. Manuel Carrasco於 2014年2月17日星期一UTC+8上午3時58分55秒寫道: Which version have you checked out? On Thu, Feb 13, 2014 at 11:43 AM, Harry Lin linc...@gmail.comjavascript: wrote: In my attempt to run hupa in Development mode I receive the following error. The application was stuck in loading, although it can get into the Mail page (I can see the number of mails in INBOX and Trash...But the loading message showing in the middle) Could anyone provide some direction as to what may be going on here? log start here Loading modules org.apache.hupa.HupaProd Validating servlet tags for module 'hupa' [WARN] Module declares a servlet class 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml has no corresponding declaration; please add the following lines to your web.xml: servlet servlet-nameremoteLoggingService/servlet-name servlet-classcom.google.gwt.gen2.logging.server.RemoteLoggingService/servlet-class /servlet servlet-mapping servlet-nameremoteLoggingService/servlet-name url-pattern/hupa/logging/url-pattern /servlet-mapping org.apache.hupa.Hupa Validating servlet tags for module 'hupa' [WARN] Module declares a servlet class 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml has no corresponding declaration; please add the following lines to your web.xml: servlet servlet-nameremoteLoggingService/servlet-name servlet-classcom.google.gwt.gen2.logging.server.RemoteLoggingService/servlet-class /servlet servlet-mapping servlet-nameremoteLoggingService/servlet-name url-pattern/hupa/logging/url-pattern /servlet-mapping [WARN] Server class 'org.apache.hupa.server.mock.MockConstants' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/D:/Harry.Lin/java/workspace/hupa-parent-0.0.2/mock/target/classes/' to the web app classpath for this session 0[main] INFO HupaLogger - Started HUPA with configuration - {IMAPS=true, SMTPAuth=true, IMAPServerPort=993, IMAPServerAddress= imap.gmail.com, TrustStore=, SMTPServerPort=465, DefaultTrashFolder=[Gmail]/Trash, SMTPServerAddress=smtp.gmail.com, DefaultInboxFolder=INBOX, SMTPS=true, DefaultDraftsFolder=[Gmail]/Drafts, PostFetchMessageCount=0, DefaultSentFolder=[Gmail]/Sent, IMAPConnectionPoolSize=4, IMAPConnectionPoolTimeout=30, TrustStorePassword=, SessionDebug=true} 60 [main] INFO gwtupload.server.UploadServlet - UPLOAD-SERVLET init: maxSize=10485760, slowUploads=null, isAppEngine=false 61 [main] INFO gwtupload.server.UploadServlet - UPLOAD-ACTION init: removeSessionFiles=false, removeData=false [WARN] Server class 'junit.framework.AssertionFailedError' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/C:/Users/kirin/.m2/repository/junit/junit/4.9/junit-4.9.jar' to the web app classpath for this session 111461 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: executing: CheckSession 111475 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: finished: CheckSession 133238 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: executing: LoginUser 136221 [btpool0-3] INFO HupaLogger - HupaDispatchServlet: finished: LoginUser java.lang.RuntimeException at org.apache.hupa.client.CachingDispatchAsync.executeOneRequestPerAction(CachingDispatchAsync.java:87) at org.apache.hupa.client.CachingDispatchAsync.execute(CachingDispatchAsync.java:67) at org.apache.hupa.client.mvp.MessageTableModel.requestRows(MessageTableModel.java:120) at com.google.gwt.gen2.table.client.CachedTableModel.requestRows(CachedTableModel.java:321) at com.google.gwt.gen2.table.client.PagingScrollTable.gotoPage(PagingScrollTable.java:732) at org.apache.hupa.client.mvp.IMAPMessageListView.reset(IMAPMessageListView.java:477) at org.apache.hupa.client.mvp.IMAPMessageListPresenter.revealDisplay(IMAPMessageListPresenter.java:421) at org.apache.hupa.client.mvp.MainPresenter.showMessageTable(MainPresenter.java:233) at org.apache.hupa.client.mvp.MainPresenter.access$5(MainPresenter.java:227) at org.apache.hupa.client.mvp.MainPresenter$23.onLogin(MainPresenter.java:484) at org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:46) at org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:1) at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1) at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40) at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193) at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88) at com.google.gwt.event.shared.HandlerManager.fireEvent
Re: Paypal Integration / JNSI
I'm using gwtp and smartgwt UI components. Can anyone help me with some code to link the submit button to the paypal script? How do I get the id of the submit button? private ButtonItem btnPay = new ButtonItem(Pay); I plan to create a button such as the above which will, on click, use the action handler on the server to create the payment. Then hopefully call the JSNI below to open an iFrame / mini window and initiate the user's approval flow private native void paypalLight() /*-{ var dgFlow = new $wnd.PAYPAL.apps.DGFlow({ trigger : 'btnPay' }); }-*/; My question is: How do I link the btnPay button's dom id to the trigger in JSNI code? TIA On Tuesday, 29 May 2012 06:13:46 UTC+10, Sydney wrote: When the user cancels or finishes the purchase, Paypal redirects the user to a page within the iframe or popup window. My cancel URL looks like this http://127.0.0.1:/xxx.html?gwt.codesvr=127.0.0.1:9997#!homePage;cancel=true. I am using GWTP so the following code should give you an idea on how it works: @Override public void prepareFromRequest(PlaceRequest placeRequest) { super.prepareFromRequest(placeRequest); String cancel = placeRequest.getParameter(cancel, ); if (true.equals(cancel)) { paypalClose(); } } public static native void paypalClose() /*-{ if (top top.opener top.opener.top) { top.opener.top.dgFlow.closeFlow(); top.close(); } else if (top) { top.dgFlow.closeFlow(); top.close(); } }-*/; top.close() will close the paypal flow (iframe or popup window). On Monday, May 28, 2012 5:06:23 PM UTC+2, Mayumi wrote: Thank you so much for the reply! So you're calling JSNI above from the return/cancel page correct? If so are you doing something like window.parent. paypalClose() from inside the IFRAME that paypal insert the return/cancel pages from? Thanks! On Monday, 28 May 2012 03:42:58 UTC-5, Sydney wrote: public static native void paypalClose() /*-{ if (top top.opener top.opener.top) { top.opener.top.dgFlow.closeFlow(); top.close(); } else if (top) { top.dgFlow.closeFlow(); top.close(); } }-*/; On Sunday, May 27, 2012 8:21:25 PM UTC+2, Mayumi wrote: How did you end up fixing this? On Saturday, 12 May 2012 08:41:58 UTC-5, Sydney wrote: I use the Paypal Adaptive API. So far I managed to display the paypal page using a lightbox. But I have a problem when trying to close the lightbox. I failed in Step 4 *3. Include the PayPal JavaScript functions from dg.js.* * * *script src=https://www.paypalobjects.com/js/external/dg.js;* */script* * * *4. Create an embedded flow object and associate it with your payment form or button.* * * *script* *var dgFlow = new PAYPAL.apps.DGFlow({ trigger: 'submitBtn' });* */script* * * *After Completing This Task: * * * *On the pages you identify as the return and cancel URLs in the Pay API operation, you must* *include the PayPal JavaScript functions from dg.js and close the PayPal window, as in the* *following example:* * * *dgFlow = top.dgFlow || top.opener.top.dgFlow;* *dgFlow.closeFlow();* *top.close();* *What I did:* For step 4, I call the following JNSI method: private native void paypalLight() /*-{ var dgFlow = new $wnd.PAYPAL.apps.DGFlow({ trigger : 'submitBtn' }); }-*/; The paypal page is displayed in the lightbox, than I click the cancel button. My cancelURL is http://127.0.0.1:/xxx.html?gwt.codesvr=127.0.0.1:9997#!homePage;cancel=trueand in this page I process the cancel parameter by calling the following JNSI: public static native void paypalClose() /*-{ dgFlow = $wnd.top.dgFlow || $wnd.top.opener.top.dgFlow; dgFlow.closeFlow(); $wnd.top.close(); }-*/; When I cancel the transaction, the cancelUrl gets called, and the paypalClose method is called. I get the error: (TypeError): $wnd.top.opener is null. Any ideas? Thanks -- 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/groups/opt_out.
Re: GWT by hand (no xml configuration, no ant, no running gwt-dev.jar)
Jens, thanks for your reply. For 1) I already have jetty and I've added the my servlet to Jetty's context. For 2+3) I'm sure I'll need gwt-dev and user in my class path. But I'd like to do something that has a little more finesse than invoking the main on their class. I'd really like to instantiate the classes I need (or better yet, there is some factory I can instantiate in their jar). But even if I call main, I'm pretty sure I need to have some XML config file. I just don't want to have an XML configuration, when I could tell GWT about it programatically. On Feb 22, 10:25 am, Jens jens.nehlme...@gmail.com wrote: 1) Just use any sort of embedded web server like jetty and let it serve the war folder of your GWT project. 2 + 3.) You will definitely need gwt-dev.jar gwt-user.jar in your classpath and then you can use: - com.google.gwt.dev.DevMode to run GWT's DevMode - com.google.gwt.dev.Compiler to compile your Java files to JavaScript. Both classes have a main() method so you can directly execute them from command line as long as your classpath is correct and you provide the needed parameters. -- J. -- 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 by hand (no xml configuration, no ant, no running gwt-dev.jar)
I'm interested in using GWT, but not with any of the utility programs (except the compiler) it comes with, nor an XML configuration. That is, 1) I'd like to have a 'public static void main(String[] args)' method in a class which sets up a web server, configures the servlet etc. 2) I want to be able to run Development Mode by having my main method called, and calling into whatever classes I need to to get it going. I don't want to use gwt-dev.jar or any eclipse start magic. (And of course, I don't want any method I'm calling to take an xml file - and no lets not be smart and build one on the fly). 3) To run in Production Mode I'd like to call invoke the compiler directly (no ant) to generate whatever files I need. Then actually start my program and have it add any servlets it needs to Jetty's context (lets for the sake of the example assume we're using Jetty), and add handlers to serve the static content. Everything I've need seems to use ant or some gwt programs to create the directory structure or some eclipse magic project. I would like to do this all by hand, and therefore I need to know *what* to do, and I'd like to *know* this without having to having to look at the gwt source code to figure out what it does when it's main() is invoked. -- 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: Widget not displayed upon change of place
Juan Pablo Gardella gardellajuanpablo@... writes: Hi Harry Can you resolve the problem? If not, in onStop() or onCancel() you must unregistrer your handlers. Not about display regions. Try put your do the placeChangeEvent like this: Scheduler.get().scheduleDeferred(new ScheduledCommand() { at Override public void execute() { placeController.goTo(new MyPlace()); } }); Juan 2011/6/14 Harry X qxie...@hotmail.com I have a display region which will display diffrent widgets accpording place change event. The widgets are simple, haveing a couple of tables in a flowpanel and making a async call to get some data through RPC. When the place change events are fired by clicking on a navigation tree, sometimes the widgets are not displayed. However, A second click on the navi tree will trigger the widget to be displayed. I think this has something to do with the handling with onStop()/onCancel(), but not sure how to debug and change. Do you have any suggestion? Thanks. Harry -- 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- /jypxa39uh5tlh3mboc...@public.gmane.org. To unsubscribe from this group, send email to google-web-toolkit+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/google- web-toolkit?hl=en. Hi Juan, Thanks for the reply. Finally get around to try your suggestion. I moved all handler code and unregister handlers during cancel or stop, but it didn't work for me. I do place change in an activity like: clientFactory.getPlaceController().goTo(place); What's the significance of your way? Harry -- 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: Widget not displayed upon change of place
Harry qxie777@... writes: OK, I kind of understood deferred command now, but mine still not working. -- 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.
Widget not displayed upon change of place
I have a display region which will display diffrent widgets accpording place change event. The widgets are simple, haveing a couple of tables in a flowpanel and making a async call to get some data through RPC. When the place change events are fired by clicking on a navigation tree, sometimes the widgets are not displayed. However, A second click on the navi tree will trigger the widget to be displayed. I think this has something to do with the handling with onStop()/onCancel(), but not sure how to debug and change. Do you have any suggestion? Thanks. Harry -- 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: Eample for MVP+EventBus+Presenter+Activity
Deanna Bonds deanna.bonds@... writes: I was going through the same thing. I ended up going back and rewatching the Ray Ryan architecture videos from 2009 and 2010 again, but this time drawing down all the diagrams, but combining them all. Then after having a big block diagram of the gwt framework and going the javadoc for the classes it just clicked into place. What I had problems with in the original readings of the docs, was that the overall big picture was really understated and somewhat confused by all the optional things. And an intended way(s) to use it combined with spring roo would help. That may be another piece of the puzzle for you. This framework depends a bit on spring roo to generate all the boilerplate code. My way of using it has been to create a gwt project with the gpe. Then add spring roo to that project. Use Roo to create all the data enties, and request factories. At this point I'm guessing because here is where I am - let Roo add in the client side mvp and simple uibinder display areas into it's special generated folder/packagePath. Copy the display areas into my own and modify them the way I want and set up the places. Then add in backend logic. Thanks for sharing, Deanna. Just tried 2.4 eclipse plugin and it creates client side MVP parts for you, very convenient and good for me for now. Will check out Spring Roo. -- 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.
Eample for MVP+EventBus+Presenter+Activity
Hello, I am new to GWT and need some examples to help understand it. Reading though some posts and searching over internet, I think using MVP+EventBus+DI+Presenter+Activity is a sound approach. Can some one point to me a good example to further study? Thanks in advance. Harry -- 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: Eample for MVP+EventBus+Presenter+Activity
Juan Pablo Gardella gardellajuanpablo@... writes: You can see this sample https://bitbucket.org/gardellajuanpablo/gwt- sample/wiki/Home Juan2011/6/6 Harry X qxie...@hotmail.com Hello, I am new to GWT and need some examples to help understand it. Reading though some posts and searching over internet, I think using MVP+EventBus+DI+Presenter+Activity is a sound approach. Can some one point to me a good example to further study? Thanks in advance. Harry -- 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- /jypxa39uh5tlh3mboc...@public.gmane.org. To unsubscribe from this group, send email to google-web-toolkit+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/google- web-toolkit?hl=en. Thanks Juan. Will look into it, although I don's understand Spanish :-). Harry -- 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.
add click event on the panel
i have a panel in my application and a want that if any one click on that panel(in panel string is there) than instead of that panel textbox should be displayed so any one can edit that textbox. how can i do it pls any one can help than thanks in adv. -- 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.
add click event on the panel
i have a panel in my application and a want that if any one click on that panel(in panel string is there) than instead of that panel textbox should be displayed so any one can edit that textbox. how can i do it pls any one can help than thanks in adv. -- 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.
refresh page problem in gwt
i m developing a website for mobile but problem was:- 1st time all the content we get in our browser. but after refreshing the page all the content and data we get from database is not visible.event not a single content we can visible on the page. page is jst empty in website. -- 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.
how to add scroll bar in flowpanel ?
i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- 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.
how to add scroll bar in flowpanel ?
i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- 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: how to add scroll bar in flowpanel ?
hey thanks but i can't find anything from this will u please elaborate? i used scrollpanel in gwt it work nicely in desktop browser but it doesn't even apear in mobile browser. it display some of the content only but not appear scrollbar.. pls if u know than help On Feb 7, 9:40 pm, John LaBanca jlaba...@google.com wrote: Most mobile web browsers do not support inline scrolling, only page level scrolling. If you really need inline scrolling, you can take a look at the MobileScrollPanel we created for a demo a while back. It scrolls in response to TouchEvents.http://code.google.com/p/google-web-toolkit/source/browse/?#svn%2Ftru... Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 12:48 AM, harry hemangsha...@gmail.com wrote: i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- 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.
HTML5 DnD mouse events - Drop not fired, but others are
Hey All, I've been trying to implement support for HTML5 drag 'n' drop events in GWT 2.0.3. Thus far i've managed to override the default DOMImpl with a custom class that supports the events: i've overridden : public native int eventGetTypeInt(String eventType) to include... // other events case drop: return 0x10; case dragenter: return 0x20; case dragexit: return 0x40; case dragover: return 0x80; and: protected native void sinkEventsImpl(Element elem, int bits) { // other sinkers if (chMask 0x10) elem.ondrop = (bits 0x10) ? @com.google.gwt.user.client.impl.DOMImplStandard::dispatchEvent : null; if (chMask 0x20) elem.ondragenter = (bits 0x20) ? @com.google.gwt.user.client.impl.DOMImplStandard::dispatchEvent : null; if (chMask 0x40) elem.ondragexit = (bits 0x40) ? @com.google.gwt.user.client.impl.DOMImplStandard::dispatchEvent : null; if (chMask 0x80) elem.ondragover = (bits 0x80) ? @com.google.gwt.user.client.impl.DOMImplStandard::dispatchEvent : null; As well as making Events and their associated handlers for these events. My problem is that in the browser (FF 3.6), dravover, dragexit, dragenter work (the events are triggered at least), but **drop** does not. Has anybody had any luck achieving this, or care to share an existing implementation? Is there anything you notice immediately that i'm doing wrong? Harry -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Integrating GWT with an Existing Spring/Hibernate Web Application
Hi all, After a basic evaluation and successfully building a simple prototype with a GWT/Spring/Hibernate , I am considering integrating GWT with an existing Spring/Hibernate Web Application. The existing web application is a fairly large enterprise application that is built on top of a Spring/Hibernate stack. The motivation of integrating GWT to this web application is to provide a rich UI while at the same time leveraging on the functionalities that we already have within the existing application. I would like to hear experiences of those of you out there who has tried integrate GWT to an existing large Java web application. What were your experiences and whether there were any major issues? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Invitation to connect on LinkedIn
LinkedIn Harry Holt requested to add you as a connection on LinkedIn: -- anoop, I'd like to add you to my professional network on LinkedIn. - Harry Accept invitation from Harry Holt http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq_5bwL3KeK8pLeUQ4N5xBBedsR/blk/I1628110107_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYTc34Mcj4UczoNiiZ8sCJUjR9GoiYQc3ASc30Nc3ALrCBxbOYWrSlI/EML_comm_afe/ View invitation from Harry Holt http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq_5bwL3KeK8pLeUQ4N5xBBedsR/blk/I1628110107_2/39vdP0Nc34Ne38SckALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can be the first to know when a trusted member of your network changes jobs? With Network Updates on your LinkedIn home page, you'll be notified as members of your network change their current position. Be the first to know and reach out! http://www.linkedin.com/ -- (c) 2009, LinkedIn Corporation -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Copy to Clipboard
Hi, My project is that user is enabled to copy the content of a text box and paste it on another form using 'Copy' button. Please advice how to do it as GWT is not support copying to system clipboard. Please help its important. Thanks Harry --~--~-~--~~~---~--~~ 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: Does not work on Firefox
I too have the same problem, my GWT started working on FF but everything got cluttered. Please help me how to solve this. On Feb 27, 10:16 am, Mallesh mallesh.kand...@gmail.com wrote: still it doesn't work. On Feb 26, 4:22 am, Felipe Cypriano fmcypri...@gmail.com wrote: Maybe the compiler is set to just one browser, take a look at this:http://vinaytech.wordpress.com/2008/11/10/gwt-compiler-compiling-for-... Regards, --- Felipe Marin Cypriano Vitória - EShttp://www.linkedin.com/in/felipecypriano On Thu, Feb 26, 2009 at 12:52 AM, Mallesh mallesh.kand...@gmail.com wrote: Hi Tuvok, thanks for the reply. i complied the code and using the the link from www \com.MyProject.StockWatcher\ folder. the same link works fine on IE but not on FF/chrome. more over ,www\com.MyProject.StockWatcher\gwt\standard\images folder contains only one sub folder named ie6, there was no other folders(i am not sure weather it should crate a separate folders for FF or not). On Feb 24, 10:03 am, Tuvok davidfreg...@gmail.com wrote: Maybe you're just copying the url from the development shell instead of compiling? On Feb 24, 6:54 pm, Mallesh mallesh.kand...@gmail.com wrote: Hi all, i have been playing with the gwt sample(http://code.google.com/ docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit- doc-1-5t=GettingStartedBasics) provided on the web site. it works fine on IE6, surprising it does not work on FF 3.0.6 and chrome. am i doing something wrong ? or do i need to do anything extra to run the same app on other browsers any suggestion would be appreciated ~Mallesh --~--~-~--~~~---~--~~ 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 Checkbox styling not working on latest FireFox 3
I have similar issue, on FF Tree, CheckBox got cluttered, please tell me how did u solve. On Mar 10, 2:23 am, Ravi ravisan...@gmail.com wrote: Hi, After applying styling for GWT Checkbox, the Checkboxes are disabled (can't check) in web mode. It is working in hosted mode, IE 7 and Safari. import com.google.gwt.user.client.ui.CheckBox; CheckBox aCheckBox = new CheckBox(Testing); aCheckBox.addStyleName(keywordSearchPanel-CheckBox); .keywordSearchPanel-CheckBox { padding: 20px; color: #054768; font-family: Tahoma, Lucida Sans Unicode, Lucida Grande, Arial, Verdana, sans-serif; font-size: 11px; } Has anyone faced this issue before ? Any insight on how to ger around this problem is helpful. thanks Ravi --~--~-~--~~~---~--~~ 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 Checkbox styling not working on latest FireFox 3
I have similar issue, on FF Tree, CheckBox got cluttered, please tell me how did u solve. On Mar 10, 2:23 am, Ravi ravisan...@gmail.com wrote: Hi, After applying styling for GWT Checkbox, the Checkboxes are disabled (can't check) in web mode. It is working in hosted mode, IE 7 and Safari. import com.google.gwt.user.client.ui.CheckBox; CheckBox aCheckBox = new CheckBox(Testing); aCheckBox.addStyleName(keywordSearchPanel-CheckBox); .keywordSearchPanel-CheckBox { padding: 20px; color: #054768; font-family: Tahoma, Lucida Sans Unicode, Lucida Grande, Arial, Verdana, sans-serif; font-size: 11px; } Has anyone faced this issue before ? Any insight on how to ger around this problem is helpful. thanks Ravi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Help with DecoratedStackPanel
Hi, I need to piece of code with DecoratedStackPanel class instance. I wanted it to be used for stack panels and few widgets will be under that. For example: Name, Address are two Stack Panels, Name Text boxes with First name Text Boxes with last name Address Text boxes for Address 1 Text Boxes for Address 2, City, State, Pin . Should each Stack Panel have a 'public Widget onInitialize()' function cant we do with 'public void onModuleLoad()' function. Please Help, iam new to GWT. Thanks in advance. Harry. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Not able to see checkboxes
Hi, I am not able to see radio button, what should i do is there anything i should add. package com.myapplications.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.Command; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.MenuBar; import com.google.gwt.user.client.ui.RadioButton; import com.google.gwt.user.client.ui.RootPanel; @SuppressWarnings(unused) public class Notes implements EntryPoint{ public void onModuleLoad(){ RadioButton age18 = new RadioButton(age, 18-25); RadioButton age26 = new RadioButton(age, 26-30); RadioButton age31 = new RadioButton(age, 31-40); RadioButton other = new RadioButton(age, 40); } } Thanks, Harry.. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[ERROR] Unable to load module entry point class com.
Getting this error please help :( [ERROR] Unable to load module entry point class com.myapplications.client.Notes (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext.StatusBar' is null or not an object number: -2146823281 description: '$wnd.Ext.StatusBar' is null or not an object at com.gwtext.client.widgets.Component.checkExtVer(Native Method) at com.gwtext.client.widgets.Component.clinit(Component.java:108) at com.myapplications.client.Notes.onModuleLoad(Notes.java:22) --~--~-~--~~~---~--~~ 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: Google Chrome GWT
If you are on FaceBook, you will notice that there are a lot of links that do not work in Chrome. I haven't tried to dig into which ones or why, but there are quite a few of them. Note, for instance, the comment link next to a user's post. ... HH On Tue, Sep 2, 2008 at 8:07 PM, Ian Bambury [EMAIL PROTECTED] wrote: If it happens in Safari as well, then it's probably a general WebKit problem (Chrome (i.e.Chromium) and Safari are all WebKit-based). If it's a problem in Chrome and not in Safari then it's probably a V8 problem (the JS engine).. If it happens only in Chrome and it's not a CSS problem (try it out in a HelloWorld program) then if you post it here, I'll see if I can reproduce it. If it's just in Chrome, then you can report it, but GWT doesn't support Chrome :-) Ian 2008/9/3 Mehdi Rabah [EMAIL PROTECTED] I have some problems, Accordion panel and ListBox are not working (I don't know if it's because it's inside a maps InfoWindow) I'm not sure If I should open an issue, other experiencing problems ? On Wed, Sep 3, 2008 at 12:27 AM, Brian [EMAIL PROTECTED] wrote: The Google Chrome browser is out, and I'm running through my GWT app with it -- it's fast! No problems yet, looks great. Internet communications are not secure and therefore I do not accept legal responsibility for the contents of this message. Any views or opinions do not necessarily represent what I really think unless otherwise specifically stated and even then, I might still be lying. This message may contain confidential privileged information, but if it does, I've nicked it from someone else. If you have received this email in error then tough, hit delete, and don't bother me about it, I really don't care. Batteries not included. Contents may go up as well as down. Shares may vary in size. May cause drowsiness, if affected, go to bed. -- Harry Holt, PMP Always vote for principle, though you may vote alone, and you may cherish the sweetest reflection that your vote is never lost. -- John Quincy Adams --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---