GWT Mail sample using Spring Dreamsource ORM

2009-04-21 Thread Jim
I modified the GWT mail sample distributed with GWT. The mail sample can retrieve emails from HSQLDB and update contacts in the database. I use the following features - Spring IOC and Spring AOP transaction, Dreamsource ORM. You can lauch a href=http://www.leeonsoft.com/mail/ Mail.htmlthis

Re: Announcing GWT 1.6...and quite a bit more

2009-04-21 Thread Salvador Diaz
Thanks for your replies guys, I just reported the bug, here's the link http://code.google.com/p/google-web-toolkit/issues/detail?id=3583 On Apr 21, 1:17 am, Sumit Chandel sumitchan...@google.com wrote: Hi Salvador, Also, if you do discover a veritable bug, or a valid feature request related

Unable to find/load module error for GWT 1.6.4

2009-04-21 Thread mabebe
Hi could you please help in resolving the following error..i think its an issue with the class path, i have my src folder already in the class path.i am running GWT 1.6.4, Eclipse 3.4 [ERROR] Unable to find 'personalwebsite.gwt.xml' on your classpath; could be a typo, or maybe you forgot to

Re: A native GWT chart library?

2009-04-21 Thread Flemming Boller
Hi I currently use the GWTCanvas, for creating pies. It works very well. The code I can just copy paste from swing/awt code examples because the GWTCanvas api is very much like the normal jdk canvas. And you can your self attach mouse listeners etc on the pie so it becomes interactive, with the

JsParserException: invalid label

2009-04-21 Thread Chuck
Hi there! Can anyone help me with the error mentioned above? I try to make an interface to JavaScript so I can call a function. My Java code looks like that: public void onModuleLoad() { setShowTrigger(this); } public native void setShowTrigger(Index x)/*-{ $wnd.showIndex =

Re: Making a call to more than one server

2009-04-21 Thread eggsy
Hi AnaLena, Also off the back of Dan's article posted above I wrote a similar tutorial on my blog about how to go about JSONP http://eggsylife.blogspot.com/2008/10/gwt-and-cross-site-jsonp-in-j2ee.html Both turorials do however make an assumption that you understand the JSON syntax.

Re: Creating GWT application

2009-04-21 Thread newtoGWT
Network connection problems encountered during search. Unable to access http://dl.google.com/eclipse/plugin/3.3;. Error parsing site stream. [Premature end of file.] Premature end of file. Error parsing site stream. [Premature end of file.] Premature end of file. I know this is not the exact

Re: Need to display a disabled checkbox without changing the appearance

2009-04-21 Thread Lothar Kimmeringer
Suren schrieb: But I want to just disable the editing and keep the checkbox apperance as same as enabled. how can I achieve that? Without knowing how that looks in reality, you might define a click- listener on that checkbox that reset the old value if somebody tries to change it. Regards,

Re: Need to display a disabled checkbox without changing the appearance

2009-04-21 Thread Suren
Hi Lothar, Thanks for the reply. Without knowing how that looks in reality, we can see the difference in apperance of Checkbox when its enabled (true) and enabled(false) right?? I need enabled(true) apperance when I say enabled (false). I know I am bit cinfusing But let me try out what you've

Re: GWT on FreeBSD

2009-04-21 Thread Rabbit
Switching to -client mode fix the build process. Hosted mode still not working --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Need to display a disabled checkbox without changing the appearance

2009-04-21 Thread Suren
Hi All, I have a Grid, in which I am placing a Checkbox, under some conditions, I want to make a checkbox readOnly. If I setEnabled (false), the appearance is getting changed. But I want to just disable the editing and keep the checkbox apperance as same as enabled. how can I achieve that? Any

Re: Need to display a disabled checkbox without changing the appearance

2009-04-21 Thread Lothar Kimmeringer
Suren schrieb: Without knowing how that looks in reality, we can see the difference in apperance of Checkbox when its enabled (true) and enabled(false) right?? Yes, my sentence above I meant in that way, that I don't know how the user experience will be if you try out what I suggest. An

Re: How much slower is PRETTY mode?

2009-04-21 Thread Arthur Kalmenson
Hey Rob, Whatever it was that I said that upset you so much, I apologize. I think you really need to move on. Best regards, -- Arthur Kalmenson On Mon, Apr 20, 2009 at 12:42 PM, Rob Smith scubacarri...@gmail.com wrote: Why is it that most of Arthurs posts either have incorrect information

Re: Automatic logout feature

2009-04-21 Thread Arthur Kalmenson
If you're using Spring, you might want to take a look at Spring Security. It handles session management and role based security for you. You can then couple that with a check against the server side if the user's session is still valid. You can either do this with a Timer (if you want to time

Re: Unable to find/load module error for GWT 1.6.4

2009-04-21 Thread Salvador Diaz
Could you post more details ? (Your whole project structure along with the location of personalwebsite.gwt.xml and the options passed to hosted mode should be enough ) Alternatively, you could put your hosted mode in DEBUG log level and read the logs to try to pinpoint what's wrong with your

Re: GWT Session

2009-04-21 Thread Salvador Diaz
Hey Professor Vagner, Why not using google project hosting or http://pastebin.com to post your code examples and simply link to them in your posts ? It's nearly impossible to read code in a font face that's not monospaced (not to mention indentation and syntax highlighting). I'm sure your code

Re: CSS style rules of DecoratorPanel

2009-04-21 Thread Salvador Diaz
Read this issue report to understand what's going on there: http://code.google.com/p/google-web-toolkit/issues/detail?id=3237 For the difference between selectors, google for ie css hacks Cheers, Salvador On Apr 21, 4:43 am, hezjing hezj...@gmail.com wrote: I'm still studying DecoratorPanel

Re: How to use newer version of Jetty for Hosted Mode server?

2009-04-21 Thread Salvador Diaz
use -noserver or -server ? Google Web Toolkit 1.6.4 HostedMode [-noserver] [-port port-number | auto] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logLevel level] [- gen dir] [-style style] [-ea] [-server servletContainerLauncher] [- startupUrl url] [-war dir] [-extra dir]

Re: I installed the GEP and now...

2009-04-21 Thread Rajeev Dayal
Hey Ian, Thanks for the information. Responses inline: On Mon, Apr 20, 2009 at 7:26 PM, Ian Bambury ianbamb...@gmail.com wrote: Hi Rajeev, Thanks for the response. When you tried to install it again, did you install it in a clean version of Eclipse, or was it the version that you were

Re: Problem in downloading Google Plugin for Eclipse

2009-04-21 Thread Sledged
On Apr 20, 4:23 pm, Rajeev Dayal rda...@google.com wrote: Unfortunately, the process to manually download and install the plugin is somewhat tedious. I figured it would, but given that the only other readily available option is to not install the plugin, I'm content to perform an exercise in

Re: Unable to find/load module error for GWT 1.6.4

2009-04-21 Thread mabebe
Salvador, I am getting the error when i run my app in hosted mode but if i use standalone hot tomcat deployment (add server and debug within eclipse) it can find the module...i should also state everything compiles fine with Google Compile.. my project structure is as follows

Re: Unable to find/load module error for GWT 1.6.4

2009-04-21 Thread Salvador Diaz
You should be able to make your configuration work provided you launch the hosted mode with the right parameters. Please read the documentation concerning the hosted mode: http://code.google.com/webtoolkit/doc/1.6/DevGuideCompilingAndDebugging.html Then put your hosted mode in DEBUG log level

Re: JsParserException: invalid label

2009-04-21 Thread Salvador Diaz
Hey ! Please don't post multiple times your questions (http:// groups.google.com/group/Google-Web-Toolkit/msg/0675da9d966c77d7), be patient and maybe somebody will reply ;) So about your popup thing, why use JSNI when you can just do public void onModuleLoad() { Window.alert(This is

Function is not working

2009-04-21 Thread Chuck
Hi there! Unfortunately my popup function is not working and I think that I found the reason. Please have a look at the JS code, could it be that com.google.gwt.client.Index::createPopup()(); is wrong? How can I find out what the real path is of my class called Index? Can anybody help? It works

EAR + Web Application Project instead of Dynamic Web Project

2009-04-21 Thread sjachym
Hy, i try GWT 1.6, but, because my new project is Web Application Project (created by Google Eclipse Plugin) instead of Dynamic Web Project, my EAR not contain the .war (there is only include the .jar) How to publish an EAR including a Web Application Project (Google) ?

Re: Function is not working

2009-04-21 Thread olivier nouguier
Hi, Your java function should receive an int as parameter ... Nope ? On Tue, Apr 21, 2009 at 4:32 PM, Chuck kurtz.lu...@cyber-art.ch wrote: Hi there! Unfortunately my popup function is not working and I think that I found the reason. Please have a look at the JS code, could it be that

Re: GWT on FreeBSD

2009-04-21 Thread Alex Rudnick
I don't have a FreeBSD box handy, but this seems like it'd be workable. Good call about replacing the SWT binaries with your native ones. Would it help, do you think, to compile GWT from source? If you get this working, it would be cool to hear how you did it! On Tue, Apr 21, 2009 at 7:47 AM,

Re: Module without EntryPoint - How to compile?

2009-04-21 Thread Rajeev Dayal
Hey Ben, Glad that all is well now. On Mon, Apr 20, 2009 at 6:16 PM, Ben FS ben.su...@gmail.com wrote: To exclude non-entry point modules from being included during a Hosted Mode launch or a GWT Compilation, right-click on your project, and select Google Web Toolkit Settings. From

Re: Function is not working

2009-04-21 Thread Chuck
Yes, you're right, thank you. Unfortunately this didn't solve the problem. I got an error now: Unresolvable native reference to type 'com.google.gwt.client.Index' Do you know how to reference my own class? Do I have to include the name of the package? On 21 Apr., 16:52, olivier nouguier

Re: Creating GWT application

2009-04-21 Thread Rajeev Dayal
If you can't get Eclipse's install mechanism working, here's how you can install the plugin manually in Eclipse 3.3: Download the following file and place it in a temporary directory: http://dl.google.com/eclipse/plugin/3.3/site.xml Now, download the following into a directory called

Re: Problem in downloading Google Plugin for Eclipse

2009-04-21 Thread Rajeev Dayal
Actually, I made a mistake in the install instructions: Alternatively, you can just rename the temporary directory to eclipse, remove the site.xml file, and copy this directory under your Eclipseinstall's *dropins* directory. This is not correct. If you want to install via this mechanism, you

Re: Why am I seeing: GWTCompiler is deprecated and will be removed in a future release?

2009-04-21 Thread Jason Essington
The beauty of the new Compiler and HostedMode classes is that they are pretty verbose if you mess up the options (use no longer existent options). Which means, you can simply switch to the new class, and read the displayed documentation in the error message :-) -jason On Apr 17, 2009, at

Re: Function is not working

2009-04-21 Thread olivier nouguier
replace: com.google.gwt.client.Index::createPopup()() by website.client.Index::createPopup(I)(i); Which seem to be your client package ... On Tue, Apr 21, 2009 at 5:10 PM, Chuck kurtz.lu...@cyber-art.ch wrote: Yes, you're right, thank you. Unfortunately this didn't solve the problem. I got

Re: Function is not working

2009-04-21 Thread Chuck
Wohoo, it's working now!!! Thank you so much! [SOLVED] On 21 Apr., 17:21, olivier nouguier olivier.nougu...@gmail.com wrote: replace: com.google.gwt.client.Index::createPopup()() by website.client.Index::createPopup(I)(i); Which seem to be your client package ... On Tue, Apr

Re: How to use newer version of Jetty for Hosted Mode server?

2009-04-21 Thread Rajeev Dayal
Hey Tim, In order to make this work, you can either implement a ServletContainerLauncher of your own, and use the -server option with the HostedMode entry point, as Salvador suggest. More info on ServletContainerLaunchers can be found here:

Re: Having a Problem with GWT XMLparser

2009-04-21 Thread Jeff Chimene
On 04/20/2009 06:02 PM, codeboo...@gmail.com wrote: Hello everyone when I give my gwt to parse the following XML file , I get an error: ?xml version=1.0 encoding=UTF-8 ? result a href=http://cgi.ebay.com/APPLE-iPod-8gb-Blue-Nano-4th-Gen-Video- MP3-8-gb-Grade-

Re: Having a Problem with GWT XMLparser

2009-04-21 Thread Jason Essington
I have noticed that pretty xml causes fits, but Document doc = XMLParser.parse(xml); XMLParser.removeWhitespace(doc); seems to clear it up. However since removeWhitespace() is mostly a JS implementation, it is slower (in most cases) than simply doing that on the server if that is

TextBox.setName() and Java Http Servlet request.parameter(arg)

2009-04-21 Thread Nickelnext
Hello everyone I'm writing about this problem i have found, when i try to send to a plain Java servlet a file using FileUpload and some others parameters stored in some textboxes. I set the form to Multipart encoding, 'cause i have to upload a file (and it works fine), i set the method to POST,

Re: I installed the GEP and now...

2009-04-21 Thread Rajeev Dayal
Hey Ian, Just thought I'd mention that I tried something to repro your problem. Our plugin does not work if you're running Eclipse under a pre-1.5 JVM, and some of the symptoms that we've seen is that the plugin icons/menu contributions will not show up. However, we've only seen this when we've

How make few pages with GWT ?

2009-04-21 Thread JITEchno
Hi alls, I am trying to use GWT for generation few pages. F.e. I have first page with GWT script on it, where I choice name of second one: AAA After that, I Am going to this next, AAA.jsp. Nice it works fine. But I need to put again GWT generated script on this AAA.jsp and I am able find how to

FormPanel sumbit timeout

2009-04-21 Thread Shimi
is there a way to change the FromPanel submit timeout? --~--~-~--~~~---~--~~ 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

List of Usable Java Packages?

2009-04-21 Thread Jonathan Kushner
Hi there! I'm sure this is a pretty naive question, but is there a list somewhere of what java objects I can ( or cannot ) use? I tried creating a connection to an oracle instance in the onModuleLoad function, in hopes of using the resultset to populate basic datasets for gwt, but apparently i was

Facebook XFBML in GWT Hosted Mode?

2009-04-21 Thread shunjie
Hi Friends, I am trying to develop Facebook Connect application with GWT. I tried to have XFBML like fb:name /fb:name in a HTML control. Works perfect in a browser but does not render anything at all in Hosted Mode. Does anyone face the same problem when trying to develop GWT with FBML. If so,

Insert Element into DOM and receive click events?

2009-04-21 Thread Ben FS
I'd like to dynamically insert a Widget into/next to a single TreeItem, whenever a TreeItem is selected, but event handlers on the Widget never fire when I do this. My approach so far: I dynamically manipulate the DOM of a single TreeItem, when a selection event occurs. First I insert a DIV

Re: GWT Session

2009-04-21 Thread Vagner Araujo
Hi Friends, http://snipt.net/javagner Vagner Araujo --~--~-~--~~~---~--~~ 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

Hooking Spring 2.5.6 and GWT 1.6 - getServletContext returns N

2009-04-21 Thread colt54
Hi, I am trying to use a GWT service with Spring. I am using DispatcherServlet from Spring, GWTHandler and my service is defined as a bean in a mywebapp-servlet.xml file. I have also beans intialized at startup with ContextLoadListener. My service works fine except if I try to call

Re: I installed the GEP and now...

2009-04-21 Thread Ian Bambury
Hi Rajeev, I've got: Eclipse Version: 3.4.0 - Build id: I20080617-2000 java.runtime.version=1.6.0_13-b03 As I said, if I go to Software Updates, Installed Software shows the GEP and GWT SDK as installed. Available Software shows the plugin (but no install option is available) and the AppEngine

Tomcat CometProcessor Setup Problems

2009-04-21 Thread ta2
I have a servlet which uses the CometProcessor interface. When I run this app normally, connections to the servlet come back with the response 405 Method Not Allowed (HTTP method POST is not supported by this URL). I am told that this is due to the connector being used not supporting

Re: Need to display a disabled checkbox without changing the appearance

2009-04-21 Thread Ian Bambury
Checkboxes change their appearance for a reason. What are you doing that is so important that you don't mind confusing/pissing off your users? Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: I installed the GEP and now...

2009-04-21 Thread Ian Bambury
Update... I just uninstalled the GWT SDK, and then the plug-in and applied the changes. Both disappeared from the Installed Software tab. I restarted Eclipse. Now I have 'Google Plugin for Eclipse 3.4' on the Installed Software tab, but if I select it, the Uninstall button remains disabled. I

Re: List of Usable Java Packages?

2009-04-21 Thread Adam T
GWT only implements a subset of Java: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/RefJreEmulation You should also think of it as client side web code (after all it gets compiled to JavaScript) as such you wouldn't normally be able to connect to a database directly - you'd go

Re: I installed the GEP and now...

2009-04-21 Thread Rajeev Dayal
Hey Ian, If you're ok with reinstalling Eclipse, this is what I'd suggest: 1) Blow away your old version of Eclipse, and install a completely clean version of Eclipse 2) Start it up with a completely new workspace 3) Try to install the plugin as before, *BUT make sure you follow the instructions

Strange window popup with Anchor widget in 1.6.4

2009-04-21 Thread Clive Cox
With 1.6.4 on linux in Hosted mode, if I have something like: Anchor anchor = new Anchor(some text); anchor.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { //do something } }); I get a new blank browser window popup and and

serialization to history - bad idea?

2009-04-21 Thread Keith
Do you think is it a bad idea to use SerializationStreamWriter and SerializationStreamReader to write an object's state to the history? It seems like it would be a more convenient way to go than for me to try to write my own methods for doing this. I guess it could be a problem if I blow past the

HtmlUnit 2.5, a headless java browser, released

2009-04-21 Thread Ahmed Ashour
A new release of the Open Source java GUI-Less browser is available, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower-level requests of TCP/IP or HTTP,

GWT server side access to web service from another server

2009-04-21 Thread Alcor
Hi, I'm creating a GWT (1.6) app from scratch and I have done the current thing: User Web Browser (1) GWT client-side | (gwt rpc) V GWT server-side (2) | (JAX ws rpc) V another server (3) everything's done : - the gwt rpc between (1) and (2) -

popup on an GWT HTML field

2009-04-21 Thread Chuck
Hi folks! Only one question left and my project should be completed! :-) I'd like to print out HTML text (content). But only a few words should have a special function (popup on click). How would you do that? Unfortunately I couldn't find any tutorials. I managed to print HTML code and

OnMouseOver and OnMouseOut on FlexTable

2009-04-21 Thread serega.shey...@gmail.com
Good day. I've undestood how to get cell which was clicked by user (using new Handler pattern). But I can' get how does other handlers work (early I've used sink events and onBrowserEvent). My task is to hightlight row of FlexTable when the mouse pointer is on it and put away hightlight when

Re: How make few pages with GWT ?

2009-04-21 Thread Tony Strauss
If page is static - all is OK. Else script is not preforming/ What is wrong here, is any example how to do it? thanks a lot! Google wrote excellent documentation for GWT. This: http://code.google.com/webtoolkit/gettingstarted.html is a great place to start as it describes how to build a

GWT 1.6.4 - Intellij 8.1 - Hosted mode via application start.

2009-04-21 Thread Jason
Hi all. I'm using Intelli-j 8.1 to build my GWT 1.6.4 application. I realize that Intell-j's GWT plugin isn't suited for 1.6.4 just yet. Avoiding the plugin I'm attemping to run in Hosted mode by running the app as a normal Java application. Main class: com.google.gwt.dev.HostedMode VM

single row in PagingScrollTable does not have proper height in IE7

2009-04-21 Thread KaffeineComa
I'm using the PagingScrollTable from GWT Incubator version 1.5- Dec_28. When I have only a single row in the table, the table height shrinks such that the row is no longer visible. If I add more rows, everything is properly sized.It seems as if maybe the height of the horizontal scrollbar

Re: I installed the GEP and now...

2009-04-21 Thread Ian Bambury
If I get a spare time-slot I'll give it a go again, but as I said a couple of emails ago, I did that 2 days ago to remove the GEP after I needed to get rid of it. Therefore, the latest install *was* clean (apart from a few preferences I'd changed and importing my formatting settings. Windows was

Re: GWT 1.6.4 - Intellij 8.1 - Hosted mode via application start.

2009-04-21 Thread Dave M
I am using intellij 8.1 with no problem using GWT. Just open up the documents and follow the instructions. It has changed slightly from the directions in the flash demo on their web site. When I clicked ... New...there was no option for GWT if you follow the instructions from the flash demo

Re: I installed the GEP and now...

2009-04-21 Thread Rajeev Dayal
Hey Ian, On Tue, Apr 21, 2009 at 5:17 PM, Ian Bambury ianbamb...@gmail.com wrote: If I get a spare time-slot I'll give it a go again, but as I said a couple of emails ago, I did that 2 days ago to remove the GEP after I needed to get rid of it. Therefore, the latest install *was* clean (apart

Re: GWT 1.6.4 - Intellij 8.1 - Hosted mode via application start.

2009-04-21 Thread Jason
I started from scratch and got the simple application running. Baby steps... I guess. I was originally attempting to run an existing project. The stack trace I ran into is still a mystery. On Apr 21, 2:20 pm, Dave M captainj...@gmail.com wrote: I am using intellij 8.1 with no problem using

Re: Facebook XFBML in GWT Hosted Mode?

2009-04-21 Thread davidroe
I'm pretty sure this works for me without a problem. protected Widget makeLoginButton() { String s = fb:login-button onlogin=\facebookConnectLogin()\/ fb:login-button; HTML h = new HTML(s); DeferredCommand.addCommand(new Command() {

Re: RPC void method

2009-04-21 Thread Vitali Lovich
AsyncCallbackVoid On Tue, Apr 21, 2009 at 7:03 PM, carrizo c4rr...@gmail.com wrote: Hello all, pre-apologize for my english. I've a question about an AsyncCallback object passed to a gwt rpc method with 'void' return type. If i have a rpc method where the remote service interface,

Re: RPC void method

2009-04-21 Thread Jim R
The people who apologize about their English tend to have the best English! :) We understood you perfectly, no need to worry. On Apr 21, 7:03 pm, carrizo c4rr...@gmail.com wrote: Hello all, pre-apologize for my english. I've a question about an AsyncCallback object passed to a gwt rpc

Minor documentation error

2009-04-21 Thread k9mab
Found a small documentation error, not sure how to report it. Would someone be good enough to pass this on via the proper channels? http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.html First example in Events and Handlers section has the wrong signature for onClick(). Should be

Re: A native GWT chart library?

2009-04-21 Thread Ben FS
Thanks all for your help. You're welcome! Ben, I looked at the links you gave me, a lot of interesting things but no client-site library that fits my need. For what it's worth, I too would really like a client-side library - mainly so that I can do lots of quick, small updates without much

Can you display a movie (video) with GWT?

2009-04-21 Thread fker...@gmail.com
A simple question: can you display video in a GWT application? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Playing audio files in GWT

2009-04-21 Thread fker...@gmail.com
I wanted to be able to play sound files in a GWT application. Googling around, I found gwt-voices at http://code.google.com/p/gwt-voices/ but I'd like to know if this is the best way to go, or if am I missing something? How do you play audio in GWT? Thanks!

Re: Playing audio files in GWT

2009-04-21 Thread Janet
I'm going to provide the same response for this and your similar question about video (http://groups.google.com/group/Google-Web- Toolkit/browse_frm/thread/9276cb86ebc94ffa?hl=en), as the two questions are related. You can embed audio and video in GWT applications, but, in general, GWT needs to

Re: Can you display a movie (video) with GWT?

2009-04-21 Thread Janet
I'm going to provide the same response for this and your similar question about audio (http://groups.google.com/group/Google-Web- Toolkit/browse_frm/thread/c739f638ca7679f5?hl=en), as the two questions are related. You can embed audio and video in GWT applications, but, in general, GWT needs to

Re: embedded flash not displaying is IE7 on secured url but works fine when viewed with unsecured url

2009-04-21 Thread Tony Strauss
After experiencing it with Flash first hand, I can confirm that the ssl + ie issue also applies to Flash. This blog post: http://robsondesign.com/blog/index.php/2008/08/30/ie-ssl-xml-https-swf-doa/ has a good description of the problem. ie8 also has this issue (feature, according to

[gwt-contrib] Re: HandlerManager throws NPE if last handler is removed twice

2009-04-21 Thread rjrjr
http://gwt-code-reviews.appspot.com/25801/diff/1/3 File user/src/com/google/gwt/event/shared/HandlerManager.java (right): http://gwt-code-reviews.appspot.com/25801/diff/1/3#newcode101 Line 101: } Could be a little simpler--you don't really need an else case: boolean result = false; if (l !=

[gwt-contrib] subtree logging for problems

2009-04-21 Thread Freeland Abbott
Here's the promised follow-on to my earlier, fixing the subtype logging to be a subtree logger. I'm still bothered by the multiple entries for E extends java.lang.Object, but I'm not sure which is the better way to fix it... I think I would like to change JType constructors and/or .equals, to

[gwt-contrib] HandlerManager throws NPE if last handler is removed twice

2009-04-21 Thread jlabanca
Reviewers: rjrjr, Description: See http://gwt-code-reviews.appspot.com/25801/show Please review this at http://gwt-code-reviews.appspot.com/25803 Affected files: user/src/com/google/gwt/event/shared/HandlerManager.java user/test/com/google/gwt/event/shared/HandlerManagerTest.java

[gwt-contrib] Re: HandlerManager throws NPE if last handler is removed twice

2009-04-21 Thread jlabanca
See http://gwt-code-reviews.appspot.com/25803 for updated patch. On 2009/04/21 16:49:12, rjrjr wrote: http://gwt-code-reviews.appspot.com/25801/diff/1/3 File user/src/com/google/gwt/event/shared/HandlerManager.java (right): http://gwt-code-reviews.appspot.com/25801/diff/1/3#newcode101 Line

[gwt-contrib] [google-web-toolkit commit] r5266 - Fixed a bug in HandlerManager where removing the last handler of a given EventType twice ...

2009-04-21 Thread codesite-noreply
Author: jlaba...@google.com Date: Tue Apr 21 10:27:39 2009 New Revision: 5266 Modified: trunk/user/src/com/google/gwt/event/shared/HandlerManager.java trunk/user/test/com/google/gwt/event/shared/HandlerManagerTest.java Log: Fixed a bug in HandlerManager where removing the last handler

[gwt-contrib] Re: Java source transformation

2009-04-21 Thread Bruce Johnson
On Tue, Apr 21, 2009 at 12:38 PM, nicolas de loof nicolas.del...@gmail.comwrote: The only critism I'd have is the requirement to use GWT.create() to get code from a generator. This is a requirement when the generated code doesn't extend the source type (for example for Async interfaces) but

[gwt-contrib] Re: Java source transformation

2009-04-21 Thread nicolas de loof
A simple example : databinding Lets consider I want to bind some Label text to some model Bean value. Gwt Label widget text can be accessed as a javaBean property, so this sound a typical java.beans.binding use-case This requires my model bean to support PropertyChangeListeners. As I'm lazy I'd

[gwt-contrib] [google-web-toolkit commit] r5267 - When AsyncFragmentLoader checks for the success of an XHR download,

2009-04-21 Thread codesite-noreply
Author: sp...@google.com Date: Tue Apr 21 11:13:46 2009 New Revision: 5267 Modified: trunk/user/src/com/google/gwt/core/client/AsyncFragmentLoader.java Log: When AsyncFragmentLoader checks for the success of an XHR download, it now requires that xhr.responseText is non-null and non-empty.

[gwt-contrib] Re: Java source transformation

2009-04-21 Thread Ray Cromwell
I really think Guice-style dependency injection is the way to go to solve this problem, rather than trying to emulate Java Proxies/Classloader in the compiler. If you use Guice/Gin, then in Gin you can inject GWT.create-d versions, and in JUnit-mode, you can use regular Guice injection. The code

[gwt-contrib] Re: Java source transformation

2009-04-21 Thread nicolas de loof
Sounds a good solution.How would this solve the use case data returned by RPC call ? 2009/4/21 Ray Cromwell cromwell...@gmail.com I really think Guice-style dependency injection is the way to go to solve this problem, rather than trying to emulate Java Proxies/Classloader in the compiler. If

[gwt-contrib] Re: Java source transformation

2009-04-21 Thread Ray Cromwell
Interesting question. Gin auto-creates RPC interfaces as well, for example, if you have: public interface MyFoo extends Ginjector { MyServiceAsync getService(); } then Gin implicitly looks for MyService.class and invokes GWT.create(MyService.class) when calling getService(). Since Gin is

[gwt-contrib] Re: cross site RPC through iframes

2009-04-21 Thread Ray Cromwell
It wouldn't be hard to do it using this: http://timepedia.blogspot.com/2008/07/cross-domain-formpanel-submissions-in.html http://development.lombardi.com/?p=611 -Ray 2009/4/21 Piotr Jaroszyński p.jaroszyn...@gmail.com: Hello, I have seen discussion and implementation of XS RPC via script

[gwt-contrib] Re: subtree logging for problems

2009-04-21 Thread Lex Spoon
LGTM. There's a typo in ProblemReport: accessir. -Lex On 4/21/09, Freeland Abbott fabb...@google.com wrote: Here's the promised follow-on to my earlier, fixing the subtype logging to be a subtree logger. I'm still bothered by the multiple entries for E extends java.lang.Object, but I'm

[gwt-contrib] Re: Java source transformation

2009-04-21 Thread Ray Cromwell
On Tue, Apr 21, 2009 at 7:11 PM, Arthur Kalmenson arthur.k...@gmail.com wrote: Hmm, but don't you normally send some kind of Model or domain object over the wire and not something that would need to be injected with dependencies by Gin? I think what he's saying is that he might have an RPC