<div>Yep,<br></div><div><br></div><div>That gets it working correctly.</div><div><br></div><div>Thanks for seeing things through to a solution.</div><div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div>
<br><div class="gmail_quote">On 12 April 2011 10:03, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">It’s defaultValue=”value”</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">not </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">default=”value”</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Sorry.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 12 April 2011 09:59</span></p><div><div class="h5"><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Xerte 2 : Combo box value is defaulting to "" why?</div></div></div><div><div class="h5">
<p class="MsoNormal" style="margin-left:36.0pt"> </p><div><p class="MsoNormal" style="margin-left:36.0pt">Taking the spaces out of the combo box options makes no difference. The data values already contain no spaces in my example.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">I will be unavailable to reply to further emails for a few hours, but will check in again later today.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">Kind regards</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
Johnathan</p></div><p class="MsoNormal" style="margin-left:36.0pt"> </p><div><p class="MsoNormal" style="margin-left:36.0pt">On 11 April 2011 23:08, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:</p>
<div><div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">out of interest, does it work if there are no spaces in the values?</span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:10.0pt;color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">I'll have a look as well.</span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:10.0pt;color:black"> </span></p></div><div><div class="MsoNormal" align="center" style="margin-left:36.0pt;text-align:center"><span style="font-size:10.0pt;color:black"><hr size="2" width="100%" align="center">
</span></div><p class="MsoNormal" style="margin-left:36.0pt"><b><span style="font-size:10.0pt;color:black">From:</span></b><span style="font-size:10.0pt;color:black"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Kemp Johnathan [<a href="mailto:johnathan.kemp@ntlworld.com" target="_blank">johnathan.kemp@ntlworld.com</a>]<br>
<b>Sent:</b> 11 April 2011 22:42</span></p><div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Xerte 2 : Combo box value is defaulting to "" why?</span></p>
</div></div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p></div><div><div><div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">I have tried both</span></p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p></div><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><span style="font-size:10.0pt;color:black"><narPlayback type="ComboBox" label="Narration Playback" options="On user request,On page load" data="userRequest,pageLoad" default="On user request" width="150" optional="true"/></span></p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">and</span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p>
</div><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> <narPlayback type="ComboBox" label="Narration Playback" options="On user request,On page load" data="userRequest,pageLoad" default="userRequest" width="150" optional="true"/></span></p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">The result is the same in both cases, the default is ignored. As described earlier. When the optional parameter is added it receives a value of "" . Selection of the first option leaves the value at "". Once any option other than the first option is selected the matching value in the data list is assigned. After that point selection of the first option results in the correct value for the first option being assigned.</span></p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">I have tested this with the page's xml file open in Flash Develop and watched the contents of the xml file change as the wizard is closed after each test action in the wizard.</span></p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">Kind regards</span></p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">Johnathan </span></p>
</div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black">On 11 April 2011 16:03, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span></p>
<div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">You need to add the default value to the value in options, not data.</span></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="color:black"> </span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">So in this case default=”On user request”</span></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="color:black"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:72.0pt"><b><span lang="EN-US" style="font-size:10.0pt;color:black">From:</span></b><span lang="EN-US" style="font-size:10.0pt;color:black"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 11 April 2011 15:11<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Xerte 2 : Combo box value is defaulting to "" why?</span></p></div><p class="MsoNormal" style="margin-left:72.0pt">
<span style="color:black"> </span></p><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">Given the xwd file content as</span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"><wizard><br><!--GAP FILL INTERACTION--------------------------------------------------------><br><gapFill hint="An interaction for creating a drag and drop gap-fill exercise."><br>
<br><text type="TextArea" height="100" label="Introductory Text"/><br><passage type="TextArea" height="150" label="Gap Fill Text"/><br><interactivity type="ComboBox" label="Interactivity" options="Drag Drop,Fill in Blank" width="100"/><br>
<feedback type="TextArea" height="50" label="Feedback"/><br><panelWidth type="ComboBox" label="Panel Width" options="Small,Medium,Large,Full" width="100"/><br>
<br><narration type="media" label="Narration" optional="true"/><br><narPlayback type="ComboBox" label="Narration Playback" options="On user request,On page load" data="userRequest,pageLoad" width="150" optional="true"/><br>
<noise type="TextArea" height="50" label="Distractors" optional="true"/> <br></gapFill><br><br></wizard></span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt">
<span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">If the optional parameter Narration Playback is not added then narPlayback has a value of undefined</span></p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">If the optional parameter Narration Playback is added then narPlayback has a value of ""</span></p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">Only once a combo box option other than the first option is selected by the user does narPlayback get a value from the data list. So to actually give narPlayback a value of "userRequest" the user would have to select first the option "On page load" (giving narPlayback a value of "pageLoad"), then select the option "On user request" (giving narPlayback the value of "userRequest")</span></p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">If the parameter was not an optional one then a value could be supplied in the xml file which would then act as the default value. Since the parameter is optional this is not appropriate.</span></p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">I tried adding a parameter to the xwd declaration default="userRequest" but this did not do anything.</span></p>
</div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">Kind regards</span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt">
<span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">Johnathan</span></p></div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p>
<div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black">On 11 April 2011 11:00, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span></p>
<div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D">If you add the default value in the .xwd then that should be the value the property is instantiated in the xml as. You should always get a valid value, even if you don’t touch the drop down at all.</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D">No?</span></p><p class="MsoNormal" style="margin-left:72.0pt">
<span style="color:black"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:108.0pt"><b><span lang="EN-US" style="font-size:10.0pt;color:black">From:</span></b><span lang="EN-US" style="font-size:10.0pt;color:black"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 06 April 2011 17:28</span></p><div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Xerte 2 : Combo box value is defaulting to "" why?</span></p>
</div></div></div><div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">"I think default should be On Page Load (the label) rather than pageLoad (the data)."</span></p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">I interpreted (perhaps incorrectly) that what you were saying here was that rather than trying to pass a default value from the xwd file, I should include in the script that received the data e.g. getPageID code to test for a null value.</span></p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">Since I was setting up a combo box to allow a user to select between playing narration on page load or on user request I simply changed the order of the options around so that playing on page load was the second option. Action only needed to be taken if the second option was selected and selecting the second option always returned the same value (whereas selecting the first option might return "" or "onUserRequest". So it just kept the testing simpler.</span></p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">My experience during testing was that with respect to a combo box specifying an optional property</span></p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">1. No optional property added : property value = undefined.</span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">2. Optional property added and wizard closed without selection of a value : property value = ""</span></p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">3. Optional property added and first option selected : property value = ""</span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt">
<span style="color:black">4. Optional property added and second option selected : property value = "second option value"</span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">5. Optional property added and second option selected then first option selected : property value = "first option value"</span></p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">Kind regards</span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt">
<span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">Johnathan</span></p></div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p>
<div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black">On 6 April 2011 16:21, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span></p>
<div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D">Can do that, yes, if it doesn’t already work? I know some controls take default values, precisely because when an optional attribute is added, it adds a null value: did you try what I suggested? This code from the wizard suggest all optional properties will handle a default value.</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">//add optional properties</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">addPropListener = new Object();</span></p><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">addPropListener.click = function(obj){</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">       </span></p><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">       if (wizard.nfoObject.wizard[tree.selectedNode.nodeName][optProps.selectedItem.data].defaultValue != undefined){</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">              tree.selectedNode.attributes[optProps.selectedItem.data] = wizard.nfoObject.wizard[tree.selectedNode.nodeName][optProps.selectedItem.data].defaultValue;</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">       } else {</span></p><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">              tree.selectedNode.attributes[optProps.selectedItem.data] = ""</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">       }</span></p><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">       tree.dispatchEvent({target:tree, type: "change"});</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">}</span></p><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">addProp.addEventListener('click', addPropListener);</span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:144.0pt"><b><span lang="EN-US" style="font-size:10.0pt;color:black">From:</span></b><span lang="EN-US" style="font-size:10.0pt;color:black"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 06 April 2011 15:29<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Xerte 2 : Combo box value is defaulting to "" why?</span></p></div><div><div><p class="MsoNormal" style="margin-left:144.0pt">
<span style="color:black"> </span></p><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black">Thanks for your help.</span></p></div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black"> </span></p>
</div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black">It seems strange to me that a combo box / drop down menu should default to returning "" rather than the value of the first element in the list.</span></p>
</div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black">Since the xwd file provides the data for the construction of the wizard, I guess the behaviour of the wizard is governed by the code that processes the xwd file and presents the wizard form to the user, and that this is a part of the core Xerte code. Would it be possible to update the code so that a combo box when run could have either a default value specified in the xwd file or alternatively that it just defaulted to returning the value of the first item in the list unless one of the other items had been selected?</span></p>
</div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black">Kind regards</span></p></div><div><p class="MsoNormal" style="margin-left:144.0pt">
<span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black">Johnathan</span></p></div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black"> </span></p>
<div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black">On 5 April 2011 15:09, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span></p>
<div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="font-size:11.0pt;color:#1F497D">I think default should be On Page Load (the label) rather than pageLoad (the data).</span></p><p class="MsoNormal" style="margin-left:144.0pt">
<span style="color:black"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:180.0pt"><b><span lang="EN-US" style="font-size:10.0pt;color:black">From:</span></b><span lang="EN-US" style="font-size:10.0pt;color:black"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 05 April 2011 15:07<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Xerte 2 : Combo box value is defaulting to "" why?</span></p></div><div><div><p class="MsoNormal" style="margin-left:180.0pt">
<span style="color:black"> </span></p><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">Hello Xerte team,</span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black"> </span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">As far as I can tell this line is set up like many other optional property lines and I don't recall hitting this problem before</span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">In an xwd file I have the optional property</span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:180.0pt"><span style="color:black"><narPlayback type="ComboBox" label="Narration Playback" options="On page load,On user request" data="pageLoad,userRequest" default="pageLoad" width="150" optional="true"/></span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">When the page wizard is opened and the Narration Playback property added and the page wizard closed, the value of narPlayback changes from undefined to ""</span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">If the page wizard is re-opened the combo box displays the selected value as "On page load".</span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt">
<span style="color:black">Clicking on the value "On page load" does not change the value from "" to "pageLoad".</span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black"> </span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">The only way I can actually set the value of narPlayback to "pageLoad" is to select the alternative option from the combo box i.e. "On user request" and then to select "On page load"</span></p>
</div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">What am I missing here?</span></p></div>
<div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">What do I need to do to ensure that when the optional property is added it receives the default value of "pageLoad"?</span></p></div>
<div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">Kind regards</span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt">
<span style="color:black"> </span></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"><span style="color:black">Johnathan</span></p></div></div></div></div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black"> </span></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:black">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></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:black">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><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:144.0pt"><span style="color:black"><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">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.</span></p></div><p class="MsoNormal" style="margin-left:144.0pt"><span style="color:black"> </span></p></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:108.0pt">
<span style="color:black"><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">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.</span></p></div><p class="MsoNormal" style="margin-left:108.0pt"><span style="color:black"> </span></p></div></div></div><div><div><p class="MsoNormal" style="margin-left:72.0pt">
<span style="color:black"> </span></p><p style="margin-left:72.0pt"><span style="font-size:10.0pt;color:black">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></p>
<p style="margin-left:72.0pt"><span style="font-size:10.0pt;color:black">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="MsoNormal" style="margin-bottom:12.0pt;margin-left:72.0pt"><span style="color:black"><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">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.</span></p></div><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:black"> </span></p></div></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<span style="font-size:10.0pt;color:black"><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">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></span></p></div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;color:black"> </span></p></div></div></div></div>
</div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">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></p></div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div></div></div></div><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>
<br></blockquote></div><br>