📄 home.page
字号:
<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<page-specification class="com.ttdev.dynamicforms.Home">
<component id="error" type="Delegator">
<binding name="delegate" value="beans.delegate.firstError"/>
</component>
<component id="form" type="Form">
<binding name="delegate" value="beans.delegate"/>
</component>
<component id="userList" type="For">
<binding name="source" value="users"/>
<binding name="value" value="currentUser"/>
<binding name="element" value="literal:tr"/>
<binding name="converter" value="converter"/>
</component>
<component id="userName" type="TextField">
<binding name="value" value="currentUser.name"/>
<binding name="validators" value="validators:required"/>
<binding name="displayName" value="literal:User name"/>
</component>
<component id="userNameLabel" type="FieldLabel">
<binding name="field" value="component:userName"/>
</component>
<component id="password" type="TextField">
<binding name="value" value="currentUser.password"/>
<binding name="hidden" value="true"/>
</component>
<component id="delete" type="Checkbox">
<binding name="selected" value="toDeleteUser"/>
</component>
<component id="updateUser" type="InvokeListener">
<binding name="listener" value="listener:updateUser"/>
</component>
</page-specification>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -