Hi Guys, I was wondering if anyone has successfully tried to
implement DWR (Direct Web Remoting- A Reverse-Ajax implementation) in Xforms? I
have written a test one and it seems to work fine in Firefox but as always, IE
is having some problems with the Javascript. I was curious if anyone else has
tried? Thanks, NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank.
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Naman,
> I was wondering if anyone has successfully tried to implement DWR > (Direct Web Remoting- A Reverse-Ajax implementation) in Xforms? I have > written a test one and it seems to work fine in Firefox but as always, > IE is having some problems with the Javascript. I was curious if anyone > else has tried? What would "implement DWR in XForms" mean exactly? In general, and also in particular with Orbeon Forms? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Well it means basically to import the DWR java script files and use the
Reverse AJAX function calls in an Xforms xhtml file. I have successfully done this and it works in Firefox but as always, in IE I get "Operation Aborted". I even got a $70 IE debugging program but it did not help at all :( -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Thursday, 5 July 2007 9:03 PM To: [hidden email] Subject: Re: [ops-users] DWR in Xforms Naman, > I was wondering if anyone has successfully tried to implement DWR > (Direct Web Remoting- A Reverse-Ajax implementation) in Xforms? I have > written a test one and it seems to work fine in Firefox but as always, > IE is having some problems with the Javascript. I was curious if anyone > else has tried? What would "implement DWR in XForms" mean exactly? In general, and also in particular with Orbeon Forms? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Naman,
On 7/5/07, Naman Joshi <[hidden email]> wrote: > Well it means basically to import the DWR java script files and use the > Reverse AJAX function calls in an Xforms xhtml file. I have successfully > done this and it works in Firefox but as always, in IE I get "Operation > Aborted". I even got a $70 IE debugging program but it did not help at > all :( Do you think this could be caused by some incompatibility between the JavaScript used by Orbeon Forms and DWR? Does the JavaScript debugger provide you with more detailed information on the error? Can you see if it is happening in the Orbeon Forms JavaScript code, one of the libraries used by Orbeon Forms, or DWR? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Alex,
I had a play around and I implemented an example that can be found here: http://today.java.net/pub/a/today/2007/03/22/developing-applications-usi ng-reverse-ajax.html#resources, as an Xforms app. In Firefox it runs fine but in IE I get: Line 620 "document.body is null or not an object", this error is coming from a DWR javascript file: engine.js. I have posted a message on the DWR forum and am awaiting a reply. Any ideas on your end? Naman -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Sunday, 8 July 2007 6:27 PM To: [hidden email] Subject: Re: [ops-users] DWR in Xforms Naman, On 7/5/07, Naman Joshi <[hidden email]> wrote: > Well it means basically to import the DWR java script files and use the > Reverse AJAX function calls in an Xforms xhtml file. I have successfully > done this and it works in Firefox but as always, in IE I get "Operation > Aborted". I even got a $70 IE debugging program but it did not help at > all :( Do you think this could be caused by some incompatibility between the JavaScript used by Orbeon Forms and DWR? Does the JavaScript debugger provide you with more detailed information on the error? Can you see if it is happening in the Orbeon Forms JavaScript code, one of the libraries used by Orbeon Forms, or DWR? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 7/10/07, Naman Joshi <[hidden email]> wrote:
> I had a play around and I implemented an example that can be found here: > http://today.java.net/pub/a/today/2007/03/22/developing-applications-usi > ng-reverse-ajax.html#resources, as an Xforms app. In Firefox it runs > fine but in IE I get: [...] Maybe you can try to set a breakpoint there with an IE debugger and see what the value of "document" is when the error happens. But since this is happening in the DWR code, you might get some better feedback posting, like you did, on the DWR forums. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I got a reply from Joe Walker himself on the DWR forums and he says:
"DWR does use document.body without checking for its existence, and I can't think why we should need to check. I have no idea what Orbeon is doing however looking at their samples I did see a few lines of code like this: if(document&&document.body) Not only do they not trust document.body, but also not document! Is this Orbeon doing something wacky, or is it logical? I think the best place to ask is the Orbeon forums, because it seems reasonable to me to assume document.body is valid. Joe." (http://www.nabble.com/DWR-in-Xforms-in-IE-tf4054167.html#a11532326) I am quite confused as what to do...hehehe...torn between two forums. NJ -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, 10 July 2007 6:50 PM To: [hidden email] Subject: Re: [ops-users] DWR in Xforms On 7/10/07, Naman Joshi <[hidden email]> wrote: > I had a play around and I implemented an example that can be found here: > http://today.java.net/pub/a/today/2007/03/22/developing-applications-usi > ng-reverse-ajax.html#resources, as an Xforms app. In Firefox it runs > fine but in IE I get: [...] Maybe you can try to set a breakpoint there with an IE debugger and see what the value of "document" is when the error happens. But since this is happening in the DWR code, you might get some better feedback posting, like you did, on the DWR forums. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 7/10/07, Naman Joshi <[hidden email]> wrote:
> if(document&&document.body) This code is in the YUI drag & drop library, which we use. I am not sure why they need this there, but we are usually not testing on the existence of document or document.body in our code either. Could you try to debug this and see what the context is when this happens? Is there really no document.body? Is there at least a window object? If there is, can you get more information about this object? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |