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

📄 secondtree.html

📁 经典Tapestry教程 经典Tapestry教程
💻 HTML
字号:
<html jwcid="@Shell" title="Using The Tapestry Tree Control" stylesheet="ognl:assets.stylesheet"><head jwcid="@Block">    <link rel="stylesheet" type="text/css" href="../css/style.css"/></head><body jwcid="@Body">    <h1>First Tree</h1>    <div class="note">        This page demonstates the using the Tree components to implement         a simple tree.     </div>    <p>        The Tapestry Tree components render ITreeNode objects.          This is a simple interface that defines nodes which can have a single         parent and multiple children.    <p>        To display a Tree, you must first perform the following steps:        <ul>            <li>Create a "tree" of ITreeNode objects</li>            <li>Create an ITreeDataModel object to wrap the "tree"</li>            <li>Create an ITreeModel that wraps the ITreeDataModel</li>                            </ul>    <p>    <table border="1">        <tr>            <td valign="top">                <span class="tree" jwcid="treeView">                    <span jwcid="treeDataView">                        <span jwcid="treeNodeView"/>                    </span>                </span>            </td>        </tr>    </table>            <p>        <a href="#" jwcid="@PageLink" page="Home">Return to Home Page...</a></body></html>

⌨️ 快捷键说明

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