ONLINE DOTNET TRAINING
HI, PLEASE FIND THE BELOW LINK FOR .NET ONLINE TRAINING AND PROJECT SUPPORT. http://onlinenettrainings.blogspot.com/ PLEASE FEEL FREE TO CONTACT FOR ANY QUERIES TO BELOW MAIL ID rudrajayku...@gmail.com THANK YOU AJAY KUMAR -- 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: What flavor of Eclipse should I download ?
I always pick the for Java developers flavor. Some will prefer the for Java EE developers one. Choose among those two. Note that these are only about which plugins are packaged with the core, you can still install other plugins later as needed. On Saturday, January 19, 2013 10:32:58 PM UTC+1, vmars316 wrote: Hello Thanks , win7 x64 : GoogleChrome Version 24.0.1312.52 m I have just downloaded the gwt-2.5.0.zip From here : These instructions assume that you have already installed some flavor of Eclipse. If you have not, Eclipse can be downloaded from http://www.eclipse.org/downloads/. So many to choose from . What flavor of Eclipse should I download ? Thanks...Vernon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/o17EaAC6b5QJ. 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: Canvas dynamical size?
Horray, ResizeLayoutPanel did the trick, thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s7Lls8m2BEAJ. 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: Updating GWT libraries for supporting xsiframe
Hi niloc, thank you very much for your ideas. In my case your solution 3) (inlining the js) is not what I want. In my case I want two things: 1) easy to the end user (it shouldn't have to worry about adding thirdLibrary.js file anywhere) 2) easy for me to update to new versions of thirdLibrary.js. Do not have to mantain my own version of thirdLibrary.js. So for me your 2b) solution is what I wanted and worked fine. See how I'm loading sizzle.js now: http://code.google.com/p/gwtsizzle/source/browse/trunk/gwtsizzle/src/org/sgx/gwtsizzle/client/Sizzle.java#28 Note that for some unknown reason setWindow($wnd) was required for this to work! Thank you again! On Wednesday, January 2, 2013 6:21:41 PM UTC-2, Colin Alworth wrote: Greetings from IRC - glad to see you are continuing with this idea. It could be worth considering inlining the sizzle.js code as JSNI to avoid the extra .js file at all, either from the module file or from the base html file. This has the additional constraint/advantage that you'll need to modify the code slightly to allow it to work from within GWT (i.e. document - $doc, window - $wnd), and remove any `with` statements. At that point it should behave well from within GWT, though the closure compiler might give it some grief. This is sort of a 3) to your list. 2b) Use ScriptInjector plus a TextResource - no async, as the code will be compiled in, and no need to rewrite to use $doc/$wnd and avoid with - the compiler will also leave this code alone, as it looks like a string. Like the option above (and unlike 1 and 2) this will still result in the sizzle.js file to be compiled into the giant hash name.cache.html file, minimizing the number of downloads required. The chief advantage I see in 3) over 2b) is that it paves a smoother path toward making a proper 'port' instead of a 'wrapper' or 'bridge' (lets leave the naming to the other thread...) - you can slowly rewrite JS to Java methods, or break the JS into multiple JSNI methods depending on what they do and how you want to access them. Another advantage is that the compiler can at least do *something* to JSNI, whereas it will leave 1), 2), and 2b) alone and unoptimized - this could even allow you to source in unobfuscated JS in the JSNI, and let GWT do the minimizing for you - and if you can make Closure play nice, you'll even get strings like Sizzle rewritten too. In contrast, 2b) gives you an easier first step forward, no async messiness, and no external dependencies or extra wiring that the library's users will need to do. Still worthwhile, but a different goal to follow. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QV3SzHaC5iQJ. 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: Some of my images arnt being turned into image strips :?
I'm starting to think...unless I am doing something stupid...this is a GWT error. At the very least the behavior contradicts the documentation: The ClientBundle generator combines all of the images defined in your interface into a single, optimized image. This certainly doesn't seem to be the case. Even without my specific problem, I am pretty sure many small images would get converted to DataURLs no? On Jan 8, 3:54 pm, darkflame darkfl...@gmail.com wrote: Still no luck. If it helps diagnose I can supply sample images. On Saturday, December 29, 2012 11:31:06 PM UTC+1, darkflame wrote: ...and thus are rather flickery when animating between them. (they are frames in a animated sprite). What baffles me is they are defined the same way as others that do seem to work. eg. I have a file like: public interface MemDayImages extends ClientBundle { ... @Source(/MemorableDayIcons/MEDIUM/magrietbag0.png) ImageResource MEDmagrietbag0(); @Source(/MemorableDayIcons/MEDIUM/magrietbag1.png) ImageResource MEDmagrietbag1(); @Source(/MemorableDayIcons/MEDIUM/magrietbag2.png) ImageResource MEDmagrietbag2(); ... Which makes a lovely image strip that animates really smoothly. I have another group of sprites however: public interface NoirInternalSprites extends ClientBundle { @Source(com/darkflame/client/JargScene/firelopp/fireloop0050.png) ImageResource fireloop0050(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0051.png) ImageResource fireloop0051(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0052.png) ImageResource fireloop0052(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0053.png) ImageResource fireloop0053(); ... Which does not. These pngs instead turn into dozens of separate files - not a image strip at all. So what gives :? What determines when images are combined and when they are not ? For reference, I use set-property name=ClientBundle.enableInlining value=false / in my gwt.xml to stop data urls being formed. Thanks for any pointers, -Thomas -- 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: Some of my images arnt being turned into image strips :?
try to prevent any inlining or other optimizations using : @Source(img0001.png) @ImageOptions(preventInlining=true) ImageResource img0001(); From ImageResource.java : /** * Set to {@code true} to require the ImageResource to be downloaded as a * separate resource at runtime. Specifically, this will disable the use of * {@code data:} URLs or other bundling optimizations for the image. This * can be used for infrequently-displayed images. */ Good luck On Sunday, January 20, 2013 1:30:05 PM UTC-2, darkflame wrote: I'm starting to think...unless I am doing something stupid...this is a GWT error. At the very least the behavior contradicts the documentation: The ClientBundle generator combines all of the images defined in your interface into a single, optimized image. This certainly doesn't seem to be the case. Even without my specific problem, I am pretty sure many small images would get converted to DataURLs no? On Jan 8, 3:54 pm, darkflame darkfl...@gmail.com wrote: Still no luck. If it helps diagnose I can supply sample images. On Saturday, December 29, 2012 11:31:06 PM UTC+1, darkflame wrote: ...and thus are rather flickery when animating between them. (they are frames in a animated sprite). What baffles me is they are defined the same way as others that do seem to work. eg. I have a file like: public interface MemDayImages extends ClientBundle { ... @Source(/MemorableDayIcons/MEDIUM/magrietbag0.png) ImageResource MEDmagrietbag0(); @Source(/MemorableDayIcons/MEDIUM/magrietbag1.png) ImageResource MEDmagrietbag1(); @Source(/MemorableDayIcons/MEDIUM/magrietbag2.png) ImageResource MEDmagrietbag2(); ... Which makes a lovely image strip that animates really smoothly. I have another group of sprites however: public interface NoirInternalSprites extends ClientBundle { @Source(com/darkflame/client/JargScene/firelopp/fireloop0050.png) ImageResource fireloop0050(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0051.png) ImageResource fireloop0051(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0052.png) ImageResource fireloop0052(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0053.png) ImageResource fireloop0053(); ... Which does not. These pngs instead turn into dozens of separate files - not a image strip at all. So what gives :? What determines when images are combined and when they are not ? For reference, I use set-property name=ClientBundle.enableInlining value=false / in my gwt.xml to stop data urls being formed. Thanks for any pointers, -Thomas -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/IHhKfBmSn7oJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is there a Chrome extension/api which allows for 'read/write *.txt/*.js file' ?
Email updates to me -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/a1CYTlNnDG0J. 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: Some of my images arnt being turned into image strips :?
Thanks I already disabled inlining with : set-property name=ClientBundle.enableInlining value=false / In my gwt.xml, which disables DataURLs, but still doesn't make everything image strips - some are image strips but many are still just separate PNGs images. I'll try your method as well, but I suspect that also just prevents the DataURLs. I *think* my problem might be something to do with the filesize of the images, as the ones not being put into strips seem a bit bigger then the rest. I'm currently trying to trim them down, but it would be helpful if there was a specific limit specified in the docs somewhere. On Sunday, January 20, 2013 5:09:58 PM UTC+1, Sebastián Gurin wrote: try to prevent any inlining or other optimizations using : @Source(img0001.png) @ImageOptions(preventInlining=true) ImageResource img0001(); From ImageResource.java : /** * Set to {@code true} to require the ImageResource to be downloaded as a * separate resource at runtime. Specifically, this will disable the use of * {@code data:} URLs or other bundling optimizations for the image. This * can be used for infrequently-displayed images. */ Good luck On Sunday, January 20, 2013 1:30:05 PM UTC-2, darkflame wrote: I'm starting to think...unless I am doing something stupid...this is a GWT error. At the very least the behavior contradicts the documentation: The ClientBundle generator combines all of the images defined in your interface into a single, optimized image. This certainly doesn't seem to be the case. Even without my specific problem, I am pretty sure many small images would get converted to DataURLs no? On Jan 8, 3:54 pm, darkflame darkfl...@gmail.com wrote: Still no luck. If it helps diagnose I can supply sample images. On Saturday, December 29, 2012 11:31:06 PM UTC+1, darkflame wrote: ...and thus are rather flickery when animating between them. (they are frames in a animated sprite). What baffles me is they are defined the same way as others that do seem to work. eg. I have a file like: public interface MemDayImages extends ClientBundle { ... @Source(/MemorableDayIcons/MEDIUM/magrietbag0.png) ImageResource MEDmagrietbag0(); @Source(/MemorableDayIcons/MEDIUM/magrietbag1.png) ImageResource MEDmagrietbag1(); @Source(/MemorableDayIcons/MEDIUM/magrietbag2.png) ImageResource MEDmagrietbag2(); ... Which makes a lovely image strip that animates really smoothly. I have another group of sprites however: public interface NoirInternalSprites extends ClientBundle { @Source(com/darkflame/client/JargScene/firelopp/fireloop0050.png) ImageResource fireloop0050(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0051.png) ImageResource fireloop0051(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0052.png) ImageResource fireloop0052(); @Source(com/darkflame/client/JargScene/firelopp/fireloop0053.png) ImageResource fireloop0053(); ... Which does not. These pngs instead turn into dozens of separate files - not a image strip at all. So what gives :? What determines when images are combined and when they are not ? For reference, I use set-property name=ClientBundle.enableInlining value=false / in my gwt.xml to stop data urls being formed. Thanks for any pointers, -Thomas -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Dc4akDxVnsUJ. 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: Updating GWT libraries for supporting xsiframe
On Sunday, January 20, 2013 3:14:50 PM UTC+1, Sebastián Gurin wrote: Hi niloc, thank you very much for your ideas. In my case your solution 3) (inlining the js) is not what I want. In my case I want two things: 1) easy to the end user (it shouldn't have to worry about adding thirdLibrary.js file anywhere) 2) easy for me to update to new versions of thirdLibrary.js. Do not have to mantain my own version of thirdLibrary.js. So for me your 2b) solution is what I wanted and worked fine. See how I'm loading sizzle.js now: http://code.google.com/p/gwtsizzle/source/browse/trunk/gwtsizzle/src/org/sgx/gwtsizzle/client/Sizzle.java#28 Note that for some unknown reason setWindow($wnd) was required for this to work! How about ScriptInjector.TOP_WINDOWhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/ScriptInjector.html#TOP_WINDOWinstead of your JsUtil.window().cast() ? (I think the reason is explained in the javadoc) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ncYUbMUaK5QJ. 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: Some of my images arnt being turned into image strips :?
There is indeed a max size for image bundles. Take a look at: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.5/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#471 You can configure it by setting the system property gwt.imageResource.maxBundleSize to your desired size. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/0y4Th7qpjNoJ. 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: Some of my images arnt being turned into image strips :?
On Sunday, January 20, 2013 5:27:09 PM UTC+1, darkflame wrote: Thanks I already disabled inlining with : set-property name=ClientBundle.enableInlining value=false / In my gwt.xml, which disables DataURLs, but still doesn't make everything image strips - some are image strips but many are still just separate PNGs images. I'll try your method as well, but I suspect that also just prevents the DataURLs. I *think* my problem might be something to do with the filesize of the images, as the ones not being put into strips seem a bit bigger then the rest. I'm currently trying to trim them down, but it would be helpful if there was a specific limit specified in the docs somewhere. See https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#780 The size defaults to 256 pixels but can be configured with a system property: https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#471 AFAICT it has always been the case (except for the configurability of the threshold, added later). Feel free to send a patch to improve the documentation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qBQDwFz0tmIJ. 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: Some of my images arnt being turned into image strips :?
Thanks, but that seems to be a dimension size limit, not a file size limit: ... if (lossy || toReturn.getHeight() IMAGE_MAX_SIZE || toReturn.getWidth() IMAGE_MAX_SIZE) { ... Is there a filesize limit too? On 20 January 2013 18:05, Thomas Broyer t.bro...@gmail.com wrote: On Sunday, January 20, 2013 5:27:09 PM UTC+1, darkflame wrote: Thanks I already disabled inlining with : set-property name=ClientBundle.enableInlining value=false / In my gwt.xml, which disables DataURLs, but still doesn't make everything image strips - some are image strips but many are still just separate PNGs images. I'll try your method as well, but I suspect that also just prevents the DataURLs. I *think* my problem might be something to do with the filesize of the images, as the ones not being put into strips seem a bit bigger then the rest. I'm currently trying to trim them down, but it would be helpful if there was a specific limit specified in the docs somewhere. See https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#780 The size defaults to 256 pixels but can be configured with a system property: https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#471 AFAICT it has always been the case (except for the configurability of the threshold, added later). Feel free to send a patch to improve the documentation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qBQDwFz0tmIJ. 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.
GWTQuery live blur not working
The following code attaches a new element with every subsequent click on the 2nd *div*. With each adding, the focus is set to the added element, so that it is ready for *blur* methods (I am setting the *tabIndex* attribute just for this purpose). However, on clicking outside the new element, nothing happens, even though there should be a pop-up. Can anyone tell me what's wrong with this code? public void onModuleLoad() { VerticalPanel vert = new VerticalPanel(); String foo = div id ='foo'Foo/div; $(#bodywrapper).append(foo); $(#bodywrapper).append(div id ='boo'Boo/div); $(#boo).click(new Function() { public boolean f(Event e) {// Window.alert(foo); $(div id ='goo' tabIndex = '1'Boo/div).appendTo(#bodywrapper).focus(); return true; } }); $(#goo).live(blur, new Function() { public boolean f(Event e) { Window.alert(Foo); return true; } }); RootPanel.get().add(vert); }} -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KiUvM0dR5yEJ. 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.
Request Factory: How can I return multiple versions of an Entity an a list
I'm using Hibernate envers to keep a history of my entities. To display the history of an entity I want to transfer a list of different versions of the entity to the client. When I return a list of different versions of the same entity through Request Factory I get the correct number of items client side, but they are all the same. I don't get the different versions of the entity. It looks like RF is detecting that all the entities in the list have the same ID, so it's only transferring the first item to the client then duplicating it in the list client side. If I fudge the entity IDs in the list so that they are all different all items come across the the client. Is there a better way to the different versions of the entity to come down to the client in a single list other than fudging the IDs? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1FCnZi2VdqcJ. 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.
Are the GWT APIs dead?
I'm looking at the project and there's nearly zero activity. The last chatter was about Maps v3, and that was 9 months ago. https://groups.google.com/forum/?fromgroups#!forum/GWT-Google-Apis Should I be worried? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tJO1Rg7DkX8J. 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: Enabled disabled GWT ValueListBox
http://code.google.com/p/google-web-toolkit/issues/detail?id=6112 Star the issue so you can get notified when the capability is added. On Saturday, January 19, 2013 12:51:43 PM UTC-5, Luis Costa wrote: Hi all, I'm using GWT 2.5 and I'm wondering if there's an easy way to enabled / disabled ValueListBox, after a careful look: DateBox, TextBox implements com.google.gwt.user.client.ui.HasEnabled but in other hand ValueListBox dosent I could extend com.google.gwt.user.client.ui.ValueListBox and implement com.google.gwt.user.client.ui.HasEnabled doing: @Override public void setReadOnly(boolean readOnly) { DOM.setElementPropertyBoolean(getElement(), disabled, readOnly); } @Override public boolean isReadOnly() { return DOM.getElementPropertyBoolean(getElement(), disabled); } But is there realy necessary? Is there a easy and logic way of doing this (disabled enabled)? Many thanks, Luis. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/q1ZsLYCyDgoJ. 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 remove drawn elements on the canvas?
Hi, I draw ellipses on a canvas on click, and want to remove them on doubleclick. Therefor I track them in a list with coordinates tracked, and iterate if on mouseclick. I'm already detecting if an element is under mouseclick or not. BUT: how do I remove that element from the canvas? Would I have to remove it from my list, then clear and redraw the whole canvas? Can't I just somehow clear the ellipse selected? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kAQ-dtNuGz4J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is there a Chrome extension/api which allows for 'read/write *.txt/*.js file' ?
This question is so confusing I can only respond with an equally confusing answer: Have you tried V http://www.vim.org/im? Ok, a more serious answer would be: Can you tell us what you're trying to accomplish? Why would you try to edit a txt or js file in a browser? :-) Ryan On Sunday, January 20, 2013 10:16:12 AM UTC-6, vmars316 wrote: Email updates to me -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rbQSrzUR8GYJ. 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: Are the GWT APIs dead?
This is opensource. How about getting your hands dirty ? :) 2013/1/20 Charles Youakim charlie.youa...@passportparking.com I'm looking at the project and there's nearly zero activity. The last chatter was about Maps v3, and that was 9 months ago. https://groups.google.com/forum/?fromgroups#!forum/GWT-Google-Apis Should I be worried? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tJO1Rg7DkX8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to directly make CSS reference to image resources?
Assuming your build is including the resource, your image will be under /WEB-INF/classes/resource/icons/image.gif. Generally, you wouldn't access a resource from your classes like that though. You could make a resource servlet that would use the getResourceAsStream facility to load and serve those resources. The conventions seems to be to either just put your image in your webapp folder just like the css, or to use the GWT resource bundle stuff. On Friday, January 18, 2013 8:59:17 AM UTC-6, membersound wrote: How do I have to make reference to images under src/main/resources/icons? In my css (placed under src/main/webapp): .my-class { background: url(../resources/icons/image.gif); } I'm constantly getting [WARN] 404 - GET /resources/icons/validation_error_icon.gif (127.0.0.1) 1427 bytes. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ccL0Kwc8ke8J. 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: Hi suggestion needed....
I pretty much agree with Ashton. I also like to us Gin (Guice for GWT) but learning that might be too much overhead to quickly prototype something. On Thursday, January 17, 2013 2:27:25 PM UTC-6, Ashton Thomas wrote: I recommend using Activity and Places for organizing at a high level: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces For a prototype, you may not need to follow the strict presenter format (normally your Activity would act as the 'presenter') Again, since this is a prototype, I would recommend making the high level views UiBinder files (For every activity have a ActViewUibidner java/xml file). If you have to mix in other GWT widgets via java, it is probably fine. I just wouldn't layout your app form java but instead have an outer shell UiBinder and Uibinders for each activity. Maybe this will help On Monday, January 14, 2013 4:48:33 PM UTC-5, nalin...@googlemail.comwrote: I am new to GWT... and building a prototype for a company 1.Should I stick to MVP pattern? Or without that pattern is also advisable? I feel that without that pattern is not a bad design as the project creation itself splits up into client and server code... 2.Which method of UI build is better.. with GWT widgets with Java code or with GWT tags using UiBinder..? Regards, Nalini.K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EtkP6ZkslXMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is there a Chrome extension/api which allows for 'read/write *.txt/*.js file' ?
I would like to write some desktop javascripts , where the user can stay within the browser and do their text editing , like (maybe) this editor that i am using to Post this reply , but locally , not using the webServer (,txt , .rtf , .html , .js) , If there is a way to Copy/Paste from javascript ( click this Button to Copy , click that Button to Paste ) , that would be a great help . Thanks...Vernon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6OO8o5pv4G4J. 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: Chrome 24 and GWT
Just to confirm/clarify this problem as I found it today. PopupPanel test = new PopupPanel(); test.add(new Label(test)); test.setAnimationEnabled(true); test.center(); Is all it takes to reproduce it for me. Animation seems to have to be true, it seems to work fine without, so that could be a workaround for some people needing 2.4. On Jan 15, 2:22 am, Thomas Broyer t.bro...@gmail.com wrote: Sorry, didn't see that part of your mail: On Monday, January 14, 2013 5:43:36 PM UTC+1, zarfh...@gmail.com wrote: Perhaps you have the resources to fully regression test all of your applications every week on all 8 or 9 different supported browsers, plus dev/beta versions, but in the real world of enterprise software, that's simply not feasible. I don't have those resources, but I'm aware that it's what I should do. It's actually even worse: I'm paid to build webapps, not maintaining them. We're not proactive on browser changes because that's not part of the deal with our customers, but we're generally in the situation of shipping a fixed version (provided there's an easy fix or workaround) in a matter of hours. Once the warranty period is over however, I bet nobody does testing either and fixes can take ages. BTW, I also know there *are* people in the real world of enterprise software who *do* end-to-end testing, either using Selenium/WebDriver on a cluster of servers, or using SaaS such as Sauce Labs, driven by a CI server (Jenkins/Hudson, TeamCity, Bamboo, etc.) to be run on each commit and/or nightly. The root of the issue is that most people (IT deps mostly) ask for webapps rather than native apps (generally to replace native apps) for bad reasons and/or without understanding the consequences. Stable software should remain stable. If a customer upgrades his version of Windows, I shouldn't expect the new version to suddenly start working strangely because of a radical change in how animations are rendered. A similar concept should apply for web browsers. ROTFL! Are you talking about that Windows OS that breaks its WebDAV support in almost every new version or service pack, and even sometimes hotfixes?http://www.greenbytes.de/tech/webdav/webdav-redirector-list.html(I had to do an emergency patch in a server after the SP1 was deployed on Win7 this fall; BTW the webapp is 4 years old 'cause nobody allocated the budget to maintain and update it, not even with security fixes: “if it ain't broke, don't fix it”, BS; this is the state of software in the real world of enterprise software: zombie servers on a drip of emergency fixes to keep them alive) The one OS for which every IT department delays hotfix/SP deployment by fear of breaking their payroll or LoB apps? (which is probably the main reason there's still so many IE7 and IE8 out there –last year I would even have added IE6 to the list–). But again, we're talking here about a bug in GWT, in the use of a beta API. And that bug was fixed long before the change in Chrome reached end users. Also note that in a closed environment (intranet) running Windows, you can disable Chrome and/or ChromeFrame auto-updates using a group policy. -- 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 remove drawn elements on the canvas?
easiest way to clear a canvas is to use the context clearRect function and pass the canvas co-ordinate space width height. This would clear the entire canvas. And you can redraw the shapes you want to remain on screen. You can also clear portion of a screen, using the above function by passing the position and size of the ellipse you draw but if there are multiple shapes in that position then they would also get erased, you will have to manage redrawing them. check out the canvas sample in gwt-examples, it gives a very good demo of how to use front and back canvas for complex rendering. Using this technique gives you smooth graphics and also better performance. On Mon, Jan 21, 2013 at 1:31 AM, membersound kodyreco...@gmail.com wrote: Hi, I draw ellipses on a canvas on click, and want to remove them on doubleclick. Therefor I track them in a list with coordinates tracked, and iterate if on mouseclick. I'm already detecting if an element is under mouseclick or not. BUT: how do I remove that element from the canvas? Would I have to remove it from my list, then clear and redraw the whole canvas? Can't I just somehow clear the ellipse selected? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kAQ-dtNuGz4J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Are the GWT APIs dead?
Are folks out there just wrapping js libs with JSNI and going from there? It seems very plausible. You don't really need a GWT API's library when you can easily wrap objects. I'm really just wondering what others out there are doing? Are you wrapping js libs such as google maps? On Sunday, January 20, 2013 3:51:50 PM UTC-5, nino wrote: This is opensource. How about getting your hands dirty ? :) 2013/1/20 Charles Youakim charlie...@passportparking.com javascript: I'm looking at the project and there's nearly zero activity. The last chatter was about Maps v3, and that was 9 months ago. https://groups.google.com/forum/?fromgroups#!forum/GWT-Google-Apis Should I be worried? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tJO1Rg7DkX8J. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/L1KlOx8jfGAJ. 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: Are the GWT APIs dead?
On Monday, January 21, 2013 5:58:48 AM UTC+1, Charles Youakim wrote: Are folks out there just wrapping js libs with JSNI and going from there? It seems very plausible. You don't really need a GWT API's library when you can easily wrap objects. I'm really just wondering what others out there are doing? Are you wrapping js libs such as google maps? For maps, I believe many people use https://github.com/branflake2267/GWT-Maps-V3-Api -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/W0alCGAz_FEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Change in gwt[master]: Stop using prefixed API's in AnimationScheduler by default. ...
Thomas Broyer has posted comments on this change. Change subject: Stop using prefixed API's in AnimationScheduler by default. Firefox and Safari will use the Timer-based implementation. For Chrome we can use requestAnimationFrame because it's unprefixed starting in Chrome 24. .. Patch Set 1: (3 comments) FYI, Mozilla is discussing what to do wrt high-res timers: change mozRAF (would break GWT 2.4 users like the Chrome change broke them already) or only rAF. See https://bugzilla.mozilla.org/show_bug.cgi?id=753453 File user/src/com/google/gwt/animation/Animation.gwt.xml Line 27: replace-with class=com.google.gwt.animation.client.AnimationSchedulerImplTimer According to Can I Use and the MSDN, it seems like IE10 has it unprefixed already (with the same behavior as Chrome 24, which is the one from the latest Editor's Draft). Line 41: !-- Disabled by default because it uses a prefixed API. -- +1 I proposed it on the G+ Community too: https://plus.google.com/114156500057804356924/posts/45D9ZfZkF28 The default value is controversial though. I'd lean toward setting it to true by default and documenting it prominently in the developer guide (and possibly even emitting a warning at compile-time). Let's discuss it in GWT-Contrib though. Ideally, there should probably be a property per module, whose default value is controlled by a global property declared in c.g.g.core.Core. Something like: define-property name=animation.useExperimentalApis values=true,false / set-property name=animation.useExperimentalApis value=true when-property-is name=useExperimentalApis value=true / /set-property set-property name=animation.useExperimentalApis value=false when-property-is name=useExperimentalApis value=false / /set-property File user/src/com/google/gwt/animation/client/AnimationSchedulerImplNative.java Line 60:* create a JavaScriptObject and add an expando named cancelled to indicate The Javadoc doesn't match the implementation. We should fix *ImplMozilla too. -- To view, visit https://gwt-review.googlesource.com/1780 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3011dceab489871a5864eed1ece47ec850d82425 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com Gerrit-HasComments: Yes -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Change in gwt[master]: Stop using prefixed API's in AnimationScheduler by default. ...
Not using the most efficient implementation by default seems overly harsh and likely to bias people against using GWT, so I tend to side with making the efficient one the default. Javascript programmers would usually react differently, by doing capability tests, and selecting the appropriate implementation at runtime. We are somewhat culturally constrained in the GWT world to think in terms of deferred bindings, but writing JSNI code that has multiple browser fallbacks into it is not necessarily a bad solution to bridge the timeframe in which we wait for browser upgrades. If you consider something like iOS Safari, they upgrade the browser like once per year, so a policy that works well with Chrome I think harshly punishes Safari. -Ray On Sun, Jan 20, 2013 at 4:30 PM, Thomas Broyer t.bro...@gmail.com wrote: Thomas Broyer has posted comments on this change. Change subject: Stop using prefixed API's in AnimationScheduler by default. Firefox and Safari will use the Timer-based implementation. For Chrome we can use requestAnimationFrame because it's unprefixed starting in Chrome 24. .. Patch Set 1: (3 comments) FYI, Mozilla is discussing what to do wrt high-res timers: change mozRAF (would break GWT 2.4 users like the Chrome change broke them already) or only rAF. See https://bugzilla.mozilla.org/show_bug.cgi?id=753453 File user/src/com/google/gwt/animation/Animation.gwt.xml Line 27: replace-with class=com.google.gwt.animation.client.AnimationSchedulerImplTimer According to Can I Use and the MSDN, it seems like IE10 has it unprefixed already (with the same behavior as Chrome 24, which is the one from the latest Editor's Draft). Line 41: !-- Disabled by default because it uses a prefixed API. -- +1 I proposed it on the G+ Community too: https://plus.google.com/114156500057804356924/posts/45D9ZfZkF28 The default value is controversial though. I'd lean toward setting it to true by default and documenting it prominently in the developer guide (and possibly even emitting a warning at compile-time). Let's discuss it in GWT-Contrib though. Ideally, there should probably be a property per module, whose default value is controlled by a global property declared in c.g.g.core.Core. Something like: define-property name=animation.useExperimentalApis values=true,false / set-property name=animation.useExperimentalApis value=true when-property-is name=useExperimentalApis value=true / /set-property set-property name=animation.useExperimentalApis value=false when-property-is name=useExperimentalApis value=false / /set-property File user/src/com/google/gwt/animation/client/AnimationSchedulerImplNative.java Line 60:* create a JavaScriptObject and add an expando named cancelled to indicate The Javadoc doesn't match the implementation. We should fix *ImplMozilla too. -- To view, visit https://gwt-review.googlesource.com/1780 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3011dceab489871a5864eed1ece47ec850d82425 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com Gerrit-HasComments: Yes -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Change in gwt[master]: Stop using prefixed API's in AnimationScheduler by default. ...
On Sun, Jan 20, 2013 at 8:25 PM, Ray Cromwell cromwell...@google.comwrote: Not using the most efficient implementation by default seems overly harsh and likely to bias people against using GWT, so I tend to side with making the efficient one the default. Javascript programmers would usually react differently, by doing capability tests, and selecting the appropriate implementation at runtime. We are somewhat culturally constrained in the GWT world to think in terms of deferred bindings, but writing JSNI code that has multiple browser fallbacks into it is not necessarily a bad solution to bridge the timeframe in which we wait for browser upgrades. If you consider something like iOS Safari, they upgrade the browser like once per year, so a policy that works well with Chrome I think harshly punishes Safari. I agree, plus I think if we are going to do this there should be a more global deferred binding property like useExperimentalApis in core. -- John A. Tamplin -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Change in gwt[master]: Stop using prefixed API's in AnimationScheduler by default. ...
On Sun, Jan 20, 2013 at 7:35 PM, John A. Tamplin j...@jaet.org wrote: I agree, plus I think if we are going to do this there should be a more global deferred binding property like useExperimentalApis in core. What do you think about flags to turn on each prefixed symbol separately: useMozRequestAnimationFrame={true,false} useWebkitRequestAnimationFrame={true,false} I'm not sure about the terminology but I'm thinking of using define-configuration-property and set-configuration-property. (That is, essentially a flag, not a permutation.) This would make it easy for people with the resources to do browser testing to turn on the features that seem to be working, and quickly disable them if they run into problems. (Much in the same way server-side flags are a way to leave decisions to sysadmins in the server-side world.) We can't know what the state of browser breakage will be in a year. when Safari 7 comes out, anyone using a non-trunk version of GWT needs to make their own decisions. On Sun, Jan 20, 2013 at 8:25 PM, Ray Cromwell cromwell...@google.com wrote: Not using the most efficient implementation by default seems overly harsh and likely to bias people against using GWT, so I tend to side What do you mean by too harsh? I haven't tested yet, but it seems unlikely that any users would care if we dropped a few frames in a dialog animation in an enterprise app. (Yes, of course gamers would care, but that's a separate audience.) - Brian -- http://groups.google.com/group/Google-Web-Toolkit-Contributors