<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">&gt;Then
after the icons have been parsed you know how to get at them. I think you know
/ do that already?</span><br><br>Yes, doing that.<br><br>But it bugs me why this is taking place:<br><br><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">icon.nextSibling.firstChild.duplicate(x);<br></span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">tempNode.attributes.label = data.question[blah[i]];</span><br>//set a dynamic rs<br>tempNode.attributes.rs = 'cbox' + icon.parentNode.index() + i;<br><br>//push that rs into an array<br>cboxArray.push(tempNode.attributes.rs);<br><br>//address the rs via engine<br><br>engine[cboxArray[0]].setChecked(true,false); // does not work.<br><br>engine[cboxArray[0]].setEnabled(false); //works, sets checkbox disabled<br><br>I would have expected failures of both or neither<br><br>:-?<br><br><br><br><br><hr id="stopSpelling"><div class="ecxWordSection1"><br><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">&nbsp;</span></p>

<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br></span></p>

<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">&nbsp;</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">

<p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 29 September 2010 16:40<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox</span></p>

</div>

</div>

<p class="ecxMsoNormal" style="margin-left: 36pt;">&nbsp;</p>

<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Thanks
Julian. I may be going at this all backwards though.<br>
<br>
Proto checkbox gets duped x times<br>
<br>
icon.nextSibling.firstChild.duplicate(x);<br>
<br>
Then next line of code sets checkbox labels<br>
tempNode.attributes.label = data.question[blah[i]];<br>
<br>
At this same stage should I also be able to set rs, then checked/enabled using
the rs value?<br>
<br>
<br>
<br>
<br>
<br>
</span></p>

<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">

<hr id="ecxstopSpelling" align="center" width="100%" size="2">

</span></div>

<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:
Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 29 Sep 2010 15:11:50 +0100<br>
Subject: RE: [Xerte] check then disable checkbox</span></p>

<div>

<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Go get the latest build from <a href="http://www.nottingham.ac.uk/xerte/downloads/setup.exe" target="_blank">http://www.nottingham.ac.uk/xerte/downloads/setup.exe</a>
and you’ll find what you’re looking for.</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

<div>

<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;">

<p class="ecxMsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 29 September 2010 14:33<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] check then disable checkbox</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

</div>

</div>

<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">&nbsp;</span></p>

<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Probably
missing something obvious as I'm re-wrapping my head after holidays.<br>
<br>
Button off interaction has visible/enabled property.<br>
Not available for checkboxes, or is it inherited from superclass or something?</span></p>

</div>

<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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>




<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.                                               </body>
</html>