Dev Mode Unusably slow after OS X Mavericks 10.9 Upgrade
I'm not sure where to start debugging this issue. After I upgraded my machine to 10.9 Mavericks my dev mode is incredibly slow. I thought maybe the new App Nap feature was killing it, so I've disabled that for my IDE (IntelliJ) and browsers, still no difference. This is happening for all of my GWT projects. Is anyone else experiencing the same issue? -- 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: Dev Mode Unusably slow after OS X Mavericks 10.9 Upgrade
Well, my co-workers were able to run the same projects on their machines without issue, so it must be something wrong with my machine. Any clue where to start? On Thursday, October 24, 2013 9:54:23 AM UTC-7, KevMo wrote: I'm not sure where to start debugging this issue. After I upgraded my machine to 10.9 Mavericks my dev mode is incredibly slow. I thought maybe the new App Nap feature was killing it, so I've disabled that for my IDE (IntelliJ) and browsers, still no difference. This is happening for all of my GWT projects. Is anyone else experiencing the same issue? -- 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.
Encoding/decoding POJO to JSON
Are there any JSON encoding/decoding libraries that will work on both client and server and that will work with inheritance? Here's the basic structure I'm working with: Class Recording { String title; ListEvent events; } abstract class Event { Long time; } class EventOne extends Event { String someProperty; } class EventTwo extends Event { Long someOtherProperty; } My goal is to be able to take the POJO and encode it to JSON on the server side (actually an android app), and decode the JSON on the client side. I'd really like to package that functionality up into a jar file that can be shared between the projects. I've tried using AutoBeans, which encode just fine, but it seems they do not support inheritance. RestyGWT supports inheritance, but only works on the client side. GSON only works on the server side. Is there one library to rule them all, or do I need to use different libraries for client and server side processing? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: I/O 2013 - GWT Sessions?
I'd love to know this too. I was also a bit bummed out last year about the lack of GWT sessions. On Wednesday, March 6, 2013 2:56:52 PM UTC-8, James wrote: I know it's earlybut is anyone familiar with the planned Google Web Toolkit sessions for Google I/O 2013? It was a bit disappointing last year when there was only one real GWT session...after there had been many in all the previous years. GWT Team...any comments? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to create auto scroling text from bottom to top in GWT? ( not scrolling bars)
You can always use the marquee tag. marquee behavior=scroll direction=upYour upward scrolling text goes here/marquee Or some CSS3 http://www.hongkiat.com/blog/css3-animation-advanced-marquee/ But please, don't have auto scrolling text. I beg you. On Thursday, November 15, 2012 7:01:12 AM UTC-8, Sridhar V wrote: any one has any clue on this? On Wednesday, November 14, 2012 3:24:31 PM UTC-5, Sridhar V wrote: Is it possible to create auto scroling text in GWT? if so, please guide me how to do that. please note that I am NOT referring to horizontal/vertical scroll bars. I am talking the text that is scrolling in a box/nugget/widget.. etc -- 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/-/AKuqmcoM3CcJ. 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: List all the strings and ints in a class?
I've never used it, but you might give GWT Reflection a try. http://gwtreflection.sourceforge.net/ On Friday, October 19, 2012 12:58:40 PM UTC-7, darkflame wrote: I am looking to make a little debugging widget for my (rather complex) app. It would be helpfull if I could construct something that would look at a class and display all its data. I can handle the GUI side of it easily enough..but Java wise I don't know where to start or if its even possible to navigate a arbitrary class in this way. Ideally Id want to get a list of variable names and their values. I assume Id need to compile as pretty or detailed for the variable names to even be there - thats fine. 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/-/BexDoKsQIEAJ. 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.
iOS 6 Bug: Safari caches POST requests
I'm not sure how many people this will affect, but I thought I would send out a heads up. Check out these posts for more information: http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results http://www.devthought.com/2012/09/22/understanding-the-ios6-ajax-bugs/ -- 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/-/gIW-ZP0e7FAJ. 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 happened to composite images for ClientBundles?
I believe it still makes composite images for older versions of IE, as those don't support data URIs. On Wednesday, September 19, 2012 8:30:46 AM UTC-7, Chris Lercher wrote: According to https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, multiple images in the same ClientBundle should usually be merged to a composite image, quote: Multiple ImageResources are declared in a single ClientBundle, which is a composition of many images into a single image And I remember, that I tried and confirmed this, when I first used it a few years ago. But I don't see this happening anymore: - Either we get data URIs (for small images), - or we get separate *.cache.jpg images for each ImageResource in the ClientBundle (for large images, or if setting set-property name=ClientBundle.enableInlining value=false/) Is this correct, or is it a bug? Can I maybe even rely on GWT not producing composite images anymore [*]? [*] This would allow me to use new Image(imageResource.getSafeUri()), which would be useful in certain circumstances (e.g. when printing the page), as it uses a foreground image instead of a background image. -- 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/-/OYaOmE7r3M8J. 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: Automatic Retina Images
Wow, this is really nice. Thanks for sharing! On Tuesday, August 14, 2012 6:10:16 AM UTC-7, DCYorke wrote: I've built a module to automatically use retina images on devices that support them. It can be found here: http://retina.teknonsys.com -- 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/-/nhQsq0og3kIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deferred Binding with ClientBundle
I thought about using lib-gwt-svg, but it seemed like a bit of overkill for just half a dozen images. And even with that I would still need to make a separate version for IE correct? On Tuesday, June 26, 2012 7:32:16 AM UTC-7, Joseph Lust wrote: First, you don't need to set custom MIME tags for SVG in you resources. Just use the SVGResourcehttp://www.vectomatic.org/mvn-sites/lib-gwt-svg/apidocs/org/vectomatic/dom/svg/ui/SVGResource.htmltype and lib-gwt-svg. It has worked quite well for my projects and even has an async loader, ExternalSVGResourcehttp://www.vectomatic.org/mvn-sites/lib-gwt-svg/apidocs/org/vectomatic/dom/svg/ui/ExternalSVGResource.html useful for splitting out larger SVG's. It is a pure GWT library, so no extra JS is loaded. As for supporting IE, have you considered using Raphael4GWThttp://code.google.com/p/raphael4gwt/to convert your SVG into VML so that it displays in IE? It seems like the simplest solution to just use the same SVG files everywhere. I hope that helps. Sincerely, Joseph -- 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/-/Zgizhcy6mkAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Deferred Binding with ClientBundle
Is there an easy way to use different source images with client bundle for different permutations without creating a different implementations and adding a deferred binding property to my gwt.xml? For example, I would like to use SVG images for a lot of my icons, but IE8 and below would need a jpg or png as there is no SVG support. As far as I'm aware, the only way to do this is have two ClientBundle implementations with different sources defined. @Source(home-icon.png) public DataResource homeIcon(); @DataResource.MimeType(image/svg+xml) @Source(home-icon.svg) public DataResource homeIcon(); This is ok for the few amount of icons my application has, but it seems like something that could get out of hand very quickly. Especially if using the same technique to target Apple's retina displays with higher resolution images. -- 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/-/ejiwPwrTO3UJ. 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 Debug Firefox (for the n'th time)
If you're looking for the windows version, here you go. http://www.oldapps.com/firefox.php On Tuesday, May 15, 2012 11:32:11 AM UTC-7, Rori Stumpf wrote: I made the mistake of upgrading to FireFox 12. I thought Chrome would work for GWT debug, but that pig still isn't flying. So... where can I download FF 10? I've spent 1/2 hour trying to find it on the web, everything I found points back to FF12. 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/-/S9VuikFgPtkJ. 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 SplitLayoutPanel stupid or arrogant?
Check out the docs. https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels When should I *not* use layout panels? The panels described above are best used for defining your application's outer structure — that is, the parts that are the least document-like. You should continue to use basic widgets and HTML structure for those parts for which the HTML/CSS layout algorithm works well. In particular, consider using UiBinder templateshttps://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder to directly use HTML wherever that makes sense. On Sunday, April 15, 2012 5:01:35 PM UTC-7, stagirus wrote: Pardom me for humanizing the all mighty SplitLayoutPanel. This panel seems to be very powerful except that it is making itself unfriendly and useless in the following scenario. In our application, we needed a vertical splitter (content in North and South). We require the widget to spread out within its parent panel, by calling splitter.setSize(100%, 100%). But SplitLayoutPanel only takes pixels (setPixelSize). Providing fixed pixel size is not an option for our application. (Our custom built spitter is not properly functioning with Standardards Mode enabled.) Why is SplitLayoutPanel forcing pixel sizes only and not supporting the basic GWT design feature? Is there any work around for this problem? -- 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/-/3174niR4xoIJ. 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 Compiler as a stand-alone javascript compiler?
I don't know if you can use GWT, but check out Google Closure for javascript optimization/minification. https://developers.google.com/closure/compiler/ -Kevin On Monday, April 2, 2012 3:03:42 PM UTC-7, Transplant wrote: Is there a way to use the GWT Compiler as a stand-alone javascript compiler to optimize/minimize pure javascript? If so, how does it stack up to other javascript compilers? 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/-/wlXYYiXvO8kJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is there a way to determine if a GWT app is active or inactive?
Try JSNI with this: http://stackoverflow.com/questions/1060008/is-there-a-way-to-detect-if-a-browser-window-is-not-currently-active On Feb 26, 6:22 pm, m8o m8of...@gmail.com wrote: Is there a way to determine if a GWT app is active thru the Window or DOM class -- well, or any other class -- be that a callback / event or inspection of a static variable in a built-in object? Specifically meaning that the browser window is not minimized, or that if open the browser window it is the top/active window, and beyond that that the GWT app's tab and not another tab in the browser is the active tab? I imagine it's something right in front of my face, but I'm just not seeing it. (We do use Sencha's GXT v2.x too) The reason I ask is our application uses a Timer to update data. If the app is left I want to keep updating its data for 5 minutes, but then stop the timers after that. And of course the compliment; if the app is returned-to, to re-initiate the timed data updates. Thanx very much, -steve -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: compile to some html pieces
Take a look at Code Splitting. If I'm understanding you correctly, it's exactly what you need. http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html On Feb 15, 7:02 pm, wahaha il...@yahoo.com.cn wrote: there is a project has much classes,but GWT compile it into just one html file,and the file has a 1.5M capacity. could i set it to compile the code to some html pieces for very function part? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is it bad practice to use links like #viewObject104 instead of eventBus.fireEvent(viewObjectEvent(id)) ?
If you're just passing an ID, I think just using links is a lot better than making events and listening for them. If you're passing an entire object, then events are probably better to keep you from making another call to the server. I personally prefer links, because it also allows the user to open the link in another window or tab. On Feb 9, 9:05 am, Drew Spencer slugmand...@gmail.com wrote: Hi coders, Hopefully the subject explains the question enough but here's a bit of background. I have been using events for pretty much everything, but while searching for a better way than using ButonCell in my CellTable, I discovered that using SafeHtml I could generate an anchor with a token, which when clicked would add that token to the History. Then, my AppController would parse the token and load the correct presenter/view. Seems ok and works with the History system well. I guess what I'm asking is: If my event's job was only to get an ID and then load a new presenter/view with that ID, does it need to exist or can I just bash a new item in the history from anywhere as long as my AppController can handle it? Thanks as always, Drew -- 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.
Sharing @eval between CSS resources
I was hoping to implement some simple customizable themes for my project. Nothing fancy, just pretty much changing color schemes. Based on the wiki for CssResource I was planning on using @eval to determine colors and things at runtime like so: @eval userBackground com.module.UserPreferences.getUserBackground(); div { background: userBackground; } Is there a way to share userBackground between CSS resources? I know I can provide multiple .css files and GWT will concatenate them for me like @Source(common.css, other.css), but I need to provide a relative path to common.css, which isn't too convenient when common.css and other.css are in different packages. I would also like to be able to access the variables from within ui:style maybe something like this: ui:with field='common' type='com.my.app.common.Resources'/ ui:style .user{ background-color: {common.style.userBackground}; } /ui:style Is there a way to use @eval's between different css resources an ui.xml files? -- 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: Multiple gwt-rpc calls and UI
Have you tried making an RPC that returns A, B, C at the same time? On Dec 14, 10:55 am, Mike Dee mdichiapp...@gmail.com wrote: What is a preferable way to do multiple gwt-rpc calls to setup a UI? In particular, we have a view that requires several successive calls (order is important) to the database to setup. This is necessary because there is a stateful part to our app. For example, first we have to load A and once we have A we can then load B and C. What I've been doing is to start the chain of events in the view's onLoad. I make a call to load A. The handler for it then kicks off loading B and C, in onSuccess(). Is this a good way to go about doing this? Opinions appreciated. -- 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 do I get a reference to a div and set its inner HTML?
If you know the ID of an element, you can get it by: Document.get().getElementById(CONTENT_DIV_ID); Cheers, Kevin On Oct 26, 11:18 am, laredotornado laredotorn...@zipmail.com wrote: Hi, I'm using GWT 2.4. I have a click handler attached to a button. Within the handler, I make an ajax call that returns HTML. I wish to populate the innerHTML of a div, given the element's id, but I'm not sure how to do that. Any suggestions? I'm currently working with ... public void onSuccess(String result) { final DivElement contentDiv = (DivElement) getWidgetById(CONTENT_DIV_ID); contentDiv.setInnerHTML(result); } }); The above currently gives the compile error Cannot cast from Widget to DivElement. Thanks, - Dave -- 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: Popup Panels are always displayed behind the youtube iframe
Try adding wmode=Opaque to the end of the iFrame URL. On Sep 19, 1:16 am, erebrus ereb...@gmail.com wrote: Hi, I have HTMLPanel in which I include an iframe with a youtube. My problem is that whenever I display a popup panel (e.g. custom made dialog boxes) that youtube iframe is always displayed on top of the popup panel? Does anybody know how to solve this problem? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Youtube iFrame z-index problem
By default flash will display on top of everything else, regardless of any z-index Try adding ?wmode=Opaque to the end of you iFrame src URL. On Jul 7, 7:16 am, tobirius t.herrm...@alkacon.com wrote: I am struggling to put UI elements above an embedded youtube iframe. No z-index seems large enough to get on top of the iframe. Only when using a PopupPanel it seems to be possible to show content above the iframe. I wonder how this is done. What is so special about the PopupPanel that it is always on top? Greetings, Tobias -- 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: Facebook like Chat App with GWT
I'm currently looking at iJab myself. It doesn't look like there is any active development. Also, the latest beta has connection issues on Safari. Check http://code.google.com/p/ijab/issues/detail?id=16 On Jun 28, 2:28 am, Uemit uemit.se...@gmail.com wrote: Check out ijab. It is based on GWT and look really like the Facebook Chat http://opensource.ijab.im/ -- 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: RPC Error after 2.3 upgrade: The response could not be deserialized
I'm using Netbeans (I know, everyone thinks I'm crazy), and as far as I know there's no actual .classpath file, however these are the GWT related jars I have included in the classpath: gwt-dev.jar gwt-servlet.jar gwt-servlet-deps.jar gwt-user.jar validation-api-1.0.0.GA.jar validation-api-1.0.0.GA-sources.jar On May 5, 5:29 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Can you paste to your .classpath file ? 2011/5/5 KevMo kevinps...@gmail.com Thanks for the suggestion. I've replaced all the GWT jars just to be double sure. I still have the same problem though. On May 5, 12:59 pm, Andrei Bulanau helper.h...@gmail.com wrote: May be you have old version gwt-servlet.jar in your project. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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: RPC Error after 2.3 upgrade: The response could not be deserialized
I asked the same question on StackOverflow (http://stackoverflow.com/ questions/5914189/rpc-error-after-gwt-2-3-upgrade) and apparently it's an issue with gilead not being compatible with 2.3. A bug has already been filed, with a fix. I haven't attempted it yet, but I'll report back once I do. http://sourceforge.net/tracker/index.php?func=detailaid=3285026group_id=239931atid=398 On May 6, 12:48 pm, VKMS vkm...@gmail.com wrote: I have the exact configuration - Gilead + Hibernate, and also get Timestamp exception... I switched back to GWT 2.2.0 - and just doing that fixed the problem. But updrading back to GWT 2.3 restores the issue. -- 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: RPC Error after 2.3 upgrade: The response could not be deserialized
Well thank's for your helpful answer :) Removing com.google.gwt.user.client.rpc.core.java.sql from gilead4gwt worked for me too. Should I post the custom .jar somewhere and put a link to it in the gilead support forum? On May 6, 3:19 pm, VKMS vkm...@gmail.com wrote: At stackoverflow - that's my answer... :) I tried the fix described at the link above: in gilead4gwt*.jar I removed *.class files from the following package: com.google.gwt.user.client.rpc.core.java.sql That fixed the issue I have, but not sure this doesn't introduce other things... This fix definitely needs to be negotiated between Gilead and GWT developers to discuss the best approach. -- 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.
RPC Error after 2.3 upgrade: The response could not be deserialized
After upgrading to GWT 2.3 some of my RPC services no longer work and fail with The response could not be deserialized. It seems to happen to services that are returning objects that are use Date objects that are annotated with @Temporal(TemporalType.TIMESTAMP). I use Gilead 1.3.1 and Hibernate 3.6 and I had no issues with GWT 2.2. Any idea what could be going on, or how to start debugging? Here's the stack trace: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The response could not be deserialized at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java: 221) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java: 287) at com.google.gwt.http.client.RequestBuilder $1.onReadyStateChange(RequestBuilder.java:395) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java: 326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 207) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 132) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:680) Caused by: com.google.gwt.user.client.rpc.SerializationException: java.sql.Timestamp/1769758459 Caused by: com.google.gwt.user.client.rpc.SerializationException: java.sql.Timestamp/1769758459 at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java: 153) at com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java: 114) at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java: 111) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java: 119) at com.lensoo.shared.entity.Course_FieldSerializer.deserialize(Course_FieldSerializer.java: 320) at com.lensoo.shared.entity.Course_FieldSerializer.deserial(Course_FieldSerializer.java: 405) at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java: 95) at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java: 113) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java: 119) at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter $ResponseReader$8.read(RequestCallbackAdapter.java:106) at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java: 214) ... 26 more ... 26 more -- 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: RPC Error after 2.3 upgrade: The response could not be deserialized
Thanks for the suggestion. I've replaced all the GWT jars just to be double sure. I still have the same problem though. On May 5, 12:59 pm, Andrei Bulanau helper.h...@gmail.com wrote: May be you have old version gwt-servlet.jar in your project. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT war file inside a EAR file
I've successfully created an EAR with GWT and glassfish, it wasn't too difficult. I used gilead with hibernate for persistence. The only trick was getting GWT to compile, as my entities are in the EJB, and GWT was in the WAR. I simply made sure the .java files we available to the WAR. I can provide a sample project if needed. Cheers, Kevin On Sep 4, 5:51 pm, Marcelo Balloni marceloball...@gmail.com wrote: Hi Mariano, Thank you very much. I Already have an application.xml descriptor with exactly all proper configurations. What i don't have is a weblogic-application.xml descriptor, but i'll try it no later than monday. But i must ask, what if i try to deploy on glassfish or jboss per example (real situation here)? do i need some particular descriptor to? Actually i haven't tested deploying it on glassfish before, gonna do that. One more time thank you very much. 2010/9/4 Mariano mgo1...@gmail.com Hi Marcelo, Some weeks ago I've implemented exactly what you are trying (putting the WAR inside an EAR file and deploying it into a Weblogic server). Doing it it was pretty straightforward in my case, I didn't need any change regarding GWT coding or deployment. The steps I followed were: 1. Create an application.xml descriptor 2. Create a weblogic-application.xml descriptor 3. Do all the proper EAR packaging (see next paragraph for my directory layout) After doing that in order to deploy it in Weblogic, just copy that EAR file into your DOMAIN/autodeploy directory OR deploy it thru WebLogic's console as any usual application. This is my directory layout: app-ear/META-INF/MANIFEST.MF app-ear/META-INF/application.xml app-ear/META-INF/weblogic-application.xml app-ear/myapp.war And the contents of my deployment descriptor files are: Content of META-INF/application.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd' application display-nameMy Application/display-name descriptionMy Application description/description !-- GUI -- module web web-urimyapp.war/web-uri context-rootmyapp/context-root /web /module /application Content of META-INF/weblogic-application.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE weblogic-application PUBLIC -//BEA Systems, Inc.//DTD WebLogic Application 8.1.0//EN http://www.bea.com/servers/wls810/dtd/ weblogic-application_2_0.dtd weblogic-application prefer-application-packages !-- I have something here, but it is related to my particular application and not related with GWT -- /prefer-application-packages /weblogic-application Hope it helps and good luck, Mariano Ortega On Sep 2, 4:47 pm, Marcelo Balloni marceloball...@gmail.com wrote: Hi folks! I developed a gwt application and package it as a war file. Everything works fine. But when i try to package it inside an EAR file all my remote callings stoped to work (i'm using gwt default remoteserlvet calls). Actually i can't even deploy in weblogic (it gives an error). I've tried everything but without success =/ Is there something else i'm missing on gwt ear deployment? Thank you! -- 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.comgoogle-web-toolkit%2Bunsubs cr...@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-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: Assigning Minimum Height/Width to DockLayoutPanel?
I have a horrible solution... but at least it works on IE 6. I insert a clear .gif 1 pixel wide, and however tall you want, and another one 1px tall and however wide you want. It'n not pretty, but it works well. On May 9, 5:27 am, matttai matt...@hotmail.com wrote: Hi Group, I am trying to assign a min-height / min-width attribute to the DockLayoutPanel attached to the base via attaching a class styleName to it. It doesn't seem to have any effect at all. Does anyone have any hints as to how to have my base DockLayoutPanel bring up scrollers in the browser once it has been resized too small? Cheers, Matt -- 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 athttp://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-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: HTML5 Video in Mobile Safari
The same video plays fine on mobile safari when served up from a plain html page, just not when the html code is generated by my GWT widget. On Apr 16, 11:07 am, DCYorke d...@yorkemail.org wrote: I do know that if the video is too large for iPhone, you'll see the slashed play button. On Apr 13, 10:44 am, KevMo kevinps...@gmail.com wrote: 'm trying to code a site in GWT that plays videos with HTML5. Everything works great on the desktop, but mobile Safari on both the iPhone andiPaddo not play the video. I can play a video using Video for Everybody. I've even copied the code to my own plain HTML page, and it works flawlessly. If I serve that same code via a GWT widget, mobile safari will not play the video. On the iPhone I see a gray box with a prohibitory sign around the play button, and on theiPadit shows up as a black box. I've made sure my doctype is !DOCTYPE html, but I don't know where else to start debugging. Perhaps it it because the code is injected via javascript? Any pointers on where to start looking would be greatly appreciated. Here is the exact code I am using for the video: !-- Video For Everybody by Kroc Camen. see camendesign.com/code/ video_for_everybody for documented code === -- video width=640 height=360 poster=poster.jpg controls autoplay source src=http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4; type=video/mp4/source source src=http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv; type=video/ogg/source !--[if gt IE 6] object width=640 height=375 classid=clsid:02BF25D5-8C17-4B23- BC80-D3488ABDDC6B! [endif]--!--[if !IE]!-- object width=640 height=375 type=video/quicktime data=http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4; !--![endif]-- param name=src value=http://clips.vorwaerts-gmbh.de/ big_buck_bunny.mp4 / param name=autoplay value=true / param name=showlogo value=false / object width=640 height=384 type=application/x-shockwave- flash data=player.swf? autostart=trueamp;image=poster.jpgamp;file=http://clips.vorwaerts- gmbh.de/big_buck_bunny.mp4 param name=movie value=player.swf? autostart=trueamp;image=poster.jpgamp;file=http://clips.vorwaerts- gmbh.de/big_buck_bunny.mp4 / !-- fallback image -- img src=poster.jpg width=640 height=360 alt=Big Buck Bunny title=No video playback capabilities, please download the video below / /object!--[if gt IE 6]!-- /object!--![endif]-- /video -- 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 athttp://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-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.
HTML5 Video in Mobile Safari
'm trying to code a site in GWT that plays videos with HTML5. Everything works great on the desktop, but mobile Safari on both the iPhone and iPad do not play the video. I can play a video using Video for Everybody. I've even copied the code to my own plain HTML page, and it works flawlessly. If I serve that same code via a GWT widget, mobile safari will not play the video. On the iPhone I see a gray box with a prohibitory sign around the play button, and on the iPad it shows up as a black box. I've made sure my doctype is !DOCTYPE html, but I don't know where else to start debugging. Perhaps it it because the code is injected via javascript? Any pointers on where to start looking would be greatly appreciated. Here is the exact code I am using for the video: !-- Video For Everybody by Kroc Camen. see camendesign.com/code/ video_for_everybody for documented code === -- video width=640 height=360 poster=poster.jpg controls autoplay source src=http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4; type=video/mp4/source source src=http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv; type=video/ogg/source !--[if gt IE 6] object width=640 height=375 classid=clsid:02BF25D5-8C17-4B23- BC80-D3488ABDDC6B! [endif]--!--[if !IE]!-- object width=640 height=375 type=video/quicktime data=http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4; !--![endif]-- param name=src value=http://clips.vorwaerts-gmbh.de/ big_buck_bunny.mp4 / param name=autoplay value=true / param name=showlogo value=false / object width=640 height=384 type=application/x-shockwave- flash data=player.swf? autostart=trueamp;image=poster.jpgamp;file=http://clips.vorwaerts- gmbh.de/big_buck_bunny.mp4 param name=movie value=player.swf? autostart=trueamp;image=poster.jpgamp;file=http://clips.vorwaerts- gmbh.de/big_buck_bunny.mp4 / !-- fallback image -- img src=poster.jpg width=640 height=360 alt=Big Buck Bunny title=No video playback capabilities, please download the video below / /object!--[if gt IE 6]!-- /object!--![endif]-- /video -- 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: GWT URL Parameters
Thanks Max, I did find that post earlier, however since there is a built in way of getting URL parameters I thought there would also be a built in way of setting them. That post suggests using the history to set the parameters, but then I would need to make my own functions to parse the history token for the parameters. Cheers, Kevin On Jul 15, 9:24 pm, Max maks...@gmail.com wrote: Hi KevMo, I think you can find this information in this post:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... Also you can search for URL Parameters or Parameters in this group so find more posts. Regards, Max On Jul 15, 11:00 am, KevMo kevinps...@gmail.com wrote: I know I can getURLparametersby using Window.Location.getParameter (), but how does one programatically set theurlparameter? --~--~-~--~~~---~--~~ 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 URL Parameters
I know I can get URL parameters by using Window.Location.getParameter (), but how does one programatically set the url parameter? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---