[Ajax] - Returning a file after ajaxlongresponse

2013-08-05 Thread Dev WO
Hello, I'm having some trouble trying to return a file after an ajaxlongresponse. I'm currently have my callable task used through ajaxlongresponse (CCAjaxLongResponsePage), I'm generating a woresponse (which is actually a file) then hand back this woresponse to the controller component (which

Re: [Ajax] - Returning a file after ajaxlongresponse

2013-08-05 Thread Daniele Corti
Hi Xavier, I don't think you can use the callback of an AjaxLongResponse to serve a file. I think this, because that component use javascript to perform a XMLHttpRequest and update the page with the result, so you cannot put the file in the response. I think the easieat way would be to use the

Re: [Ajax] - Returning a file after ajaxlongresponse

2013-08-05 Thread Johann Werner
You could return an ERXRedirect pointing to a DirectAction or WOComponent that initiates your download. Am 05.08.2013 um 09:44 schrieb Dev WO webobje...@anazys.com: Hello, I'm having some trouble trying to return a file after an ajaxlongresponse. I'm currently have my callable task used

Intermittent hostname null in URL

2013-08-05 Thread John Pollard
Every now and then when running a Wonder-based WO app in development with auto-open browser, the app URL comes up as http://null... instead of my local machine name http://mymac.local/... If I manually change the null to mymac.local all is well I thought I had seen an article on this topic but

Re: Intermittent hostname null in URL

2013-08-05 Thread Dev WO
This usually happens when you change IP address I think. Xavier On 5 août 2013, at 15:18, John Pollard j...@pollardweb.com wrote: Every now and then when running a Wonder-based WO app in development with auto-open browser, the app URL comes up as http://null... instead of my local machine

Ajax links failing on deployment

2013-08-05 Thread Ken Anderson
All, I have an old project that I made some changes to, and on deployment, the Ajax update links stopped working. I click on the link and the action is not triggered. I tried taking the latest wonder build and installing it, but no help. Any suggestions on how to debug this? When I compare

Re: Ajax links failing on deployment

2013-08-05 Thread Timothy Worman
Ken: Is the browser reporting that there are any missing javascript resources? Tim UCLA GSEIS On Aug 5, 2013, at 2:23 PM, Ken Anderson kenli...@anderhome.com wrote: All, I have an old project that I made some changes to, and on deployment, the Ajax update links stopped working. I click

Re: Ajax links failing on deployment

2013-08-05 Thread Ken Anderson
Tim, OK - I went back on to the deployed site to answer your question - and the link is now working! Very weird. I do, however, have an interesting error: SyntaxError: Unexpected number '.3' It says the error is at line 311 of wonder.js, which is: eval(id + Update =

Re: Ajax links failing on deployment

2013-08-05 Thread Johnny Miller
I wonder if you have an element whose id is .3? Which sounds like an id generated by ERXWOContext.safeElementID which should be OK. What browser were you using? Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808)

problems running *AjaxExamples

2013-08-05 Thread Timothy Worman
When I try to run any of the ajax examples from within Eclipse, they fail with the dreaded: [2013-8-5 19:11:30 PDT] main A fatal exception occurred: ERXExtensions have not been initialized. Debugging information can be enabled by adding the JVM argument: