<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div>I assume in both cases you get something back.<div><span style="font-size: 10pt; ">Does onLoad occur when data is deserialized or something?</span></div><div><br></div><div><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: patrick.lockley@googlemail.com<br>Date: Tue, 7 Aug 2012 18:55:36 +0100<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from    external script<br><br><div>On load doesn't have to succeed? <br><br>On 7 Aug 2012, at 18:50, Dave Burnett <<a href="mailto:d_b_burnett@hotmail.com">d_b_burnett@hotmail.com</a>> wrote:<br><br></div><div></div><blockquote><div>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
<div><br></div><div><br></div><div>What's the diff between onData and onLoad?</div><div><br></div><div><br></div><br><div><div id="ecxSkyDrivePlaceholder"></div>> From: <a href="mailto:Paul.Swanson@harlandfs.com">Paul.Swanson@harlandfs.com</a><br>> To: <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>> Date: Tue, 7 Aug 2012 17:46:53 +0000<br>> Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script<br>> <br>> 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.<br>> <br>> Paul Swanson<br>> Internal Business Systems Analyst<br>> Internal Business Intelligence<br>> Harland Financial Solutions<br>> (800) 274-7280 Ext. 2462<br>> <a href="mailto:Paul.Swanson@harlandfs.com">Paul.Swanson@harlandfs.com</a><br>> <br>> <br>> -----Original Message-----<br>> From: <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Paul Swanson<br>> Sent: Tuesday, August 07, 2012 10:29 AM<br>> To: Xerte discussion list<br>> Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script<br>> <br>> 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.<br>> <br>> <br>> <br>> _______________________________________________<br>> Xerte mailing list<br>> <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>> <br>> 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.<br>> <br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>> <br></div>                                      </div><br>

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.
<BR>

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.
<BR>

</div></blockquote><blockquote><div><span>_______________________________________________</span><br><span>Xerte mailing list</span><br><span><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a></span><br><span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br><span></span><br><span>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.</span><br><span></span><br><span>This message has been checked for viruses but the contents of an attachment</span><br><span>may still contain software viruses which could damage your computer system:</span><br><span>you are advised to perform your own checks. Email communications with the</span><br><span>University of Nottingham may be monitored as permitted by UK legislation.</span><br><span></span><br></div></blockquote><br>_______________________________________________
Xerte mailing list
Xerte@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.</div></div>                                         </div></body>
</html>