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

Pat Lockley patrick.lockley at googlemail.com
Tue Aug 7 18:55:36 BST 2012


On load doesn't have to succeed? 

On 7 Aug 2012, at 18:50, Dave Burnett <d_b_burnett at hotmail.com> wrote:

> 
> 
> What's the diff between onData and onLoad?
> 
> 
> 
> > From: Paul.Swanson at harlandfs.com
> > To: xerte at lists.nottingham.ac.uk
> > Date: Tue, 7 Aug 2012 17:46:53 +0000
> > Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script
> > 
> > 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.
> > 
> > 
> > 
> > _______________________________________________
> > Xerte mailing list
> > Xerte at lists.nottingham.ac.uk
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> > 
> > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> > 
> > This message has been checked for viruses but the contents of an attachment
> > may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with the
> > University of Nottingham may be monitored as permitted by UK legislation.
> > 
> 
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120807/6aabe630/attachment-0001.html>


More information about the Xerte mailing list