JavaDoc typo
Hi all, In the JavaDoc sentence of JsonObject.getObject [1] , there are two consecutive commas. Appreciate removing one of them. Thanks, Ahmed [1] https://gwt.googlesource.com/gwt/+/master/elemental/src/elemental/json/JsonObject.java -- 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.
SplitLayoutPanel.animate()
Hi all, I am trying to have an animated effect that simulates 'maximization' with SplitLayoutPanel, in which clicking on the 'north' widget will maximizes it at the expense of 'center' and 'south' .animate() works only for the first time of showing the widgets, but is ignored afterwords. Even overriding animate(int, AnimationCallback) with a hardcoded value does not have an effect. Can .animate() be used for that scenario? Thanks a lot for your help. public void onModuleLoad() { final SplitLayoutPanel panel = new SplitLayoutPanel() { @Override public void animate(int duration, AnimationCallback callback) { super.animate(5000, callback); } }; final HTML center = new HTML("Center"); final HTML south = new HTML("South"); final Button button = new Button("Hello"); button.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { panel.remove(south); panel.remove(center); panel.remove(button); panel.add(button); panel.animate(5000); } }); panel.addNorth(button, 50); panel.addSouth(south, 50); panel.add(center); RootLayoutPanel.get().add(panel); } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: DockLayoutPanel: UIBinder and Style.Unit
Hi all, On Feb 15, 2:38 pm, Thomas Broyer wrote: > > - First, why Style.Unit [1] is not documenting the values? > Why do you want the values? > (and you're given the source, use it!) > (btw, they're all the lowercase version of the enum's value name, > except for PCT which is "%") Thanks for hinting. RootLayoutPanel is the reason. I still believe there should be at least one line JavaDocs for each of Style.Unit enum value names, specially to explain the difference between PC/PCT/PT. Instead of assuming the proper usage of it, or digging into the code to see how they are internally used. Thanks, Ahmed -- 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.
DockLayoutPanel: UIBinder and Style.Unit
Hi all, - First, why Style.Unit [1] is not documenting the values? - How to make DockLayoutPanel fully occupies the screen (100% width, 100% height), I tried to use the far below example. - No matter what unit value is, I always get which is '100px', not '100%' - Even removing widht and height, and setting doesnot have an effect. - .pretty { background-color: red } My Div - public void onModuleLoad() { RootPanel.get().add(new MainPanel()); } - public class MainPanel extends Composite { interface Binder extends UiBinder { } private static final Binder binder = GWT.create(Binder.class); public MainPanel() { initWidget(binder.createAndBindUi(this)); } } - [1] http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/dom/client/Style.Unit.html -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[ANNOUNCE] HtmlUnit 2.6, a headless java browser, released
A new release of the Open Source java GUI-Less browser is available, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower-level requests of TCP/IP or HTTP, but just getPage(url), find a hyperlink, click() and you have all the HTML, JavaScript, and Ajax are automatically processed. The most common use of HtmlUnit is test automation of web pages (even with complex JavaScript libraries, like GWT and jQuery), but it can also be used for web scraping, or downloading website content. The main enhancements of this release: - Use cache for all kinds of (cacheable) content - Fix many issues with (de)serialization - Add a mechanism to save complete page along with images - Add support for Proxy Auto-Config - Better support for XHTML pages - And as usual, various bug fixes You can find more information in http://htmlunit.sourceforge.net/, the development team is looking forward to getting your feedback. --~--~-~--~~~---~--~~ 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: Module Inheritance in 1.7
Please ignore this quesiton, I seem to be drowsy. the XML is found in /src/package/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Module Inheritance in 1.7
Dear all, I wonder where is the .gwt.xml in 1.7, because I can only see 'build.xml'. What is needed is to inherit XML module, and on referencing any "com.google.gwt.xml.client.*" an error occurs "No source code is available for type com.google.gwt.xml.client.Document; did you forget to inherit a required module?" Can some please help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-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 -~--~~~~--~~--~--~---
HtmlUnit 2.5, a headless java browser, released
A new release of the Open Source java GUI-Less browser is available, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower-level requests of TCP/IP or HTTP, but just getPage(url), find a hyperlink, click() and you have all the HTML, JavaScript, and Ajax are automatically processed. The most common use of HtmlUnit is test automation of web pages (even with complex JavaScript libraries, like Google Web Toolkit and jQuery), but sometimes it can be used for web scraping, or downloading website content. The main enhancements of this release: - Improved JavaScript support, particularly full support for MooTools, adding to already supported Google Web Toolkit 1.5/1.6, jQuery, Mochikit and Sarissa - Repackaged Rhino classes to allow the use of HtmlUnit and a regular Rhino version in the same project - Support all HTML elements - Experimental WebClient.waitForBackgroundJavaScript() and WebClient.waitForBackgroundJavaScriptStartingBefore() for simple, fast and deterministic AJAX testing - Reworked handling of background JavaScript tasks using Java 5 executors - And as usual, various bug fixes You can find more information in the official website (http:// htmlunit.sourceforge.net/), the development team is looking forward to getting your feedback. --~--~-~--~~~---~--~~ 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: ANNOUNCE: HtmlUnit 2.4 released
Dear Rakesh, You can intercept all requests/responses, by subclassing HttpWebConnection. You can change parameters before they go, and change the response after it comes. Yours, Ahmed --~--~-~--~~~---~--~~ 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: ANNOUNCE: HtmlUnit 2.4 released
Dear Rakesh, > I was wondering if there is a way to use HTMLUnit for Load testing a > gwt application? Any GWT and HTMLUnit articles will help... Testing any web application is fairly straight forward, no special thing to do for Ajax/JavaScript. You can see actual GWT 1.5.3 cases in http://htmlunit.svn.sourceforge.net/viewvc/htmlunit/trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/GWT15Test.java?view=markup Please have a look into: http://htmlunit.sourceforge.net/gettingStarted.html http://htmlunit.sourceforge.net/javascript-howto.html Also, user list is helpful if you couldn't easily find your answer. Hope that helps, Ahmed --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
ANNOUNCE: HtmlUnit 2.4 released
Happy New Year everyone! The team is very pleased to announce the new release of the GUI-Less java browser, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower- level requests of TCP/IP or HTTP, but just getPage(url), find a hyperlink, click() and you have all the HTML, JavaScript, and Ajax are automatically processed. The main enhancements in this release: - Improved JavaScript support, now all jQuery and Mochikit tests pass, adding to already supported GWT and Sarissa - Native ActiveX support - Initial applet handling - Internet Explorer conditional comments - As usual, various bug fixes, three were reported by GWT users You can find more information in the official website (http:// htmlunit.sourceforge.net/), the development team is looking forward to getting your feedback. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
ANNOUNCE: HtmlUnit 2.3 now supports GWT 1.5
Dear all, It is a pleasure to announce that HtmlUnit 2.3 is released, and GWT support is one of its main points. The other additions: - Better generics: which eliminates casting for the most commonly used 'get' methods. - Add Firefox 3 support, and making Internet Explorer 7 the default browser. - Various bug fixes, the change log resides in http://htmlunit.sourceforge.net/changes-report.html#a2.3 Awaiting your feedback on your live GWT projects. Yours, Ahmed --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---