[Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script

Paul Swanson Paul.Swanson at harlandfs.com
Tue Aug 7 18:46:53 BST 2012


Nope, still getting 'undefined' in my full app. It reads in an external XML file with setup and quiz questions -- maybe there is something in there that's throwing a spanner in the works. I'll try reading that file in my stripped down version and see if it still runs into a problem.

Paul Swanson
Internal Business Systems Analyst
Internal Business Intelligence
Harland Financial Solutions
(800) 274-7280 Ext. 2462
Paul.Swanson at harlandfs.com


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: Tuesday, August 07, 2012 10:29 AM
To: Xerte discussion list
Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script

Latest update: I created a stripped down version that just takes the user's text entry email address and sends it to the PHP script, and reads the response from the onSendAndLoadVars event as rawData. It's working in my stripped down version on localhost. One difference: instead of trying to display the rawData (I haven't attempted any parsing yet) in the script attached to the event response, I'm exiting the response and then doing my textIconID.appendText(rawData) -- I'll let you know if moving my parsing routine to a script following the interaction resolves the problem in my full application.





More information about the Xerte mailing list