58 lines
3.1 KiB
Plaintext
58 lines
3.1 KiB
Plaintext
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
|
|
<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
|
|
<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
|
|
<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
|
|
<netui:html>
|
|
<head>
|
|
<title>attribute8.jsp</title>
|
|
<link href="style.css" rel="stylesheet" type="text/css">
|
|
<netui:base/>
|
|
</head>
|
|
<netui:body>
|
|
<h4 class="title"><netui:anchor action="begin" styleClass="homeAnchor">Home</netui:anchor>attribute8.jsp [goAttribute8.do/tree8] </h4>
|
|
<hr style="clear:left">
|
|
<p>
|
|
This test has a single attribute descending from the root and then multiple element scoped
|
|
attributes in a row, followed by elements that are descendents. The attributes are applied
|
|
to the Label Anchor and should match the label value. You need to view source to
|
|
compare the attributes and the label.
|
|
</p>
|
|
<div class="content">
|
|
<netui:tree dataSource="pageFlow.tree8" selectionAction="postback" tagId="tree">
|
|
<netui:treeItem expanded="true">
|
|
<netui:treeLabel>0 [A]</netui:treeLabel>
|
|
<netui:treeHtmlAttribute attribute="a" value="A" onSelectionLink="true" applyToDescendents="true" />
|
|
<netui:treeItem expanded="true">
|
|
<netui:treeLabel>0.0 [-A-]</netui:treeLabel>
|
|
<netui:treeHtmlAttribute attribute="a" value="-A-" onSelectionLink="true" />
|
|
<netui:treeItem expanded="true">
|
|
<netui:treeLabel>0.0.0 [+A+]</netui:treeLabel>
|
|
<netui:treeHtmlAttribute attribute="a" value="+A+" onSelectionLink="true" />
|
|
<netui:treeItem><netui:treeLabel>0.0.0.0 [A]</netui:treeLabel></netui:treeItem>
|
|
<netui:treeItem>
|
|
<netui:treeLabel>0.0.0.1 [.A.]</netui:treeLabel>
|
|
<netui:treeHtmlAttribute attribute="a" value=".A." onSelectionLink="true" />
|
|
</netui:treeItem>
|
|
<netui:treeItem><netui:treeLabel>0.0.0.2 [A]</netui:treeLabel></netui:treeItem>
|
|
</netui:treeItem>
|
|
<netui:treeItem expanded="true">
|
|
<netui:treeLabel>0.0.1 [A]</netui:treeLabel>
|
|
<netui:treeItem><netui:treeLabel>0.0.1.0 [A]</netui:treeLabel></netui:treeItem>
|
|
<netui:treeItem><netui:treeLabel>0.0.1.1 [A]</netui:treeLabel></netui:treeItem>
|
|
<netui:treeItem><netui:treeLabel>0.0.1.2 [A]</netui:treeLabel></netui:treeItem>
|
|
</netui:treeItem>
|
|
</netui:treeItem>
|
|
<netui:treeItem expanded="true">
|
|
<netui:treeLabel>0.1 [A]</netui:treeLabel>
|
|
<netui:treeItem>0.1.0 [A]</netui:treeItem>
|
|
<netui:treeItem>0.1.1 [A]</netui:treeItem>
|
|
</netui:treeItem>
|
|
</netui:treeItem>
|
|
</netui:tree>
|
|
</div>
|
|
</netui:body>
|
|
</netui:html>
|
|
|
|
|
|
|