1.1 --- a/examples/Common/Dictionary/Resources/words_template.xhtml Fri Sep 09 17:33:19 2005 +0000
1.2 +++ b/examples/Common/Dictionary/Resources/words_template.xhtml Fri Sep 09 19:32:56 2005 +0000
1.3 @@ -11,11 +11,11 @@
1.4 <body template:element="words">
1.5 <form action="" method="POST">
1.6
1.7 -<div template:element="entry">
1.8 +<div template:element="entry"> <!-- id="{template:this-element()}" template:id="word-node" -->
1.9 <p>
1.10 Word: <input template:attribute="word" name="{template:this-attribute()}" type="text" value="{$this-value}"
1.11 onkeypress="requestUpdate(
1.12 - 'entry',
1.13 + 'matches',
1.14 '{template:this-attribute()}',
1.15 '{template:other-elements(matches)}',
1.16 '{template:other-elements(matches)}',
1.17 @@ -25,7 +25,13 @@
1.18 </p>
1.19 <p>
1.20 Matches:
1.21 - <select id="{template:this-element()}" template:id="entry-node" template:element="matches" name="{template:new-attribute('word')}">
1.22 + <select id="{template:this-element()}" template:id="matches-node" template:element="matches" name="{template:new-attribute('word')}">
1.23 + <!-- onchange="requestUpdate(
1.24 + 'word',
1.25 + '{template:new-attribute('word')}',
1.26 + '{template:other-elements(..)}',
1.27 + '{template:other-attributes('word', ..)}',
1.28 + '/words/entry')" -->
1.29 <option template:element="match-enum" template:expr="@word = ../@word" template:expr-attr="selected"
1.30 template:value="@word" value="{@word}" />
1.31 </select>