1.1 --- a/examples/Common/Configurator/Resources/config_template.xhtml Thu Jul 21 22:38:46 2005 +0000
1.2 +++ b/examples/Common/Configurator/Resources/config_template.xhtml Thu Jul 21 23:03:29 2005 +0000
1.3 @@ -20,7 +20,17 @@
1.4 <h2>Base System</h2>
1.5
1.6 <p template:element="base-system">Model
1.7 - <select template:attribute="value" name="{template:this-attribute()}" onchange="requestUpdate('{$application-url}cpu', '{template:this-attribute()}', '{template:other-elements(../cpu)}', '{template:other-attributes('value', ../cpu)}', '/configuration/details/cpu'); requestUpdate('{$application-url}memory', '{template:this-attribute()}', '{template:other-elements(../../memory)}', '{template:other-attributes('value', ../../memory/memory-unit)}', '/configuration/memory'); requestUpdate('{$application-url}hard-disks', '{template:this-attribute()}', '{template:other-elements(../../hard-disks)}', '{template:other-attributes('value', ../../hard-disks/hard-disk)}', '/configuration/hard-disks')">
1.8 + <select template:attribute="value" name="{template:this-attribute()}"
1.9 + onchange="
1.10 + requestUpdate('{$application-url}cpu', '{template:this-attribute()}',
1.11 + '{template:other-elements(../cpu)}', '{template:other-attributes('value', ../cpu)}',
1.12 + '/configuration/details/cpu');
1.13 + requestUpdate('{$application-url}memory', '{template:this-attribute()}',
1.14 + '{template:other-elements(../../memory)}', '{template:other-attributes('value', ../../memory/memory-unit)}',
1.15 + '/configuration/memory');
1.16 + requestUpdate('{$application-url}hard-disks', '{template:this-attribute()}',
1.17 + '{template:other-elements(../../hard-disks)}',
1.18 + '{template:other-attributes('value', ../../hard-disks/hard-disk)}', '/configuration/hard-disks')">
1.19 <option template:element="base-system-enum" template:expr="@value-is-set" template:expr-attr="selected" template:value="@value"
1.20 value="{@value}"></option>
1.21 </select>