<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'>
<br><BR>The thing I'm curious about is the additional properties in the return.<BR><br><BR>I thought the only thing in the someIcon.loadVars would be what was returned by the call to the server.<BR><br><BR>e.g.<BR>Value_a TEXT Value_B TEXT Value_c TEXT<br><BR><br><BR>where is the rest coming from?<BR>=&onLoad=[type Function]&icon=_level0.engine.IFC.FW_ENT<br><BR><br><BR><br><BR>I really just need to know where I truncate that string so as to just extract the return string.<BR><br><BR><br><div><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Wed, 17 Aug 2011 13:40:35 +0100<br>Subject: [Xerte] Re: What part of the object am I looking at?<br><br>
<style>
.ExternalClass .ecxshape
{;}
</style><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsonormal, .ExternalClass li.ecxecxecxmsonormal, .ExternalClass div.ecxecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsochpdefault, .ExternalClass li.ecxecxecxmsochpdefault, .ExternalClass div.ecxecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsonormal1, .ExternalClass li.ecxecxecxmsonormal1, .ExternalClass div.ecxecxecxmsonormal1
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsochpdefault1, .ExternalClass li.ecxecxecxmsochpdefault1, .ExternalClass div.ecxecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxecxmsohyperlink1
{;}
.ExternalClass span.ecxecxecxmsohyperlinkfollowed1
{;}
.ExternalClass span.ecxecxecxemailstyle181
{;}
.ExternalClass span.ecxecxemailstyle28
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxecxecxmsonormal2, .ExternalClass li.ecxecxecxmsonormal2, .ExternalClass div.ecxecxecxmsonormal2
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsochpdefault2, .ExternalClass li.ecxecxecxmsochpdefault2, .ExternalClass div.ecxecxecxmsochpdefault2
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsonormal11, .ExternalClass li.ecxecxecxmsonormal11, .ExternalClass div.ecxecxecxmsonormal11
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxecxmsohyperlink11
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxecxmsohyperlinkfollowed11
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxecxemailstyle1811
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass p.ecxecxecxmsochpdefault11, .ExternalClass li.ecxecxecxmsochpdefault11, .ExternalClass div.ecxecxecxmsochpdefault11
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxemailstyle281
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle42
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">Sorry. Duh, RootIcon == ifc. rootIcon.loadVars is the same thing as rootIcon.loadVars. Must have had too much holiday.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 17 August 2011 13:38<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: What part of the object am I looking at?</span></p></div></div><p class="ecxMsoNormal" style="margin-left:36.0pt"> </p><div><p class="ecxMsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">odd.<br><br><br>debug(rootIcon.ifc.loadVars);<br>undefined <br><br><br>debug(ifc.loadVars);<br>Value%5Fa%20TEXT%09Value%5FB%20TEXT%09Value%5Fc%20TEXT%0D%0A=&onLoad=%5Btype%20Function%5D&icon=%5Flevel0%2Eengine%2EIFC%2EFW%5FENT<br><br><br><br><br><br><br><br></span></p><div><div class="ecxMsoNormal" align="center" style="margin-left:36.0pt;text-align:center"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><hr size="2" width="100%" align="center" id="ecxstopSpelling"></span></div><p class="ecxMsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Wed, 17 Aug 2011 13:26:03 +0100<br>Subject: [Xerte] Re: What part of the object am I looking at?</span></p><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">Here’s the function in the engine:</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">ICON.prototype.sendAndLoadVars = function(url, loadVarsObj){</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> this.loadVars = new LoadVars();</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> this.loadVars.icon = this;</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> loadVarsObj.sendAndLoad(url, this.loadVars, "POST");</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> this.loadVars.onLoad = function(success){</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> this.icon.broadcast('onSendAndLoadVars') </span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> }</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">}</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">So try decode() on rootIcon.ifc.loadVars?</span></p><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style="margin-left:72.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 17 August 2011 13:23<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: What part of the object am I looking at?</span></p></div></div><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> </span></p><div><p class="ecxMsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><br><br>debug(ifc.loadVars.decode());<br><br><br>false</span></p><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Help: "Sets the object iconID.<span style="color:white;background:#0A246A">loadVars</span> with the resulting <span style="color:white;background:#0A246A">loadVars</span> properties."</span></p><p class="ecxMsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><br>Should the returned data have it own prop?<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></span></p><div><div style="margin-left:36.0pt"><div class="ecxMsoNormal" align="center" style="margin-left:36.0pt;text-align:center"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><hr size="2" width="100%" align="center"></span></div></div><p class="ecxMsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Wed, 17 Aug 2011 13:15:19 +0100<br>Subject: [Xerte] Re: What part of the object am I looking at?</span></p><div><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">myLV.decode();</span></p><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">??</span></p><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style="margin-left:108.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 17 August 2011 11:40<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] What part of the object am I looking at?</span></p></div></div><p class="ecxMsoNormal" style="margin-left:108.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> </span></p><div><p class="ecxMsoNormal" style="margin-left:108.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><br><br>vars = new LoadVars ();<br><br>vars.CCID = 200;<br>ifc.sendAndLoadVars('http://www.myserver.com/daveRead.asp', vars);<br><br><br>returns a tab delimited string.<br><br><br>inspect(ifc.loadVars); //returns below<br><br><br>===============<br>Value_a TEXT Value_B TEXT Value_c TEXT<br><br>: <br>onLoad : [type Function]<br>icon : _level0.engine.IFC.FW_ENT<br>===============<br><br><br><br><br>debug(ifc.loadVars); //returns below<br><br><br>==================<br>Value%5Fa%20TEXT%09Value%5FB%20TEXT%09Value%5Fc%20TEXT%0D%0A=&onLoad=%5Btype%20Function%5D&icon=%5Flevel0%2Eengine%2EIFC%2EFW%5FENT<br>===================<br><br><br><br><br>How do I get at just my returned data?<br>It doesn't seem to have a property.<br><br><br><br><br>Dave</span></p></div></div><p class="ecxMsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><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><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.</span></p></div></div></div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"><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.</span></p></div></div></div><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></body>
</html>