⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex6_55.txt

📁 j2ee core design patterns
💻 TXT
字号:
Example 6.55 Custom Tag Helper Strategy
<%@ taglib uri="/web-INF/corepatternstaglibrary.tld"
 prefix="corepatterns" %>
<html>
<head><title>Employee List</title></head>
<body>

<div align="center">
<h3> List of employees in <corepatterns:department attribute="id"/>
 department - Using Custom Tag Helper Strategy. </h3>
<table border="1" >
    <tr>
        <th> First Name </th>
        <th> Last Name </th>
        <th> Designation </th>
        <th> Employee Id </th>
        <th> Tax Deductibles </th>
        <th> Performance Remarks </th>
        <th> Yearly Salary</th>
    </tr>
    <corepatterns:employeelist id="employeelist_key">
    <tr>
        <td><corepatterns:employee attribute="FirstName"/> </td>
        <td><corepatterns:employee attribute="LastName"/></td> 
        <td><corepatterns:employee attribute="Designation"/> </td>
        <td><corepatterns:employee attribute="Id"/></td> 
        <td><corepatterns:employee attribute="NoOfDeductibles"/></td>
        <td><corepatterns:employee attribute="PerformanceRemarks"/></td>
        <td><corepatterns:employee attribute="YearlySalary"/></td>
        <td>
     </tr>
    </corepatterns:employeelist>
</table>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -