1.1 --- a/examples/Common/Configurator/Resources/config_template.xhtml Fri Dec 02 23:30:28 2005 +0000
1.2 +++ b/examples/Common/Configurator/Resources/config_template.xhtml Fri Dec 02 23:30:37 2005 +0000
1.3 @@ -19,7 +19,7 @@
1.4 <div template:element="details" class="details">
1.5 <h2 template:i18n="Base System">Base System</h2>
1.6
1.7 - <p><span template:i18n="-">Model</span>
1.8 + <p xml:space="preserve"><span template:i18n="-">Model</span>
1.9 <select template:multiple-choice-field="base-system,value" name="..."
1.10 onchange="
1.11 requestUpdate('cpu', '{template:this-attribute()}',
1.12 @@ -37,7 +37,7 @@
1.13
1.14 <h2 template:i18n="-">Processor</h2>
1.15
1.16 - <p template:element="cpu" template:id="cpu-node" id="{template:this-element()}"><span template:i18n="-">CPU</span>
1.17 + <p template:element="cpu" template:id="cpu-node" id="{template:this-element()}" xml:space="preserve"><span template:i18n="-">CPU</span>
1.18 <select template:multiple-choice-field="-,value" name="...">
1.19 <option template:multiple-choice-value="cpu-enum,value,selected" value="..."></option>
1.20 </select>
1.21 @@ -67,7 +67,7 @@
1.22 <h2 template:i18n="-">Hard Disks</h2>
1.23
1.24 <div template:id="hard-disks-node" id="{template:this-element()}">
1.25 - <p template:element="hard-disk"><span template:i18n="-">Hard disk drive</span>
1.26 + <p template:element="hard-disk" xml:space="preserve"><span template:i18n="-">Hard disk drive</span>
1.27 <select template:multiple-choice-field="-,value" name="...">
1.28 <option template:multiple-choice-value="hard-disk-enum,value,selected" value="..."></option>
1.29 </select>
1.30 @@ -84,7 +84,7 @@
1.31 <div template:element="storage" class="storage">
1.32 <h2 template:i18n="-">Additional Storage</h2>
1.33
1.34 - <p template:element="storage-unit"><span template:i18n="-">Storage unit</span>
1.35 + <p template:element="storage-unit" xml:space="preserve"><span template:i18n="-">Storage unit</span>
1.36 <select template:multiple-choice-field="-,value" name="..."
1.37 onchange="requestUpdate('accessories', '{template:other-attributes('value', ../storage-unit)}', '{template:other-elements(../../accessories)}', '{template:other-list-attributes('accessory-enum', 'value', ../../accessories)}', '/configuration/accessories')">
1.38
1.39 @@ -110,13 +110,13 @@
1.40 <div template:element="peripherals" class="peripherals">
1.41 <h2 template:i18n="-">Input Devices</h2>
1.42
1.43 - <p template:element="keyboard"><span template:i18n="-">Keyboard</span>
1.44 + <p template:element="keyboard" xml:space="preserve"><span template:i18n="-">Keyboard</span>
1.45 <select template:multiple-choice-field="-,value" name="...">
1.46 <option template:multiple-choice-value="keyboard-enum,value,selected" value="..."></option>
1.47 </select>
1.48 </p>
1.49
1.50 - <p template:element="mouse"><span template:i18n="-">Mouse</span>
1.51 + <p template:element="mouse" xml:space="preserve"><span template:i18n="-">Mouse</span>
1.52 <select template:multiple-choice-field="-,value" name="...">
1.53 <option template:multiple-choice-value="mouse-enum,value,selected" value="..."></option>
1.54 </select>
1.55 @@ -124,7 +124,7 @@
1.56
1.57 <h2 template:i18n="-">Display</h2>
1.58
1.59 - <p template:element="screen"><span template:i18n="-">Screen</span>
1.60 + <p template:element="screen" xml:space="preserve"><span template:i18n="-">Screen</span>
1.61 <select template:multiple-choice-field="-,value" name="...">
1.62 <option template:multiple-choice-value="screen-enum,value,selected" value="..."></option>
1.63 </select>
1.64 @@ -134,7 +134,7 @@
1.65 <div class="price">
1.66 <h2 template:i18n="-">Price</h2>
1.67
1.68 - <p><span template:i18n="-">Total for this configuration:</span>
1.69 + <p xml:space="preserve"><span template:i18n="-">Total for this configuration:</span>
1.70 <span template:value="sum(/configuration//*[@value-is-set]/@price) + sum(/configuration//*[@value = ../@value]/@price)"></span></p>
1.71
1.72 <p>