1.1 --- a/examples/Common/PEP241/Resources/pep241_template.xhtml Mon Oct 17 16:20:17 2005 +0000
1.2 +++ b/examples/Common/PEP241/Resources/pep241_template.xhtml Mon Oct 17 16:20:50 2005 +0000
1.3 @@ -68,16 +68,16 @@
1.4 <th colspan="2" class="heading">Platforms</th>
1.5 </tr>
1.6 </tbody>
1.7 - <tbody template:id="platforms-node" id="platforms-target">
1.8 + <tbody template:id="platforms" id="platforms">
1.9 <tr template:element="platforms,platform">
1.10 <th>Platform name</th>
1.11 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" />
1.12 <input type="submit" value="Remove!" name="..." template:selector-field="remove_platform" onclick="
1.13 -return requestUpdate(
1.14 +return requestUpdateArea(
1.15 'platforms',
1.16 '{template:selector-name('remove_platform', .)}',
1.17 - 'platforms-target',
1.18 - '{template:other-attributes('name', ../platform)}',
1.19 + 'platforms',
1.20 + '{template:other-elements(..)}',
1.21 '/package')
1.22 "/></td>
1.23 </tr>
1.24 @@ -85,16 +85,16 @@
1.25 <th></th>
1.26 <td>
1.27 <input type="submit" value="Add platform!" name="..." template:selector-field="add_platform,platform" onclick="
1.28 -return requestUpdate(
1.29 +return requestUpdateArea(
1.30 'platforms',
1.31 '{template:other-attributes('name', .)},{template:selector-name('add_platform', .)}',
1.32 - 'platforms-target',
1.33 - '{template:other-attributes('name', platforms/platform)}',
1.34 + 'platforms',
1.35 + '{template:other-elements(platforms)}',
1.36 '/package')
1.37 "/></td>
1.38 </tr>
1.39 </tbody>
1.40 - <tbody template:id="supported-platforms-node" id="supported-platforms-target">
1.41 + <tbody template:id="supported-platforms" id="supported-platforms">
1.42 <tr>
1.43 <th colspan="2" class="heading">Supported platforms</th>
1.44 </tr>
1.45 @@ -102,11 +102,11 @@
1.46 <th>Platform name</th>
1.47 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" />
1.48 <input type="submit" value="Remove!" name="..." template:selector-field="remove_supported_platform" onclick="
1.49 -return requestUpdate(
1.50 +return requestUpdateArea(
1.51 'supported-platforms',
1.52 '{template:selector-name('remove_supported_platform', .)}',
1.53 - 'supported-platforms-target',
1.54 - '{template:other-attributes('name', ../supported-platform)}',
1.55 + 'supported-platforms',
1.56 + '{template:other-elements(..)}',
1.57 '/package')
1.58 "/></td>
1.59 </tr>
1.60 @@ -114,16 +114,16 @@
1.61 <th></th>
1.62 <td>
1.63 <input type="submit" value="Add platform!" name="..." template:selector-field="add_supported_platform,supported-platform" onclick="
1.64 -return requestUpdate(
1.65 +return requestUpdateArea(
1.66 'supported-platforms',
1.67 '{template:other-attributes('name', .)},{template:selector-name('add_supported_platform', .)}',
1.68 - 'supported-platforms-target',
1.69 - '{template:other-attributes('name', supported-platforms/supported-platform)}',
1.70 + 'supported-platforms',
1.71 + '{template:other-elements(supported-platforms)}',
1.72 '/package')
1.73 "/></td>
1.74 </tr>
1.75 </tbody>
1.76 - <tbody template:id="keywords-node" id="keywords-target">
1.77 + <tbody template:id="keywords" id="keywords">
1.78 <tr>
1.79 <th colspan="2" class="heading">Keywords</th>
1.80 </tr>
1.81 @@ -131,11 +131,11 @@
1.82 <th>Keyword</th>
1.83 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" />
1.84 <input type="submit" value="Remove!" template:selector-field="remove_keyword" name="..." onclick="
1.85 -return requestUpdate(
1.86 +return requestUpdateArea(
1.87 'keywords',
1.88 '{template:selector-name('remove_keyword', .)}',
1.89 - 'keywords-target',
1.90 - '{template:other-attributes('name', ../keyword)}',
1.91 + 'keywords',
1.92 + '{template:other-elements(..)}',
1.93 '/package')
1.94 "/></td>
1.95 </tr>
1.96 @@ -143,16 +143,16 @@
1.97 <th></th>
1.98 <td>
1.99 <input type="submit" value="Add keyword!" name="..." template:selector-field="add_keyword,keyword" onclick="
1.100 -return requestUpdate(
1.101 +return requestUpdateArea(
1.102 'keywords',
1.103 '{template:other-attributes('name', .)},{template:selector-name('add_keyword', .)}',
1.104 - 'keywords-target',
1.105 - '{template:other-attributes('name', keywords/keyword)}',
1.106 + 'keywords',
1.107 + '{template:other-elements(keywords)}',
1.108 '/package')
1.109 "/></td>
1.110 </tr>
1.111 </tbody>
1.112 - <tbody cellspacing="0" cellpadding="5" template:id="authors-node" id="authors-target">
1.113 + <tbody cellspacing="0" cellpadding="5" template:id="authors" id="authors">
1.114 <tr>
1.115 <th colspan="2" class="heading">Authors</th>
1.116 </tr>
1.117 @@ -161,11 +161,11 @@
1.118 <th>Author name</th>
1.119 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" />
1.120 <input type="submit" value="Remove!" name="..." template:selector-field="remove_author" onclick="
1.121 - return requestUpdate(
1.122 + return requestUpdateArea(
1.123 'authors',
1.124 '{template:selector-name('remove_author', .)}',
1.125 - 'authors-target',
1.126 - '{template:other-attributes('name', ../author)},{template:other-attributes('contact', ../author)},{template:other-attributes('e-mail', ../author)},',
1.127 + 'authors',
1.128 + '{template:other-elements(..)},',
1.129 '/package')
1.130 "/></td>
1.131 </tr>
1.132 @@ -182,16 +182,16 @@
1.133 <th></th>
1.134 <td>
1.135 <input type="submit" value="Add author!" name="..." template:selector-field="add_author,author" onclick="
1.136 -return requestUpdate(
1.137 +return requestUpdateArea(
1.138 'authors',
1.139 '{template:other-attributes('name', .)},{template:selector-name('add_author', .)}',
1.140 - 'authors-target',
1.141 - '{template:other-attributes('name', authors/author)},{template:other-attributes('contact', authors/author)},{template:other-attributes('e-mail', authors/author)}',
1.142 + 'authors',
1.143 + '{template:other-elements(authors)}',
1.144 '/package')
1.145 "/></td>
1.146 </tr>
1.147 </tbody>
1.148 - <tbody cellspacing="0" cellpadding="5" template:id="dependencies-node" id="dependencies-target">
1.149 + <tbody cellspacing="0" cellpadding="5" template:id="dependencies" id="dependencies">
1.150 <tr>
1.151 <th colspan="2" class="heading">Dependencies</th>
1.152 </tr>
1.153 @@ -200,11 +200,11 @@
1.154 <th>Package name</th>
1.155 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" />
1.156 <input type="submit" value="Remove!" name="..." template:selector-field="remove_dependency" onclick="
1.157 - return requestUpdate(
1.158 + return requestUpdateArea(
1.159 'dependencies',
1.160 '{template:selector-name('remove_dependency', .)}',
1.161 - 'dependencies-target',
1.162 - '{template:other-attributes('name', ../dependency)},{template:other-attributes('version', ../dependency)}',
1.163 + 'dependencies',
1.164 + '{template:other-elements(..)}',
1.165 '/package')
1.166 "/></td>
1.167 </tr>
1.168 @@ -217,11 +217,11 @@
1.169 <th></th>
1.170 <td>
1.171 <input type="submit" value="Add dependency!" name="..." template:selector-field="add_dependency,dependency" onclick="
1.172 -return requestUpdate(
1.173 +return requestUpdateArea(
1.174 'dependencies',
1.175 '{template:other-attributes('name', .)},{template:selector-name('add_dependency', .)}',
1.176 - 'dependencies-target',
1.177 - '{template:other-attributes('name', dependencies/dependency)},{template:other-attributes('version', dependencies/dependency)}',
1.178 + 'dependencies',
1.179 + '{template:other-elements(dependencies)}',
1.180 '/package')
1.181 "/></td>
1.182 </tr>