Re: XMLHttpRequest2 in 2.5?
On Tuesday, September 25, 2012 5:35:02 AM UTC+2, Brandon Donnelson wrote: Does anybody know if XMLHttpRequest2 is in or slated for 2.5? It depends what you mean by XMLHttpRequest2. responseType is here (was in RC1 already but was broken), with the ability to get the response as an ArrayBuffer, but that's it: no progress events, no send() overload for typed arrays, no withCredentials, etc. That being said, apart from progress events, everything can be accomplished really easily with JSNI (progress events too, we're using them in a project at work when uploading files). I think the main problem is to provide a way to detect which features are available; it's easy for responseType='arraybuffer' because you can just test whether typed arrays are supported (all browsers supported by GWT implement either both or none), it's a bit less straightforward for other features. For those in a controlled environment (our app only supports Firefox, so we didn't bother checking for feature availability), it's best to resort to JSNI: if you know what you're doing, well, do it, you know what you're doing anyway. However, as always: patches welcome! -- 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/-/3DixA8tX4AQJ. 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: Super Dev mode : speed, find source in Chrome, stacktrace of exception
On Tuesday, September 25, 2012 7:59:16 AM UTC+2, maticpetek wrote: Hi, We are testing Super Dev mode and the following questions rise to me : 1) every time we change Java code, we have to hit Dev mode on button and then Compile. In best times it took 40 seconds on my computer. And then I have to refresh my browser window. This is not really a magnitude of speed increase agains FF Dev more. Reload usually takes around 50-60 seconds. We have around 160k lines of client code. Is this expect behavior? The goal is 10secs max, but there are known issues (IIUC, generators need to be updated to take advantage of CachedGeneratorResult, and only RPC and ClientBundle generators seem to have been updated for now; but maybe that's expected: they are those generators that generate static files, not only Java classes) 2) When we get exception in client code, Dev mode will print out full stacktrace. Is something like this available in SuperDev mode? For example, the following code : String bla = null; bla.length(); // Exception will print Uncaught TypeError: Cannot read property 'length' of null in Chrome Console windows, you can get source of compile JS code, but matching this with Java code is practical imposible. 3) Chrome Development Tools. We have let say 500 java source code files in different packages. How can I find specific class in tree structure? You can find right up the search field (Search Sources), but you cannot search by source files. Ctrl+O will search by filename. -- 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/-/0rjpt2CFoJkJ. 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: rename-to module attribute and DevMode
On Monday, September 24, 2012 9:59:00 PM UTC+2, Joseph Lust wrote: We've been working with *rename-to* so that our apps (many submodules) don't all have ugly, huge urls with the full package name in them. This is working well, however when we switch to DevMode, it won't run. DevMode appears highly dependent on guessing the location of the X.gwt.xml file based on the URL. There's no guessing: you give DevMode the list of modules you want, and it then keeps the modules in a map keyed by their rename-to. -- 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/-/5bDZx4528WAJ. 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: Super Dev mode : speed, find source in Chrome, stacktrace of exception
On Tuesday, September 25, 2012 7:59:16 AM UTC+2, maticpetek wrote: 2) When we get exception in client code, Dev mode will print out full stacktrace. Is something like this available in SuperDev mode? For example, the following code : String bla = null; bla.length(); // Exception will print Uncaught TypeError: Cannot read property 'length' of null in Chrome Console windows, you can get source of compile JS code, but matching this with Java code is practical imposible. I'm using remote logging and emulated stack traces (which can print beautiful emulated Java stack traces, containing Java method names and line numbers, even for compiled and obfuscated JavaScript) as explained in http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions But what's missing for super dev mode is the possibility to specify the -extra argument, which can be specified for the GWT compiler (which is needed to update the symbol maps). Super dev mode's CodeServer currently just says Unknown argument: -extra. So in super dev mode, this currently leads to output like: java.lang.Throwable: Some at Unknown.$collect(Unknown Source) at Unknown.fillInStackTrace_1(Unknown Source) at Unknown.fillInStackTrace(Unknown Source) at Unknown.$fillInStackTrace(Unknown Source) -- 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/-/XGKE1rhZ8M4J. 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 Designer - Can't create SWT Browser
Hi, is there really no fix? This prevents me from doing anything with UIBinder... Magnus -- 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/-/zY9ll57tQ6wJ. 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: Change i18n constants in GWT for sweden
Hi Thomas Thank you for your help. It seems that the format is correct and we got wrong informations about this. It's a bit confusing that one of them is year-month-day and the others are day-month-year. Kind regards Roman Am Freitag, 21. September 2012 10:31:14 UTC+2 schrieb Thomas Broyer: On Friday, September 21, 2012 10:16:11 AM UTC+2, roman_e wrote: Hello I use the i18n functionality of GWT to create a multilingual webapplication and I'd like to translate it into swedish too. But there's the problem that the date format for GWT is wrong in its constants file, so it's in the wrong format on the page. Those formats come from the Unicode Consortium's CLDR: http://cldr.unicode.org/ I see they released a new version a week ago, which brings a lot of changes according to their announcement, so hopefully it's just that GWT should be updated to use these new definitions? Is it possible to overwrite these constants somehow without changing the file in the gwt-user.jar itself? I think the easiest would be to define a new locale (e.g. se_XX) where you override the formats you want to change, and make sure you never use the se locale but always the se_XX one (putting only se_XX in the locale property might be enough, with the drawback that se would then use the fallback locale). -- 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/-/LG4PmKg3r5AJ. 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: Super Dev mode : speed, find source in Chrome, stacktrace of exception
On Tuesday, September 25, 2012 11:59:37 AM UTC+2, Chris Lercher wrote: On Tuesday, September 25, 2012 7:59:16 AM UTC+2, maticpetek wrote: 2) When we get exception in client code, Dev mode will print out full stacktrace. Is something like this available in SuperDev mode? For example, the following code : String bla = null; bla.length(); // Exception will print Uncaught TypeError: Cannot read property 'length' of null in Chrome Console windows, you can get source of compile JS code, but matching this with Java code is practical imposible. I'm using remote logging and emulated stack traces (which can print beautiful emulated Java stack traces, containing Java method names and line numbers, even for compiled and obfuscated JavaScript) as explained in http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions But what's missing for super dev mode is the possibility to specify the -extra argument, which can be specified for the GWT compiler (which is needed to update the symbol maps). Super dev mode's CodeServer currently just says Unknown argument: -extra. So in super dev mode, this currently leads to output like: java.lang.Throwable: Some at Unknown.$collect(Unknown Source) at Unknown.fillInStackTrace_1(Unknown Source) at Unknown.fillInStackTrace(Unknown Source) at Unknown.$fillInStackTrace(Unknown Source) That's similar to the issues with *.gwt.rpc files: Super Dev Mode will use a new extra folder for each compilation. I haven't used GWT for weeks unfortunately, but I seemed to remember that JS native stacktraces worked well with source maps (at least being navigable, if not easily readable) -- 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/-/NGPWl4KCMB0J. 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 Designer - Can't create SWT Browser
Honestly I have never used GWT designer. Eclipse + Google Plugin provides pretty good auto completion in UiBinder xml files. Just make sure you open the UiBinder xml with the UiBinder Template Editor (right click - open with) that comes with the Google Plugin. Sure this does not solve your problem with GWT designer but a missing GWT designer does not prevent you from working with UiBinder efficiently. Also if your problem is Can't create SWT browser it sounds more like that SWT does not work correctly in your Eclipse for some reason. Have you evaluated the exception stack trace in Eclipse's error log? (window - show view - error log) -- J. Am Dienstag, 25. September 2012 12:55:31 UTC+2 schrieb Magnus: Hi, is there really no fix? This prevents me from doing anything with UIBinder... Magnus -- 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/-/K00MhFEAtLIJ. 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 2.5 RC1 Is Here!
Is the 2.5 release still on track? Still only seeing rc1. Thanks, On Thursday, September 13, 2012 4:52:18 AM UTC-4, Thomas Broyer wrote: On Thursday, September 13, 2012 10:10:54 AM UTC+2, Rahul wrote: I starting using 2.5RC now in my local testing with GWTP, GWT-Bootstrap. Superdev is fast! Reduced compile time considerably. Though, setting up is a bit of pain. Any ideas when is 2.5 getting released? Looking fwd to it. Keep up the good work RC2 should hit the street next week, with the final release by the end of month, roughly. -- 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/-/SutcdJ5P3TIJ. 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 2.5 RC1 Is Here!
I would say so. Last commit has changed the pom.xml of GWT examples to include GWT 2.5 RC2 as dependency (http://code.google.com/p/google-web-toolkit/source/detail?r=11299) -- J. Am Dienstag, 25. September 2012 14:59:26 UTC+2 schrieb Samyem Tuladhar: Is the 2.5 release still on track? Still only seeing rc1. 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/-/QUG_wo_SaIwJ. 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.
DecoratorPanel - Layout panel
I want to use the DecoraterPanel inside a Layout Panel (DockLayoutPanel) . The problem is that there is no DecoratorLayoutPanel implementation and therefore if I want to use this panel inside a Layout Panel, all childs will loose the resize events because the resize-chain is broken through the DecoraterPanel . Is there any workaround? -- 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/-/XF5SvRYBmmoJ. 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 - prompting me to install gwt plugin but already installed
Hi Xavier, I've also encountered the same problem. Would you please share if you have you figured out a solution? Thanks, Otosaat. On Friday, April 27, 2012 3:25:40 AM UTC-4, Xavophonic wrote: Hi, Here is my configuration Google Web Toolkit 2.0.4 on my server Jetty. Chrome version 18.0.1025.162 m Windows XP PS3. Google Web Toolkit Developer Plugin version 1.0.9738. After installed the plugin, I restart Chrome. I come back to my development page. I still have got the message : Development Mode requires the Google Web Toolkit Developer Plugin. I tried the former URLs to an old version of the plugin, but they are broken. Publishing the old version of the plugin in the extention gallery would be helpfull. Could someone help me ? Best regards, Xavier -- 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/-/Al_uqOztgk0J. 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: TabLayoutPanel with scroll buttons
please can you show me how to use it , i coudn't even test it ! -- 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/-/RUADpqouugoJ. 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: Smart GWT / GWT Ext.... which one is better?
smartgwt is only a wrapper over a js library... you can get problem between browser... After some test, i think GXT 3 is the best choice, very easy to use, good documentation. Sure is not free... but the time saved...you buy easily a licence you can also check vaadin (it use gwt for widget) ... it's a server centric framework... but vaadin 7 will support client side too... Le jeudi 13 septembre 2012 21:29:00 UTC+2, Manuel a écrit : Hi everyone, I just started on GWT and reading alot on that guides and tutorials. Actually i try to find out, which tool to use, to design UI. Regarding to this post http://code.google.com/p/gwt-ext/ I should use smartgwt, but... I looked these showcases up: http://www.gwt-ext.com/demo/#gridGrouping http://www.smartclient.com/smartgwt/showcase/#grid_summaries I think, gwt ext feel more smooter to use and its not as laagy as smartgwt. So, I just started and try to figure out whats the pros / cons on each tool... Hope you can help me with that, and give me maybe some hints I missed. Thanks Regards, Manuel -- 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/-/s8yl2Z5rHTwJ. 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.
Bug with FormPanel for POST request in Firefox
I've asked this question on stack overflow, maybe someone here will know more: http://stackoverflow.com/questions/12480614/gwt-formpanel-method-replaced-by-input-parameter Essentially, it seems like my FormPanel's method is being overridden by a hidden input parameter of the form itself (which also has the name method) in Firefox, despite explicitly calling form.setMethod(FormPanel.METHOD_POST). The problem is solved by changing the parameter to _method (or anything else) though I want to avoid changing the servlet. Curtis. -- 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/-/AnpZsyRvdLoJ. 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: TabLayoutPanel with scroll buttons
hi , please can help me understand what do you mean by saying You should be able to wrap it into a Composite and then reference that Composite in your UiBinder file though. ?? and i m searching for a widget that can help me do this http://www.youtube.com/watch?v=bUDpr-v-jHAfeature=relmfu (in 1:56) , is this code is what i am looking for ? I used a tablayoutpanel and when it comes to doing scrollable tabs , i foud your code !! but i can't be sure ! -- 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/-/8IzF8Q40Gp8J. 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.
The Future of GWT Survey is now live!
*This year has brought many changes to GWT from Super Dev Mode and Elemental to the creation of the GWT Steering Committee (which Vaadin is proud to be a part ofhttps://vaadin.com/press/2012-06-29-vaadin-to-support-google-web-toolkit-gwt-development ). As part of the committee, Vaadin would like to learn more about the community that we all serve, so together with Ray Cromwellhttps://plus.google.com/110412141990454266397/posts(Google representative and acting Committee Chair), Artur Signell http://fi.linkedin.com/pub/artur-signell/8/583/547 (Vaadin representative), Mike Brock http://ca.linkedin.com/pub/mike-brock/3/81/903(RedHat representative), David Chandler http://www.linkedin.com/in/davidchandler (Developer Advocate at Google), Daniel Kurka http://www.daniel-kurka.de/ (mgwt, gwt-phonegap), and Bhaskar Janakiraman http://googlewebtoolkit.blogspot.com/ (Google), we came up with The Future of GWT survey. Please help us understand: - How should GWT develop? - What technologies should it better support? - What are best practices within the community? - What is your opinion on the future of GWT? Information is king - So once we collect all the data from this survey, we’ll work together to build The Future of GWT Report.. which we’re happy to publicly share all the information we find with you, so that we can all make educated decisions about the future! Can you take 10 mins to fill out The Future of GWT surveyhttp://bit.ly/GWT2012 ?* -- 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/-/aBesPgFpw1sJ. 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: Unable to open GWT designer.
I have the same problem. I have Eclipse Juno and have just installed the latest GWT. *I cannot get the Designer view* (stuck with default source view instead). Also, Preferences Google Web Tool Kit Designer throws this error Unable to create the selected preference page Bug? Thanks, JaseT On Tuesday, September 18, 2012 12:18:38 PM UTC+10, Aman Sharma wrote: I have Eclipse Juno with Google Plugin,GWT designer,Windows builder,google app engine sdk,GWT sdk installed. My problem is that I am not able to use GWT designer. Whenever I try to open entrypoint class with GWT designer in design view it reports an error that not able to parse web.xml. So what should I do to make it work? -- 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/-/7wDxGAoaQC8J. 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.
Integrating a Application made with GWT 2.4.0 into Struts framework 1.1.
Hello, I recently made an application that displays data found from a database and the user can query addition data by specifitying some criterias and pressing a button. This will then update the page and add 11 graphs to the layout manager. I wanted to integrate this whole application into one of the tabs on a website that uses Struts 1.1. I am not a web developer and have been having a hard time learning the two different structuers and how they can interact with each other. If anyone can help, it will be greatly appreciated. Anything that may help works, thank you very much. I can also include some pictures of the application to give an idea of what needs to be done. Thank you. Ps( I think there is only 1 page to add into Struts but i am not sure how everythign would integrate) Thank you once again. -- 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/-/ReVHlMdbHBIJ. 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: Problems using JavaMail within hosted mode in Eclipse
Hi, I am running to the same issue. Have you found solution for this? -Ari -- 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/-/O9etU2hkeNMJ. 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: DevMode for Firefox 14
Hi , Thie link below seems to be broken... please help. 10xs, ilana בתאריך יום שלישי, 24 ביולי 2012 08:49:30 UTC+3, מאת Alan Leung: Last but not least, http://acleung.com/ff14-mac.xpi Have fun! -Alan On Mon, Jul 23, 2012 at 11:42 AM, Jens jens.ne...@gmail.com javascript: wrote: ALL: Please star this issue: https://code.google.com/p/**chromium/issues/detail?id=** 138557thanks=138557ts=**1343057729https://code.google.com/p/chromium/issues/detail?id=138557thanks=138557ts=1343057729 it might help to have better support for GWT devmode development (GWT plugin) for Chrome, and we can forget about firefox. You better take a look at: http://code.google.com/p/google-web-toolkit/issues/detail?id=4493#c24and the two referenced chromium issues. It seems like that the chromium issues do not have a high priority since NPAPI may become obsolete in the future in favor of PPAPI. Its well known that the Chrome Dev Mode plugin is slower compared to Firefox because it has to work around mentioned chromium issues. -- 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/-/x_LiifvyZoUJ. 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/-/z57xrn90ymYJ. 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 HIBERNATE SPRING MYSQL Example
hello I ve the same problem ,you found something of interesting? Thanks Domenico Il giorno mercoledì 27 aprile 2011 10:25:32 UTC+2, junaidp ha scritto: Hi I am looking for some example / tutorial for GWT , HIBERNATE , SPRING , MYSQL Integration I've been looking on google for that but no success , Any help would be appreciated.. thanks junaid -- 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/-/JcOXARd_TOwJ. 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.
Set RootPanel with View from Gin
I created a View that extends SplitLayoutPanel via Gin and I want to set it on the RootPanel so it can receive the resize events and everything will scale smoothly. Problem is when I do this the view gets a height of 0px and even if I set the height it doesn't seem to behave correctly. Currently I do this in onModuleLoad RootPanel.get().add(injector.getShellView()); // where shellView is a SplitLayoutPanel If I create a SplitLayoutPanel not via Gin and add it, it works correctly. Any ideas? More importantly, how would you go about debugging this problem? 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/-/nFilUNJXrHwJ. 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.
Style: @sprite doesn't support overwrite !important
Right now, at version 2.4, @sprite still does not support !important property. So, in this case, we must define the absolute path to the resources, likes that: .classA { background: url (path to resource) } However, I don't have any idea about how can do if the this style file is in java source package. Have anyone ever got this before? -- 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/-/7W6FBlAA0XgJ. 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: Future of GWT survey
I second the call for reducing compile times and making it more extendable. The slow compile/link times are a major impediment to development. Some of our developers are in favor of dumping GWT in favor of native javascript toolkits because the slow dev mode and compile/link times are impeding their ability to iterate quickly. I still think the ability to use Java testing and refactoring tools makes it worth it, but as our code base grows the tradeoffs are getting more painful. We have run into a number of situations where we wound up forking the code in order to work around classes that weren't using interfaces and weren't designed with extensibility in mind. Some of the newer classes are better designed, but there's still a lot of fixup to do. I hope this gets some attention going forward. Another request is to keep the separation between client and server clean. We are building on top of a mixture of legacy Apache as well as Java (jetty) servers. Our ability to use GWT as a client only library has been critical to our success. Any move to tie the front end more tightly to a specific back end technology will make it harder for us to use. -- 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/-/SvLl8kBz3D8J. 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.
Expand all / Collapse all functionality in CellTree
Hello Everyone, I am implementing a CellTree in my GWT 2.3 application. On right click of any cell I want to add the functionality of Expand All Collapse all, that expands collapses the complete SubTree under that Cell. Also, on double click to the cell I want to add the functionality of Expanding Collapsing just the next level to nodes in the tree. ( Same as the default behavior of clicking on the 'arrow image' for each node.). I have gone thourgh various posts regarding this, but I cannot understand the way to retrieve the TreeNode instance corresponding to my Cell on which the event is being performed. Please help. Thanks Ankur -- 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/-/EIPa4oWxw-EJ. 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: Conditional script tag in a GWT module declaration
Bump! Would also like to see this. I have some great webkit styling for native scrollbars via css but for other browsers I am having to use a jQuery plugin to replace the native ones (yuck) I would like to only include this script for non webkit browsers but currently its all or nothing. On Sunday, 16 October 2011 23:20:52 UTC+1, Lukas Laag wrote: Hi all, I would like to create a GWT module which includes a third-party javascript library (a javascript xpath library) to patch a weakness for one of the targeted browsers (IE, which does not support xpaths). However I do not want to impact negatively the other browsers, which already have native xpath support: it would be a bad idea to force them to download the library if they are not going to use it. Does anybody know if there is a way to use a script tag in my module file, but only for the ie user agent ? If not does anybody have a clever way of achieving the same thing ? Many thank regards Lukas -- 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/-/0oMq8UabNzIJ. 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.
Navigation and history support while using activities and places
I have an application designed as follows. It is a travel claim reimburment app. It has two tabs: 1. My Claims : shows all reimbursment claims made so far 2. My Account: showing my details It has number of claims on the Left and when selected displays Entries on the Right. The picture of the view expected is attached. https://lh6.googleusercontent.com/-3khQuQYJr7o/UFsrb-nPWYI/AAM/t5dx-0gkhSI/s1600/AppView.png I have made the following Views. AppView : for Entire App which has tab panel and tabs MyAccountsView : for contents under MyAccount Tab. MyClaims View : for contents under Myclaims Tab. This has two panels. The one in left loads with the claims. The right is empty till a claim is selected to view. SelectedClaimView : for panel on the right hand side,which displays the claimentries of selected claim.. Each view has a correponding place and activity. These are th following requirements which I am getting difficulty while creating my application: *When I click on claim on left hand panel the right hand panel must show claim entries within selectedClaimView. When I click another claim the list must be populated by contents of that claim. I also want history support for this claim selection.* I am facing following problems while designing: 1. How to add nested activities. e.g. When I select MyClaimsTab all claims must load up in left panel. On Selection of claim the claim entries must load in right panel via selected claims view. However calling an activity and changing the place stops the calling activity. 2. Also Both the activities in both tabs must run simultaneosly and history must be maintained between tab switches. This is something I dont know how to do and would appreciate suggestions. -- 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/-/6oC1aTielMgJ. 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. attachment: AppView.png
How get iFrame contents with different domains ?
Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- 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/-/_HHds9xI1ToJ. 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.
RequestFactory ServiceLocator persist chilld onetomany
Hi all, I use resquestfactory with Locator and ServiceLocator and am trying to persist an entity that has a one to many, but the layer server children are not sent. When I do find, the children leave the server to the client layer without problems using .wth(child). Anyone know how to persist in a single request? Follow the entity used: -- Parent -- public class Usuario implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator=usuario_seq) @Column(name = ID, nullable = false) private Long id; @Column(name=\ADMIN\, length = 1) private boolean admin = false; @Column(name = EMAIL, length = 60) private String email; @Column(name = SENHA, length = 60) private String senha; @Column(name=SESSION_ID) private String sessionId; //@Version @Column(name=\VERSION\) private Integer version = 0; //bi-directional many-to-one association to UsuarioIe @OneToMany(targetEntity=UsuarioIe.class, cascade=CascadeType.ALL, mappedBy=usuario, fetch = FetchType.EAGER) private ListUsuarioIe usuarioIes; @PrePersist @PreUpdate protected void increment() { version = version + 1; } -- Child -- public class UsuarioIe implements Serializable { private static final long serialVersionUID = 1L; @EmbeddedId private UsuarioIePK id; //@Version @Column(name=\VERSION\) private Integer version = 0; //bi-directional many-to-one association to Usuario @ManyToOne //(cascade=CascadeType.ALL, fetch = FetchType.EAGER) @JoinColumn(name = USUARIO_ID, nullable = false, insertable = false, updatable = false) @PrimaryKeyJoinColumn(name=USUARIO_ID, referencedColumnName=ID) private Usuario usuario; @PrePersist @PreUpdate protected void increment() { version = version + 1; } -- That way I'm doing the persistence -- RequestContext context = editorDriver.flush(); this.cachedObject = cachedRequestContext.edit(cachedObject); //here comes the object without the children ListUsuarioIeProxy teste = new ArrayListUsuarioIeProxy(); //'m riding the children to manually test for (int i=0; i ies.getItemCount(); i++) { UsuarioRequest usuarioRequest = getRequestFactory().usuarioRequest(); UsuarioIeIdProxy id = usuarioRequest.create(UsuarioIeIdProxy.class); UsuarioIeProxy ie = usuarioRequest.create(UsuarioIeProxy.class); id.setIes(ies.getItemText(i)); id.setUsuarioId(cachedObject.getId()); ie.setId(id); teste.add(ie); } cachedObject.setUsuarioIes(teste); cachedRequestContext.persistir(cachedObject).to(new ReceiverVoid() { // @Override public void onSuccess(Void arg0) { performLeave(); AppUtils.eventBus.fireEvent(new UsuarioEvent(null, EditorMode.LEAVE)); //TODO - fazer o refresh por linha ou tudo? } }); context.fire(); Thank you. -- 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/-/-DWwXag8gEoJ. 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: Disable backspace
So where does this code get add? -- 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/-/zdMV_iX2zdAJ. 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.
UIBinder with MGWT Problem
Hi, When I tried to switch from code to design in uibinder with mgwt, I get this exception encountered unexpected internal error. This could be caused by a bug or by a misconfiguration issue, conflict, partial update, etc. org.mvel2.PropertyAccessException: unable to resolve method: com.google.gdt.eclipse.designer.uibinder.model.widgets.WidgetInfo.getWidget() [arglength=0] This is my uibinder.xml file !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui xmlns:mgwt=urn:import:com.googlecode.mgwt.ui.client.widget mgwt:LayoutPanel mgwt:HeaderPanel mgwt:center g:HTML ui:field=center/g:HTML /mgwt:center /mgwt:HeaderPanel mgwt:ScrollPanel scrollingEnabledX=false g:FlowPanel mgwt:RoundPanel mgwt:MTextBox ui:field=name/mgwt:MTextBox /mgwt:RoundPanel mgwt:Button ui:field=editButton text=edit/mgwt:Button /g:FlowPanel /mgwt:ScrollPanel /mgwt:LayoutPanel /ui:UiBinder And it doesn't work but for example when I add gwt flow panel first like example below and switch to design mode it work. What is problem? I couldn't figure it out. g:FlowPanel styleName={style.panel} mgwt:LayoutPanel mgwt:HeaderPanel mgwt:center g:HTML ui:field=center/g:HTML /mgwt:center /mgwt:HeaderPanel mgwt:ScrollPanel scrollingEnabledX=false g:FlowPanel mgwt:RoundPanel mgwt:MTextBox ui:field=name/mgwt:MTextBox /mgwt:RoundPanel mgwt:Button ui:field=editButton text=edit/mgwt:Button /g:FlowPanel /mgwt:ScrollPanel /mgwt:LayoutPanel /g:FlowPanel -- 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/-/4Ru11LdOQ3UJ. 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 editors and objects with optional data
Hi, I'm trying to set up get editors with classes that are auto-generated to be something like: public static class Foo { String name; boolean isNameSet; public String getName() { return name; } public void setName(String name) { isNameSet = true; this.name = name; } public boolean hasName() { return isNameSet; } } But when I try the code: interface Driver extends SimpleBeanEditorDriverFoo, EditorTest {} public static class EditorTest extends DialogBox implements EditorFoo { @Path(name) Label nameEditor; public EditorTest() { nameEditor = new Label(); } } public void edit() { Driver driver = GWT.create(Driver.class); EditorTest test = new EditorTest(); driver.initialize(test); driver.edit(new Foo()); test.center(); } I get a compilation error about String not having a setName() or hasName() method. Is there some way I can use the GWT editor framework with objects that are like Foo (have set/get/has for each field)? -- 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/-/Ezq0SUseqk0J. 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.
problems creating a new Windowbuilder-GWT User Interface
Hi All, Hope you can help... I am trying out Windowbuilder and GWT for the first time and have encountered some problems. I am using Juno Eclipse 4.2. I have installed the Windowbuilder for this version. Next try and start a new GWT windowbuilder project by right-clicking in package explorer- new project - other - Windowbuilder - GWT user interface. The next screen tells me that I don't have Google Web Toolkit installed, and this is where i have the problems. I am getting the error below -- I have tried installing the GWT independently but whenever i try to crate a new project i get the wizard saying that GWT isn't installed. Hope someone can shed some light on this for me :) Thanks Spenny Cannot complete the install because of a conflicting dependency. Software being installed: Google Web Toolkit SDK 2.4.0 2.4.0.v201208080120-rel-r37 (com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group 2.4.0.v201208080120-rel-r37) Software currently installed: Eclipse IDE for Java Developers 1.5.0.20120614-1633 (epp.package.java 1.5.0.20120614-1633) Only one of the following can be installed at once: Team Support Core 3.6.100.v20120524-0627 (org.eclipse.team.core 3.6.100.v20120524-0627) Team Support Core 3.6.0.I20110525-0800 (org.eclipse.team.core 3.6.0.I20110525-0800) Cannot satisfy dependency: From: Google Plugin for Eclipse 3.7 3.1.0.v201208080120-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.1.0.v201208080120-rel-r37) To: org.eclipse.platform.feature.group [3.7.0,3.8.0) Cannot satisfy dependency: From: Google Web Toolkit SDK 2.4.0 2.4.0.v201208080120-rel-r37 (com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group 2.4.0.v201208080120-rel-r37) To: com.google.gdt.eclipse.suite.e37.feature.feature.group 3.1.0 Cannot satisfy dependency: From: Eclipse IDE for Java Developers 1.5.0.20120614-1633 (epp.package.java 1.5.0.20120614-1633) To: org.eclipse.epp.package.java.feature.feature.group [1.5.0.20120614-1633] Cannot satisfy dependency: From: EGit Import Support 2.0.0.201206130900-r (org.eclipse.egit.import.feature.group 2.0.0.201206130900-r) To: org.eclipse.team.core 3.6.100 Cannot satisfy dependency: From: EPP Java Package 1.5.0.20120614-1633 (org.eclipse.epp.package.java.feature.feature.group 1.5.0.20120614-1633) To: org.eclipse.egit.import.feature.group 0.0.0 Cannot satisfy dependency: From: Eclipse Platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f (org.eclipse.platform.feature.group 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f) To: org.eclipse.team.core [3.6.0.I20110525-0800] Cannot satisfy dependency: From: Eclipse Platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK (org.eclipse.platform.feature.group 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK) To: org.eclipse.team.core [3.6.0.I20110525-0800] Cannot satisfy dependency: From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q) To: org.eclipse.team.core [3.6.0.I20110525-0800] -- 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/-/TBJtL6BgRcIJ. 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.
Localize String array
Hi all, I'm quite new to GWT world and I've some issues. In this post I ask for help with localization. I've used an interface that extends Messages, like that: ... public interface MyMessages extends Messages { String text1(); String text2(); String text3(); } ... and so far works all properly. Problems born when I try to localize an array of strings like that: static String[] status = { READY, UNREADY } that I use in this way: btn.setText(status[0]); There is a standard way to localize an array strings? Thanks a lot, willy -- 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/-/Vm9WsdXsfXYJ. 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 file download IFrames IE8
Hi Thomas, I am running into the same problem and I didn't quite understand your suggestion. Was it meant to prevent showing iE8 security warning yellow bar, or the reloading of the page? Would you mind elaborating a bit more. Thanks, Mike On Friday, January 13, 2012 9:20:30 AM UTC-5, Thomas Broyer wrote: Use target=_blank on the link? -- 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/-/u3_JtUXuF0YJ. 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.
Using Smart GWT in GWT MVP framework with maven
Hi, Currently there is a requirement in our project for drag and drop feature in the tree format. So we are planning to use smart GWT. But when i include smart gwt dependencies in the pom.xml and start the project in jetty using mvn run. The application is throwing error in GWT GIN injector,but i have not used any smart gwt wigedt in our project just i have added the dependencies in the pom.xml i don't know why it is getting failed. if i remove the dependencies the application is loading properly. Can anyone advise me that where iam missing something or any other example to use the smart gwt with the mvp + maven . Thanks, Karthik -- 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/-/3M1dQg8MncoJ. 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 podcasts?
I forgot they are both available on iTunes too. On Friday, September 21, 2012 6:02:41 PM UTC-6, gpike wrote: When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items to you each week (or we strive for weekly). The second is http://www.gwtcasts.com/ where I hope to deliver bi-weekly screencasts that showcase GWT tips or techniques. We are just getting started but it should be interesting. Please check them out and let us know if you find them useful. Thanks, Gordon Pike On Tuesday, May 29, 2012 7:17:02 AM UTC-6, fishe...@gmail.com wrote: Can anyone recommend any good podcasts with some GWT content? -- 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/-/X0ZKHqjVwP8J. 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 podcasts?
Thanks! I'll look into these. On Friday, September 21, 2012 8:02:41 PM UTC-4, gpike wrote: When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items to you each week (or we strive for weekly). The second is http://www.gwtcasts.com/ where I hope to deliver bi-weekly screencasts that showcase GWT tips or techniques. We are just getting started but it should be interesting. Please check them out and let us know if you find them useful. Thanks, Gordon Pike On Tuesday, May 29, 2012 7:17:02 AM UTC-6, fishe...@gmail.com wrote: Can anyone recommend any good podcasts with some GWT content? -- 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/-/OouG51mEWv0J. 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: java.lang.NoClassDefFoundError: com/google/gwt/core/client/JavaScriptObject in hosted mode (only)
Hi Mark, Did you get to the bottom of this at all? I just got stuck with a pretty much identical problem and there's nothing on the web except this thread where noone has answered your question. This would be really good to crack or else I have to use something else for charting. On Monday, February 13, 2012 2:58:16 AM UTC, Mark wrote: I have been developing an app of several thousand lines that has worked great for weeks.All of a sudden yesterday it stopped loading in hosted mode (eclipse Indigo, chrome 16.0.912.77, GWT 2.4.0, Google plugin 3.7) . As described below, the problem is inherits name=com.google.gwt.visualization.Visualization/ in myProject.gwt.xml that is included for charts (and this used to work...) On loading (hosted mode on jetty), it raises this error: [ERROR] [reagentcalculator] - Failed to load module 'reagentcalculator' from user agent 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7' at quickstart.local:8243 21:48:57.007 [ERROR] [reagentcalculator] Unable to initialize static dispatcher java.lang.NoClassDefFoundError: com/google/gwt/core/client/ JavaScriptObject at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java: 1085) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 129) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 289) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 332) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 363) at java.lang.Thread.run(Unknown Source) Next step was to try a new project from the GWT template... it worked! Okay, so I assumed I introduced a bug. Over several hours, I reduced my application down to the following (which you may recognize as the preamble to the template). public void onModuleLoad() { final Button sendButton = new Button(Send); final TextBox nameField = new TextBox(); nameField.setText(GWT User); final Label errorLabel = new Label(); // We can add style names to widgets sendButton.addStyleName(sendButton); // Add the nameField and sendButton to the RootPanel // Use RootPanel.get() to get the entire body element RootPanel.get(nameFieldContainer).add(nameField); RootPanel.get(sendButtonContainer).add(sendButton); RootPanel.get(errorLabelContainer).add(errorLabel); } Alas, it STILL throws the error! Tracked down the problem to the line in myProject.gwt.xml inherits name=com.google.gwt.visualization.Visualization/ because I am using google charts in the full app (but not in the small version above). gwt-visualization.jar (latest 1.1.2) is copied into WEB-INF/lib and in project build path. If I comment out the inherits line, The code above works fine. Any ideas? Thanks, Mark -- 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/-/kZ5HiLKGRxMJ. 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.
Javascript Files generated by GWT
Hi Friends Is number user defined java classes is directly proportional to javascript files generated by GWT ?. Should i define application with least number of classes to decrease javascript files or size being generated?. Please provide your valuable thoughts. -- 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/-/KORBIvFrARIJ. 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: Future of GWT survey
Thanks for the feedback Chris! One of the nice things about doing a survey like this is the conversation that springs up around it, and you make a great point. On Wednesday, September 19, 2012 7:06:08 PM UTC+2, Chris Lercher wrote: Please excuse me for this negative feedback, but in my opinion, the survey is rather suggestive in that it presupposes that GWT should develop into something that better supports other technologies. It asks a series of questions that point in this direction (and it offers some free text questions about new features/extensions etc.), but it forgets to ask, which things should NOT change. I would have liked to answer, that it should not lose its core library character. It doesn't come with bells and whistles, but its enormous flexibility - imposing zero restrictions on what you can do in web development - is essential (like with any successful language). Focus on reducing compile times even more, fixing all bugs, making it more extendable (e.g. by removing some unnecessary private modifiers, removing static state, ...), improving support of Java core libraries (and things that are close, like Guava, Joda, ...), improving some basic widgets - but don't impose the specialized concepts of Vaadin, GXT, ... (which absolutely do have their place, in their own frameworks!) on GWT itself. That's actually the only worry I currently have about GWT's future (Note: I believe it will turn out well). On Wednesday, September 19, 2012 3:23:24 PM UTC+2, Joonas Lehtinen wrote: What is your opinion on the future of GWT? How should GWT develop? What technologies should it better support? ... We all would like to get answers to these questions, right? To do so, we created survey with help of Ray Cromwell, Artur Signell, Mike Brock, David Chandler, Daniel Kurka and Bhaskar Janakiraman. If you want to help finding the best direction for GWT, please fill the survey at: http://bit.ly/GWT2012 (it will take just 10 minutes) When the results are collected, the will share the information with you. - Joonas @ Vaadin -- 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/-/er5fYSb3XL0J. 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.
TabPanel is not showing information properly.
I have a TabPanel with several tabs. In every tab I want to show a table with the information of several objects. The table will show three fields of the object (name, address and description). For every tab I create a VerticalPanel that contains the class MyPaginationDataGrid thats extends from Composite. I include the class at the end of the message. The problem I am experiencing is that when I create the TabPanel, the selected tab (it doesn't matter if I select tab 1 or tab 3) shows the information correctly (columns headers and objects information), but when I select another tab I only can see the columns headers. Here I show you how I create the TabPanel. private void createTabPanel() { TabPanel groupsTab = new TabPanel(); groupsTab.setStyleName(tabPanel); groupsTab.setSize(657px, 537px); this.add(groupsTab); loadGroupsInTabPanel(groups); } private void loadGroupsInTabPanel(TabPanel groupsTab, ArrayListGroup groups) { if (groups != null) { for (Group g : groups) { ArrayListLocal locals = g.getLocals(); if (locals != null) { MyPaginationDataGridLocal grid = new MyPaginationDataGridLocal(); grid.setSize(1500px, 459px); grid.setDataList(locals); VerticalPanel vPanel = new VerticalPanel(); vPanel.setSize(100%, 100%); vPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_TOP); vPanel.add(grid); groupsTab.add(vPanel, g.getName()); } } this.groupsTab.selectTab(0); } } public class MyPaginationDataGridT extends PagingDataGridT { @Override public void initTableColumns(DataGridT dataGrid, ListHandlerT sortHandler) { ColumnT, String nameColumn = new ColumnT, String(new TextCell()) { @Override public String getValue(T object) { return ((Local) object).getName(); } }; nameColumn.setSortable(true); sortHandler.setComparator(nameColumn, new ComparatorT() { public int compare(T o1, T o2) { return ((Local) o1).getName().compareTo(((Local) o2).getName()); } }); dataGrid.addColumn(nameColumn, Nombre); dataGrid.setColumnWidth(nameColumn, 20, Unit.PCT); // Dirección. ColumnT, String addressColumn = new ColumnT, String(new TextCell()) { @Override public String getValue(T object) { return ((Local) object).getAddress(); } }; addressColumn.setSortable(false); dataGrid.addColumn(addressColumn, Direcci\u00F3n); dataGrid.setColumnWidth(addressColumn, 20, Unit.PCT); // Descripción. ColumnT, String descriptionColumn = new ColumnT, String( new TextCell()) { @Override public String getValue(T object) { return ((Local) object).getShortDescription(); } }; descriptionColumn.setSortable(false); dataGrid.addColumn(descriptionColumn, Descripci\u00F3n); dataGrid.setColumnWidth(descriptionColumn, 20, Unit.PCT); } } public abstract class PagingDataGridT extends Composite { private DataGridT dataGrid; private String height; private ListDataProviderT dataProvider; private ListT dataList; private DockPanel dock = new DockPanel(); public PagingDataGrid() { initWidget(dock); dataGrid = new DataGridT(); dataGrid.setWidth(100%); dataProvider = new ListDataProviderT(); dataProvider.setList(new ArrayListT()); dataGrid.setEmptyTableWidget(new HTML(No Data to Display)); ListHandlerT sortHandler = new ListHandlerT(dataProvider.getList()); initTableColumns(dataGrid, sortHandler); dataGrid.addColumnSortHandler(sortHandler); final SingleSelectionModelT selectionModel = new SingleSelectionModelT(); dataGrid.setSelectionModel(selectionModel); selectionModel.addSelectionChangeHandler(new SelectionChangeEvent.Handler() { @Override public void onSelectionChange(SelectionChangeEvent event) { Local local = (Local) selectionModel.getSelectedObject(); if (local != null) { local = null; } } }); dataProvider.addDataDisplay(dataGrid); dataGrid.setVisible(true); dock.add(dataGrid, DockPanel.CENTER); dock.setWidth(100%); dock.setCellWidth(dataGrid, 100%); } public void setEmptyTableWidget() { dataGrid.setEmptyTableWidget(new HTML( The current request has taken longer than the allowed time limit. Please try your report query again.)); } /** * * Abstract Method to implements for adding Column into Grid * * @param dataGrid * @param sortHandler */ public abstract void initTableColumns(DataGridT dataGrid, ListHandlerT sortHandler); public String getHeight() { return height; } public void setHeight(String height) { this.height = height; dataGrid.setHeight(height); } public ListT getDataList() { return dataList; } public void setDataList(ListT dataList) { this.dataList = dataList; ListT list = dataProvider.getList(); list.addAll(this.dataList); dataProvider.refresh(); } public ListDataProviderT getDataProvider() { return dataProvider; } public void setDataProvider(ListDataProviderT dataProvider) { this.dataProvider = dataProvider; } } Thanks in anticipation for any clue you can give me to know what I am doing wrong. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit
javascript files GWT generates
Hi All, I want to know how many files does GWT will generate for an application. If i design my application with alots small classes ,would it be good?. or Should i try to have design application such that java classes are minimum. I am not asking about exact figure, I am looking for best approach. Please provide the insight Thanks Imran. -- 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/-/s5uTZ-MEsUgJ. 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.
[Activities Places] How to save and display the criterias again when hitting the back button ?
Hi, We are using Activities and Places. I have a search view with several fields (criterias) and a submit button. When the user selects a few criterias and clicks on the submit button, the activity runs the search method and displays the results in a new result view. If the user goes back the search view is displayed again but the previous selected criterias are lost. How can i save them ? I know it has something to do with places and tokens and the history class but i have not found a clear example yet. Can someone give me some explanation or point me to a link ? Thanks for helping. -- 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: GWTRuby? How to communicate?
I agree with tc. In your rails controllers set your respond_to blocks to render json then you can use RequestBuilder to make your rest calls. You can then create jsni methods that eval the json and return Javascript Overlay object that you can use in your app. During development you may want to setup Apache as a reverse proxy so that you can run your GWT code in dev mode and call your Rails services running on a separate port (because of the cross site scripting limitations they need to be on the same domain, which means same port too). Alternatively you probably could use JRuby during development and make sure you can still deploy to MRI. Thanks, Gordon Pike http://gwtcasts.com http://easygwt.com On Saturday, September 22, 2012 6:57:58 PM UTC-6, tc wrote: My guess is that you would set up restful services on the server in ruby and use the request builder in gwt to send Json On Sep 22, 2012 8:04 PM, darkflame dark...@gmail.com javascript: wrote: I am a prettyy experienced GWT developer, but have no knowledge of Ruby...has anyone used them together? I am on shared hosting which doesn't support servlets, so my only server side options are php or ruby. Id normally use php, but ruby seems to have a better supported lib I want to use for Jabber communication. Ergo, I need to learn Ruby, but I dont want to bother unless I can still leverage my gwt skills for the front end. Thanks for any pointers/feedback. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-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/-/LU4czhM9GNUJ. 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.
Chrome incorrectly asks me to install GWT Developer Plugin
Chrome sporadically gives me the following message incorrectly: Development Mode requires the Google Web Toolkit Developer Plugin By downloading, you agree to the Terms Conditionshttp://code.google.com/webtoolkit/terms.html and Privacy Policy http://code.google.com/webtoolkit/privacy.html. Download the GWT Developer Plugin For Chrome https://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crxhttps://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crxplugins for other systems http://gwt.google.com/missing-plugin/MissingPlugin.html I already have the plugin installed. Would someone please give me pointers to troubleshoot this issue? Below are some info about my development environment: 1. Chrome: 21.0.1180.89 m 2. Eclipse 1. Version: Juno Release 2. Build id: 20120614-1722 Thanks in advance for your help. -Otosaat -- 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/-/B3PvRoLzgxkJ. 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 use image from webapp directory in ui.xml
Hello. I have ui.xml file with layout in some package *com/xxx/gwt/client/widgets/* * * and use image in that file like: *ui:image field='logo' src='images/about_logo.png'/* So if this image in package *com/xxx/gwt/client/widgets/images* all works fine. But i want to store images in *webapp* directory, in which case i cant access it from ui.xml. Always get error like: * [ERROR] Resource images/about_logo.png not found. Is the name specified as Class.getResource() would expect?* How i can access images in webapp from ui.xml?? -- 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/-/t7wGaeWTEK4J. 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: iOS 6 Bug: Safari caches POST requests
Hi, Whats the best away to solve this issue? I have hundreds of RPC and I'm looking for a global way to change the header to no-cache. Sincerely Rui -- 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/-/mhhgHGamPWMJ. 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: Hibernate ClassCastException in GWT hosted mode only
You helped me .thanks so muck. 在 2012年5月25日星期五UTC+8下午9时44分02秒,federevo写道: Hi all, here the procedure to apply the patch while 4.1.4 is not relased. 1. create a source folder (ie: src_patch) in your eclipse project 2. create the package org.hibernate.service.classloading.internal; 3. copy the patched source file ClassLoaderServiceImpl.java (attached) in the package (patch from v4.1.3) https://lh6.googleusercontent.com/-XB7EAsl8xkU/T7-MgOAKV3I/E1M/Vdgxb3LRD5w/s1600/Capture.PNG - eclipse will compile the class in web-inf/classes and it will override the old class Vincent Le jeudi 17 mai 2012 20:46:37 UTC+2, Christomania a écrit : Has somebody found a way to try the patch described here https://hibernate.onjira.com/browse/HHH-7084 ? Le mardi 1 mai 2012 18:42:18 UTC+2, AK a écrit : Same question, as it has been almost 2 months. Any word on ways to get this to work without downgrading hibernate? -- 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/-/316F0zJaMQQJ. 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.
Web Viewer for the ALMA Radio Telescope
Hello! I'm Satoshi Eguchi, a posdoc of National Astronomical Observatory of Japan, working on Virtual Observatory. I have recently developed a web data viewer for the ALMA Radio Telescope, which is built on Atacama Dessert, utilizing with GWT. URL : http://jvo-dev.mtk.nao.ac.jp/portal/alma/sv.do?action=dataset.infodatasetId=ALMA0006 In the area of radio astronomy, we observe radio signal distributions in space and frequency at the same time, that is, we have to handle 3-dimensional data in an analysis phase, and this is different from optical astronomy. I believe that this arouses new children's curiosity from a different aspect which google sky gives, and that this can be a important turning point for astronomy. I would like to know there are someone who is interested in my/our work and collaboration. Or, why don't you mention about our project on Google Web Toolkit in Action, Real world projects page? I appreciate reading the letter. Yours, Satoshi Eguchi ** -- 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/-/Fd5GjtZ6aEwJ. 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.
SelectionCell with unique list of options for every row
Hey, Can somebody help me. I need to create a CellTable with SelectionCell column, but for every row in must be unique list of options. By default it is shared for column. Thanks a lot. -- 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/-/djUJqBTb5qQJ. 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.
Chrome incorrectly complains that the GWT development plugin is missing
I already have this plugin installed. I restarted the browser and was able to access my GWT app in development mode. Does anyone know what's causing it, and how do I go about troubleshooting it? Thank you. -- 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/-/bFojeAaM2hsJ. 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.
Newbie listbox with Uibinder issue
I've been having a problem using the Listbox with the UIbinder but I can't seem to figure out why the following code doesn't populate the listbox on startup? public class RegistrationViewImpl extends Composite implements RegistrationView { private static RegistrationViewUiBinder uiBinder = GWT.create(RegistrationViewUiBinder.class); @UiField Button register; @UiField Button postcodeLookup; @UiField TextBox tbxFirstName; @UiField TextBox tbxSurname; @UiField TextBox tbxEmail; @UiField(provided=true) ListBox lbxDay; @UiField(provided=true) ListBox lbxMonth; @UiField(provided=true) ListBox lbxYear; @UiField(provided=true) ListBox lbxGender; @UiField(provided=true) ListBox lbxInterestedIn; @UiField TextBox tbxPostcode; @UiField ListBox lbxAddress; @UiField TextBox tbxUsername; @UiField PasswordTextBox tbxPassword; @UiField PasswordTextBox tbxCfmPassword; private Presenter presenter; @UiTemplate(RegistrationViewImpl.ui.xml) interface RegistrationViewUiBinder extends UiBinderWidget, RegistrationView { } public RegistrationViewImpl() { lbxDay = new ListBox(false); lbxMonth = new ListBox(false); lbxYear = new ListBox(false); lbxGender = new ListBox(false); lbxInterestedIn = new ListBox(false); populateListBoxes(); initWidget(uiBinder.createAndBindUi(this)); } private void populateListBoxes() { for (Integer day = 1; day = 31; day++ ){ lbxDay.addItem(day.toString()); } lbxDay.setVisibleItemCount(1); lbxMonth.addItem(January); lbxMonth.addItem(February); lbxMonth.addItem(March); lbxMonth.addItem(April); lbxMonth.addItem(May); lbxMonth.addItem(June); lbxMonth.addItem(July); lbxMonth.addItem(August); lbxMonth.addItem(September); lbxMonth.addItem(October); lbxMonth.addItem(November); lbxMonth.addItem(December); lbxMonth.setVisibleItemCount(1); int currentYear = DateUtil.getYearAsInt(new Date()); for (Integer year = 1900; year=currentYear; year++){ lbxYear.addItem(year.toString()); } lbxYear.setVisibleItemCount(1); lbxGender.addItem(Gender.Man.toString()); lbxGender.addItem(Gender.Woman.toString()); lbxInterestedIn.addItem(Gender.Man.toString()); lbxInterestedIn.addItem(Gender.Woman.toString()); } @UiHandler(register) void onRegisterClick(ClickEvent event) { if (!tbxPassword.getText().equals(tbxCfmPassword.getText())) { Window.alert(Passwords do not match.); } User user = new User(tbxUsername.getText(),tbxEmail.getText()); user.firstName = tbxFirstName.getText(); user.lastName = tbxSurname.getText(); DateTimeFormat fmt = DateTimeFormat.getFormat(.MM.dd); String day = lbxDay.getItemText(lbxDay.getSelectedIndex()); String month = lbxMonth.getItemText(lbxMonth.getSelectedIndex()); String year = lbxYear.getItemText(lbxYear.getSelectedIndex()); user.dob = fmt.parse(year + + month + . + day); user.gender = Gender.valueOf(lbxGender.getItemText(lbxGender.getSelectedIndex())); user.interestedIn = Gender.valueOf(lbxInterestedIn.getItemText(lbxInterestedIn.getSelectedIndex())); user.address.postcode = tbxPostcode.getText(); user.address.houseNumber = lbxAddress.getItemText(lbxAddress.getSelectedIndex()); presenter.onRegisterUser(user, tbxPassword.getText()); } @UiHandler(postcodeLookup) void onPostcodeLookupClick(ClickEvent event) { } @Override public void setPresenter(Presenter presenter) { this.presenter = presenter; } } and the XML.. !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui xmlns:p1=urn:import:com.google.gwt.user.datepicker.client ui:style .important { font-weight: bold; } /ui:style g:HTMLPanel g:LayoutPanel width=527px height=515px g:layer left=144px width=73px top=11px height=18px g:Label text=First Name:/ /g:layer g:layer left=223px width=186px top=4px height=25px g:TextBox name=tbxFirstName ui:field=tbxFirstName/ /g:layer g:layer left=157px width=60px top=42px height=18px g:Label text=Surname:/ /g:layer g:layer left=223px width=186px top=35px height=25px g:TextBox name=tbxSurname ui:field=tbxSurname/ /g:layer g:layer left=171px width=46px top=73px
Re: TinyMCE GWT UIBinder finally displayed correctly, but colorpicker's colors and font-dropdown-menu's fonts are not clickable
is any body have solution to this problem? I have the exact problem when using it under gwt dialog box, BTW when using gxt dialog this problem doesn't occurred בתאריך יום חמישי, 15 בספטמבר 2011 18:19:57 UTC+3, מאת Maxim Schäfner: Hello, I'm still searching for a maybe better solution for implementing of TinyMCE in GWT UiBinder (as other discussion created by me). Now I managed somehow through deferredCommand to get my TinyMCE in an div from uibinder-composite, and the whole configuring and so on of that editor works. And as I thought that I finally made it, because operations like bold or italic worked, suddenly I saw when I wanted to change the font/fontsize oder textcolor...the operations showed me per dropdownlists and colortables that I could change the text in the editor, but when I click on one of that entries, nothing happens/is applied...and I don't know why. When I do the same procedure in my index.jsp in the html body-tag in a div too, inserted TinyMCE, then it is possible to click on the entries in this other TinyMCE instance. I have already tried everything, but I'm still not able to click on that entries in my TinyMCE which was placed on a div in an uibinder composite. I would be grateful if someone could give a hint or something. Thank you. Regards, Maxim -- 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/-/6fqCEV1bja8J. 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: Problems using JavaMail within hosted mode in Eclipse
Hi, I was having the same problem and found solution. 1. Go to Run configurations. 2. Classpath 3. Add mail.jar from your WEB-INF\lib to the Bootstrap entries 4. Make it first. Thats it. If that doesn't help, also try to add activation.jar. -Ari Luoma torstai, 21. kesäkuuta 2012 13.39.39 UTC+3 Ryan McFall kirjoitti: In trying to configure an SMTPAppender for use with log4j so that error reports on the server can be emailed out, I ran into difficulties getting JavaMail to work correctly. I found many posts indicating that the problem is either: 1. multiple copies of the JavaMail classes in the classpath 2. issues with classloaders, related to the servlet container To isolate the problem, I created a sample webapp using the GWT Eclipse plugin, and modified the auto-generated server-side greet method to log an error message, with an appropriately configured log4j.properties file. The only two jar files in the WEB-INF/lib folder are the log4j-1.2.17.jar, mail.jar and gwt-servlet.jar files. The AppEngine is not being used; I've seen the docs that mention that the AppEngine jar file contains implementations of the javax.mail classes, and that both the AppEngine jar and mail.jar should not be present in the classpath. Using this configuration, when the log4j implementation tries to log an error message, the following debug info and stack trace is produced: DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] java.lang.NoSuchMethodException: : com.sun.mail.smtp.SMTPTransport.init(javax.mail.Session, javax.mail.URLName) along with an error message indicating that the SMTP provider can't be found: javax.mail.NoSuchProviderException: smtp However, I found that if I compile and deploy a much more complicated application with basically the same configuration to a Tomcat server, it works as expected. This makes me suspect that the embedded server somehow contains mail.jar in its runtime classpath (I can't reference the classes in javax.mail in my project unless I include mail.jar in the classpath, so I'm positive they don't exist anywhere else in my project). But, if I remove mail.jar from the WEB-INF lib directory and try to do a Class.forName on, say, javax.mail.Address, it can't be found. Anyone have any ideas why this works when I deploy it, but not when running within Eclipse? Thanks, Ryan -- 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/-/SzzV05q8cckJ. 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.
URL shortener doesn't seem to work
Hello, I have just inserted the code that you can see in the UrlShortener example and I can not get it working. It initializes well, but when I call to expand() or shorten() it doesn't make any call (I have checked that with the chrome's developer tools), and even I don't get any callback with error or success. Any idea? -- 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/-/S6tuCnbMjPgJ. 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 debug RequestBuilder server side code in Eclipse?
I started to use RequestBuilder (instead of rpc) to send requests to server. However, I found, in Eclipse with dev mode, I could not debug the server side code. That is, the breakpoints I set in server are never triggered even though the code path hit these break points. It used to be fine when I use RPC instead of RequestBuilder. Is there anything I miss here? Thanks! BTW, I am using GWT 2.5-rc1 and Eclipse is Juno. The browser is OmniWeb. -- 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/-/gAQcgquL-ZcJ. 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 Designer - Can't create SWT Browser
W dniu wtorek, 25 września 2012 12:55:31 UTC+2 użytkownik Magnus napisał: Hi, is there really no fix? This prevents me from doing anything with UIBinder... Check this: http://www.eclipse.org/swt/faq.php Q: What do I need to run the SWT Browser inside Eclipse on Linux? -- 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/-/I2riZxLQvmEJ. 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 Eclipse Project not always updating classes
I am experiencing something similar to Samuru. I create a war with Ant with this build.xml: project name=lt;projectname basedir=. default=buildwar target name=default depends=buildwar, deploy /target target name=buildwar war basedir=war destfile=Admin.war webxml=war/WEB-INF/web.xml exclude name=WEB-INF/** / webinf dir=war/WEB-INF/ include name=**/*.jar / include name=**/classes/** / /webinf /war /target target name=deploy copy file=Admin.war todir=. / /target /project Once the war is created I deploy it with Tomcat. When I open the page in a browser I see the old version of the code. I have tried several things: · Erase the war/WEB-INF/classes/ directory, Project - Clean and then create a new war with the same results. · Clean the cache of the browser and reloading with ctrl + F5. The strange part is that any change in the project main HTML page is shown in the browser, but the changes in the code don't update. El jueves, 16 de septiembre de 2010 16:48:51 UTC+2, Samuru Jackson escribió: Hi, I have the problem, that sometimes it happens that my changed code in / src/* is not updated in /war/WEB-INF/classes/* Even if I delete the affected class in /war/* it puts an old version of the class again back into /war/* . How can this happen? Is there a cache somewhere around? Project - Clean does not work -- 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/-/Z5UwkghNaTwJ. 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.
Trouble with array localization.
Hi, I've some trouble with array localization. In my software I've used this method to localize my string: public interface MyMessages extends Messages { String first(); String second(); } The I've created the properties files: #MyMessages_it.properties: first = primo second = secondo #MyMessages_en.properties: first = primo second = secondo Now the problem. I've an array like that: String fruits[] = { Apple, Pear } that I use like: = fruits[0] How can I localize that? Now I'm using a function like that: String printFruit(int j) { if(j == 0) return myMessages.apple(); else(j == 1) return myMessages.pear(); else return myMessages.errorString(); } PS: Sorry for the previous messages. -- Willy -- 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/-/OYzX1Ym7uQsJ. 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: Java 7
Hi, sorry for gravedigging, but the title of this thread seems suitable. Since Java 6 reaches its End-Of-Life cycle at the beginning of next year, does the GWT team has concrete plans to support Java 7? See: http://www.oracle.com/technetwork/java/eol-135779.html Cheers, Ben -- 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/-/buQJiZhy3m4J. 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: XMLHttpRequest2 in 2.5?
Thanks Thomas. I'll see if I can find some time to contribute, I'll dig some more. On Tuesday, September 25, 2012 1:27:51 AM UTC-7, Thomas Broyer wrote: On Tuesday, September 25, 2012 5:35:02 AM UTC+2, Brandon Donnelson wrote: Does anybody know if XMLHttpRequest2 is in or slated for 2.5? It depends what you mean by XMLHttpRequest2. responseType is here (was in RC1 already but was broken), with the ability to get the response as an ArrayBuffer, but that's it: no progress events, no send() overload for typed arrays, no withCredentials, etc. That being said, apart from progress events, everything can be accomplished really easily with JSNI (progress events too, we're using them in a project at work when uploading files). I think the main problem is to provide a way to detect which features are available; it's easy for responseType='arraybuffer' because you can just test whether typed arrays are supported (all browsers supported by GWT implement either both or none), it's a bit less straightforward for other features. For those in a controlled environment (our app only supports Firefox, so we didn't bother checking for feature availability), it's best to resort to JSNI: if you know what you're doing, well, do it, you know what you're doing anyway. However, as always: patches welcome! -- 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/-/NsvrQBcy1gUJ. 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: Trouble with array localization.
I think I figured out... Inside my classes I defined a variable like: String fruits[] = { myMessages.apple(), myMessages.pear() }; and It works. Thanks anyway, and excuse me for the double or triple message :P And if there is a better solution please let me know! :D -- Willy Il giorno martedì 25 settembre 2012 10:10:42 UTC+2, Willy ha scritto: Hi, I've some trouble with array localization. In my software I've used this method to localize my string: public interface MyMessages extends Messages { String first(); String second(); } The I've created the properties files: #MyMessages_it.properties: first = primo second = secondo #MyMessages_en.properties: first = primo second = secondo Now the problem. I've an array like that: String fruits[] = { Apple, Pear } that I use like: = fruits[0] How can I localize that? Now I'm using a function like that: String printFruit(int j) { if(j == 0) return myMessages.apple(); else(j == 1) return myMessages.pear(); else return myMessages.errorString(); } PS: Sorry for the previous messages. -- Willy -- 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/-/azixF1xPZH0J. 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 Designer - Can't create SWT Browser
Hi Jens, basically I agree, and I was indeed able to work on the current ui project. But when learning the concepts behind UIBinder it helps a lot if you can try out some ideas and look how they are realized within the xml file. In addition, designer shows widgets that are not documented, e. g. CaptionPanel. However, there is nothing written into the error log. There is just this message in the designer window: GWT Designer uses the SWT Browser widget to render the GWT UI. SWT Browser requires a compatible xulrunner version installed: it should be 1.9.1.x or 1.9.2.x version and meet the current environment architecture. See http://www.eclipse.org/swt/faq.php#whatisbrowser and related topics for more information. But xulrunner is installed: $ dpkg-query -l xul* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- un xul-ext-dom-in none (no description available) un xulrunner none (no description available) un xulrunner-1.9 none (no description available) ii xulrunner-1.9. 1.9.1.16-17XUL + XPCOM application runner un xulrunner-1.9. none (no description available) ii xulrunner-dev 1.9.1.16-17Development files for the Gecko engine libra Magnus -- 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/-/3q3qiTk1osEJ. 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 get iFrame contents with different domains ?
Hi, You can't directly in GWT it honors cross site scripting you can however drop down to Javascript. Write a JSNI method that accesses the containing docs parent (your app) by accessing top, then in your code you can access the iFrame and then it's document. Something like this: public static DocumentElement getFrameDocumtent() { FrameElement top = getTopDocument().getElementById(MyiFrame); return top.getContentDocument(); } public static native Document getTopDocument() /*-{ return top.document; }-*/; I haven't tested this code but pulled pieces from some of my working code to give you an idea. Hope that helps, Gordon Pike gwtcasts.com easygwt.com On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- 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/-/9ai_kotJqZIJ. 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: Using Smart GWT in GWT MVP framework with maven
Please input the pom.xml of your project. Em sexta-feira, 21 de setembro de 2012 02h56min54s UTC-3, karthikeyan p escreveu: Hi, Currently there is a requirement in our project for drag and drop feature in the tree format. So we are planning to use smart GWT. But when i include smart gwt dependencies in the pom.xml and start the project in jetty using mvn run. The application is throwing error in GWT GIN injector,but i have not used any smart gwt wigedt in our project just i have added the dependencies in the pom.xml i don't know why it is getting failed. if i remove the dependencies the application is loading properly. Can anyone advise me that where iam missing something or any other example to use the smart gwt with the mvp + maven . Thanks, Karthik -- 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/-/HItbdw2JOoIJ. 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 Designer - Can't create SWT Browser
Maybe you must tell Eclipse where to find xulrunner? https://bbs.archlinux.org/viewtopic.php?id=115543 On Tue, Sep 25, 2012 at 10:39 AM, Magnus alpineblas...@googlemail.comwrote: Hi Jens, basically I agree, and I was indeed able to work on the current ui project. But when learning the concepts behind UIBinder it helps a lot if you can try out some ideas and look how they are realized within the xml file. In addition, designer shows widgets that are not documented, e. g. CaptionPanel. However, there is nothing written into the error log. There is just this message in the designer window: GWT Designer uses the SWT Browser widget to render the GWT UI. SWT Browser requires a compatible xulrunner version installed: it should be 1.9.1.x or 1.9.2.x version and meet the current environment architecture. See http://www.eclipse.org/swt/faq.php#whatisbrowser and related topics for more information. But xulrunner is installed: $ dpkg-query -l xul* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- un xul-ext-dom-in none (no description available) un xulrunner none (no description available) un xulrunner-1.9 none (no description available) ii xulrunner-1.9. 1.9.1.16-17XUL + XPCOM application runner un xulrunner-1.9. none (no description available) ii xulrunner-dev 1.9.1.16-17Development files for the Gecko engine libra Magnus -- 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/-/3q3qiTk1osEJ. 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 get iFrame contents with different domains ?
On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- 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/-/lmB_d13LWCAJ. 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 get iFrame contents with different domains ?
After sending this I realized I sent it too early. The code below only works after you get both documents under the same domain because of cross-site scripting protection in the browser. To bring them both under the same domain you can either setup Apache or Nginx as reverse-proxy or write a servlet deployed with your GWT server side code that proxies requests to the other domain. If you just have a couple of pages to proxy I would do the servlet approach. I've done both methods. There are a couple of example proxy servlets you could start with and deploy one of them in your web.xml. Thanks, Gordon Pike gwtcasts.com easygwt.com On Tuesday, September 25, 2012 10:26:53 AM UTC-6, gpike wrote: Hi, You can't directly in GWT it honors cross site scripting you can however drop down to Javascript. Write a JSNI method that accesses the containing docs parent (your app) by accessing top, then in your code you can access the iFrame and then it's document. Something like this: public static DocumentElement getFrameDocumtent() { FrameElement top = getTopDocument().getElementById(MyiFrame); return top.getContentDocument(); } public static native Document getTopDocument() /*-{ return top.document; }-*/; I haven't tested this code but pulled pieces from some of my working code to give you an idea. Hope that helps, Gordon Pike gwtcasts.com easygwt.com On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- 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/-/dlSxNuydlFAJ. 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 get iFrame contents with different domains ?
You cannot do this the way you want. It is simply does not allowed by the most of browsers. There is only possible way you can to choose is to build extension which browser grant extended permissions set. But user must setup it explicitly. 25.09.2012 18:58 пользователь Nabil chane.na...@gmail.com написал: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- 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/-/_HHds9xI1ToJ. 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: Need a tool to find out client side coverage .
There is now a newer patched version for download. http://code.google.com/p/santa-exchange/downloads/detail?name=eclemma-1.3.2-gwt.zipcan=2q= Followed the instructions and it worked well for me. Would still be nice to have it work out of the box, but I don't expect the Emma team to drop everything for GWT. Ideally someone would submit the patch on the Emma and get it in the trunk. 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/-/l4HdP9Se0R8J. 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.
CaptionPanel - CaptionLayoutPanel
I want to use the CaptionPanel inside a Layout Panel (DockLayoutPanel) . The problem is that there is no CaptionLayoutPanel(like SimpleLayoutPanel) implementation and therefore if I want to use this panel inside a Layout Panel, all childs will loose the resize events because the resize-chain is broken through the CaptionPanel. Is there any workaround? -- 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/-/5PNpPdIWCk4J. 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: Java 7
GWT 2.5 rc2 should run on a JDK 7 virtual machine (there was a recent fix to make dev mode work). We've occasionally talked about supporting Java 7 features, but there's no concrete plan or schedule to implement them. - Brian On Tuesday, September 25, 2012 4:38:28 AM UTC-7, Benjamin Wolff wrote: Hi, sorry for gravedigging, but the title of this thread seems suitable. Since Java 6 reaches its End-Of-Life cycle at the beginning of next year, does the GWT team has concrete plans to support Java 7? See: http://www.oracle.com/technetwork/java/eol-135779.html Cheers, Ben -- 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/-/5Ylnu5MPnZAJ. 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: DevMode for Firefox 14
On Wed, Sep 19, 2012 at 6:58 AM, ilana ilana.ha...@gmail.com wrote: Hi , Thie link below seems to be broken... please help. I have removed all the builds. Please download from the official web site. 10xs, ilana בתאריך יום שלישי, 24 ביולי 2012 08:49:30 UTC+3, מאת Alan Leung: Last but not least, http://acleung.com/ff14-mac.**xpihttp://acleung.com/ff14-mac.xpi Have fun! -Alan On Mon, Jul 23, 2012 at 11:42 AM, Jens jens.ne...@gmail.com wrote: ALL: Please star this issue: https://code.google.com/p/**chro**mium/issues/detail?id=**138557** thanks=138557ts=**1343057729https://code.google.com/p/chromium/issues/detail?id=138557thanks=138557ts=1343057729 it might help to have better support for GWT devmode development (GWT plugin) for Chrome, and we can forget about firefox. You better take a look at: http://code.google.com/p/** google-web-toolkit/issues/**detail?id=4493#c24http://code.google.com/p/google-web-toolkit/issues/detail?id=4493#c24and the two referenced chromium issues. It seems like that the chromium issues do not have a high priority since NPAPI may become obsolete in the future in favor of PPAPI. Its well known that the Chrome Dev Mode plugin is slower compared to Firefox because it has to work around mentioned chromium issues. -- 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/-/x_**LiifvyZoUJhttps://groups.google.com/d/msg/google-web-toolkit/-/x_LiifvyZoUJ . To post to this group, send email to google-we...@**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=enhttp://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/-/z57xrn90ymYJ. 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.
Request Factory, Hibernate, Validation Error: ClassNotFoundException: javax.validation.ValidationException
Hi everyone, Im trying to use RequestFactory + Hibernate. I just started with GWT.. I hope you can help me. Thats what i did so far: 1) I included the following in WEB-INF/libs (they are in subfolders like WEB-INF/libs/validators/.. for structuring.. hope thats no problem) validation-api-1.0.0.GA.jar (added validation-api-1.0.0.GA-sources.jar as source) hibernate-validator-4.3.0.Final.jar hibernate-validator-annotation-processor-4.3.0.Final.jar Also added them on the Java Build Path of my Project. 2)Added Code mentioned in the link to my web.xml https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory#wiring 3) Setup Validation by this Post: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation Below I post some Code + Errors. I try to run the following code in my onModuleLoad() entry point: WorkerRequestFactory factory = GWT.create(WorkerRequestFactory.class); factory.initialize(new SimpleEventBus()); WorkerRequest request = factory.workerRequest(); WorkerProxy newWorker = request.create(WorkerProxy.class); newWorker.setFirstName(firstname_test); newWorker.setLastName(lastname_test); newWorker.setSalary(2); RequestVoid createReq = request.persist().using(newWorker); * createReq.fire(new ReceiverVoid() {* @Override public void onSuccess(Void arg0) { // Update display Window.alert(OK); } }); *createReq.fire(new ReceiverVoid()* throws the exception... If you need any further information, please let me know. Thanks for your time + help in advanced. SHARED-Package ProxClass import com.google.web.bindery.requestfactory.shared.EntityProxy; import com.google.web.bindery.requestfactory.shared.ProxyFor; import de.mash.project.server.Worker; @ProxyFor(Worker.class) public interface WorkerProxy extends EntityProxy { int getId(); String getFirstName(); String getLastName(); int getSalary(); void setId(int id); void setFirstName(String first_name); void setLastName(String last_name); void setSalary(int salary); // Long countWorkers(); } Request import com.google.web.bindery.requestfactory.shared.InstanceRequest; import com.google.web.bindery.requestfactory.shared.Request; import com.google.web.bindery.requestfactory.shared.RequestContext; import com.google.web.bindery.requestfactory.shared.Service; import de.mash.project.server.Worker; @Service(Worker.class) public interface WorkerRequest extends RequestContext { // RequestLong countWorkers(); InstanceRequestWorkerProxy, Void persist(); RequestWorkerProxy findWorker(int id); } Request Factory import com.google.web.bindery.requestfactory.shared.RequestFactory; public interface WorkerRequestFactory extends RequestFactory { WorkerRequest workerRequest(); } SERVER-Package import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Transient; @Entity @Table(name = Worker) public class Worker { public static Worker findWorker(int id) { if (id == 0) { return null; } EntityManager em = entityManager(); try { Worker worker = em.find(Worker.class, id); return worker; } finally { em.close(); } } @Transient protected Object[] jdoDetachedState; // @Id // @GeneratedValue(generator = auto_increment) // @GenericGenerator(name = auto_increment, strategy = increment) // @Column(name = id) // private int id; @Id @Column(name = id) @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column(name = first_name) private String firstName; @Column(name = last_name) private String lastName; @Column(name = salary) private int salary; public Worker() { } public Worker(String fname, String lname, int salary) { this.firstName = fname; this.lastName = lname; this.salary = salary; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String first_name) { this.firstName = first_name; } public String getLastName() { return lastName; } public void setLastName(String last_name) { this.lastName = last_name; } public int getSalary() { return salary; } public void setSalary(int salary) { this.salary = salary; } public static Long countWorkers() { return 2l; }
Re: Request Factory, Hibernate, Validation Error: ClassNotFoundException: javax.validation.ValidationException
1) I included the following in WEB-INF/libs (they are in subfolders like WEB-INF/libs/validators/.. for structuring.. hope thats no problem) Unfortunately that is a problem. Put all libraries into WEB-INF/lib without using sub folders and it should work. If you want sub folders in WEB-INF/lib its very likely that you need a custom classloader. -- 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/-/yFI4trXlgWIJ. 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
Same thing is happening in Canary. Mac Version 24.0.1277.0 canary -- 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/-/1ppRkL77AYIJ. 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
I can get it to work in 15.01 at least. -- 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/-/BaLpk3y_JUAJ. 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
Oops I can get it to work in firefox 15.0.1 -- 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/-/m41CylAXXy4J. 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 use Request Factory with JPA Hibernate and PostgreSQL ?
Hi everyone, I want to use a postgres db with the RF JPA. I dont know if I´m on the right way, but I thought i just have to edit the persistence.xml? Thats what my persistence.xml look like: ?xml version=1.0 encoding=UTF-8 ? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; version=1.0 persistence-unit name=transactions-optional transaction-type=RESOURCE_LOCAL providerorg.eclipse.persistence.jpa.PersistenceProvider/provider properties property name=jdbc.driver value=org.postgresql.Driver / property name=jdbc.url value=jdbc:postgresql://localhost:5432/dev_mash / property name=jdbc.user value=postgres / property name=jdbc.password value=q1 / property name=show_sqltrue/property property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property property name=connection.pool_size value=10 / property name=current_session_context_class value=thread / /properties /persistence-unit /persistence I just started to work on that, so any help is much appreciated. If you need any further information, please let me know. Thanks in advanced. Regards -- 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/-/KENPJbONctkJ. 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: DevMode not working in Chrome after update
Such a pain. Try this (it worked for me on Mac OS X)... 1) Get an older version at http://mac.oldapps.com/google_chrome.php -- I chose Google Chrome 21.0.1180.89 from August 30, 2012.. the direct link is http://mac.oldapps.com/google_chrome.php?old_chrome=1260 2) Drop it somewhere other than your Applications folder. Rename it to Google Chrome.older (or whatever), THEN put it into your Applications folder. Leave the more recent Google Chrome app right were it is... it will remain the target of updates, even if your Google Chrome.older triggers an update (i.e. the .older version won't get overwritten). 3) For me, that .older one runs the GWT DevMode Plugin just fine... just like in .older times. 4) For kicks, it seems you can tune Google's update interval. Here's an example where you can stop it entirely (notice the zero...) From the command prompt: defaults write com.google.Keystone.Agent checkInterval 0 I found that one at http://support.google.com/installer/bin/answer.py?hl=enctx=goanswer=147176 5) Good luck. On Tuesday, July 17, 2012 9:16:03 AM UTC-5, Andy wrote: I updated Chrome this morning and now when I try to use DevMode I get an error Could not load GWT DevMode Plugin and an offer to Download the GWT Developer Plugin. When I try to download it (it's already installed), it says Extensions, apps, and user scripts can only be added from the Chrome Web Store. and there's no GWT plugin in the store. -- 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/-/q36pWEIIXh4J. 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] Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)
Reviewers: cromwellian, Description: Upgraded the devmode Chrome extension to manifest version 2. To do this, we need to replace all inline javascript with code in a separate js file. Also, changed the options page to use the DirectInstall linker so that GWT bootstrap doesn't use eval() or inline javascript. Also, recompiled the Linux binaries. Not tested on other platforms yet. For more about manifest version 2, see: http://developer.chrome.com/extensions/manifestVersion.html Please review this at http://gwt-code-reviews.appspot.com/1840803/ Affected files: M plugins/config.mk M plugins/npapi/DevModeOptions/build.xml M plugins/npapi/DevModeOptions/java/com/google/gwt/devmodeoptions/DevModeOptions.google.xml M plugins/npapi/DevModeOptions/java/com/google/gwt/devmodeoptions/DevModeOptions.gwt.xml M plugins/npapi/manifest-template.json M plugins/npapi/prebuilt/gwt-dev-plugin/background.html A plugins/npapi/prebuilt/gwt-dev-plugin/background.js M plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json M plugins/npapi/prebuilt/gwt-dev-plugin/page_action.html -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Upgraded the devmode Chrome extension to manifest version 2. (issue1840803)
http://gwt-code-reviews.appspot.com/1840803/diff/1/plugins/npapi/DevModeOptions/build.xml File plugins/npapi/DevModeOptions/build.xml (right): http://gwt-code-reviews.appspot.com/1840803/diff/1/plugins/npapi/DevModeOptions/build.xml#newcode4 plugins/npapi/DevModeOptions/build.xml:4: property name=gwt.args value=-style PRETTY / Did you mean for this to stay here? http://gwt-code-reviews.appspot.com/1840803/diff/1/plugins/npapi/prebuilt/gwt-dev-plugin/page_action.html File plugins/npapi/prebuilt/gwt-dev-plugin/page_action.html (right): http://gwt-code-reviews.appspot.com/1840803/diff/1/plugins/npapi/prebuilt/gwt-dev-plugin/page_action.html#newcode7 plugins/npapi/prebuilt/gwt-dev-plugin/page_action.html:7: script src=page_action.js/script Did you leave this file out? http://gwt-code-reviews.appspot.com/1840803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors