Zone
親にバインドしたい入力フィールドを含むブロックで更新さForm
れます。残念ながら、これは期待したほど簡単には機能しないようで、次のエラー メッセージが表示されます。Zone
Form
The Description component must be enclosed by a Form component. [at classpath:...Page.tml, line 100]
ソースの簡略版を.tml
以下に示します。
<t:form t:id="editForm" t:context="item.id">
<table>
<tr>
<th>Name</th>
<td><t:textField value="item.name"/></td>
</tr>
<t:block t:id="block">
<tr class="person">
<th>Description</th>
<td><t:textField t:id="description" value="item.description"/></td>
</tr>
</t:block>
<t:zone t:id="itemZone" id="itemZone"/>
<t:actionlink t:id="item" zone="itemZone">Click me!</t:actionlink>
</table>
</t:form>
バインディングを行う方法はありますか?そうでない場合、他にどのような選択肢がありますか?