1.1 --- a/examples/Common/Configurator/Resources/config_template.xhtml Fri Jul 15 13:35:46 2005 +0000
1.2 +++ b/examples/Common/Configurator/Resources/config_template.xhtml Fri Jul 15 13:36:33 2005 +0000
1.3 @@ -20,7 +20,7 @@
1.4 <h2>Base System</h2>
1.5
1.6 <p template:element="base-system">Model
1.7 - <select name="{template:multi-field-name('value')}" onchange="requestUpdate('{$application-url}cpu', '{template:multi-field-name('value')}', 'cpu-node', '{template:other-multi-field-names('value', ../cpu)}', '/configuration/details/cpu'); requestUpdate('{$application-url}memory', '{template:multi-field-name('value')}', 'memory-node', '{template:other-multi-field-names('value', ../../memory/memory-unit)}', '/configuration/memory'); requestUpdate('{$application-url}hard-disks', '{template:multi-field-name('value')}', 'hard-disks-node', '{template:other-multi-field-names('value', ../../hard-disks/hard-disk)}', '/configuration/hard-disks')">
1.8 + <select name="{template:multi-field-name('value')}" onchange="requestUpdate('{$application-url}cpu', '{template:multi-field-name('value')}', '{template:other-field-names(../cpu)}', '{template:other-multi-field-names('value', ../cpu)}', '/configuration/details/cpu'); requestUpdate('{$application-url}memory', '{template:multi-field-name('value')}', '{template:other-field-names(../../memory)}', '{template:other-multi-field-names('value', ../../memory/memory-unit)}', '/configuration/memory'); requestUpdate('{$application-url}hard-disks', '{template:multi-field-name('value')}', '{template:other-field-names(../../hard-disks)}', '{template:other-multi-field-names('value', ../../hard-disks/hard-disk)}', '/configuration/hard-disks')">
1.9 <option template:element="base-system-enum" template:expr="@value-is-set" template:expr-attr="selected" template:value="@value"
1.10 value="{@value}"></option>
1.11 </select>
1.12 @@ -29,7 +29,7 @@
1.13 <h2>Processor</h2>
1.14
1.15 <p template:element="cpu">CPU
1.16 - <select id='cpu-node' name="{template:multi-field-name('value')}">
1.17 + <select template:id="cpu-node" id="{template:this-position()}" name="{template:multi-field-name('value')}">
1.18 <option template:element="cpu-enum" template:expr="@value-is-set" template:expr-attr="selected" template:value="@value"
1.19 value="{@value}"></option>
1.20 </select>
1.21 @@ -39,7 +39,7 @@
1.22 <div template:element="memory" class="memory">
1.23 <h2>Memory</h2>
1.24
1.25 - <div id="memory-node">
1.26 + <div template:id="memory-node" id="{template:this-position()}">
1.27 <p template:element="memory-unit">Memory unit
1.28 <select name="{template:multi-field-name('value')}">
1.29 <option template:element="memory-unit-enum" template:expr="@value-is-set" template:expr-attr="selected" template:value="@value"
1.30 @@ -59,7 +59,7 @@
1.31 <div template:element="hard-disks" class="hard-disks">
1.32 <h2>Hard Disks</h2>
1.33
1.34 - <div id="hard-disks-node">
1.35 + <div template:id="hard-disks-node" id="{template:this-position()}">
1.36 <p template:element="hard-disk">Hard disk drive
1.37 <select name="{template:multi-field-name('value')}">
1.38 <option template:element="hard-disk-enum" template:expr="@value-is-set" template:expr-attr="selected" template:value="@value"