craigmcc 01/12/17 20:17:32 Modified: webapps/admin tree-control-test.jsp Added: webapps/admin/WEB-INF controls.tld Removed: webapps/admin/WEB-INF tree-control.tld Log: Change the name of the application-specific tag library to "controls" so that we can add some additional gadgets. No functional changes yet. Revision Changes Path 1.6 +6 -6 jakarta-tomcat-4.0/webapps/admin/tree-control-test.jsp Index: tree-control-test.jsp =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/tree-control-test.jsp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- tree-control-test.jsp 2001/11/13 01:00:03 1.5 +++ tree-control-test.jsp 2001/12/18 04:17:32 1.6 @@ -4,7 +4,7 @@ <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> -<%@ taglib uri="/WEB-INF/tree-control.tld" prefix="tree" %> +<%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %> <html:html locale="true"> @@ -19,11 +19,11 @@ <!-- Tree Component --> <td width="200"> - <tree:render tree="treeControlTest" - action="treeControlTest.do?tree=${name}" - style="tree-control" - styleSelected="tree-control-selected" - styleUnselected="tree-control-unselected" + <controls:tree tree="treeControlTest" + action="treeControlTest.do?tree=${name}" + style="tree-control" + styleSelected="tree-control-selected" + styleUnselected="tree-control-unselected" /> </body> 1.1 jakarta-tomcat-4.0/webapps/admin/WEB-INF/controls.tld Index: controls.tld =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd"> <taglib> <tlib-version>1.0</tlib-version> <jsp-version>1.2</jsp-version> <short-name>controls</short-name> <description> JSP tag library containing custom GUI controls used in the Tomcat Administrative Application. </description> <!-- ========== Tree Control Tag ======================================== --> <tag> <name>tree</name> <tag-class>org.apache.webapp.admin.TreeControlTag</tag-class> <body-content>empty</body-content> <description> Render a "tree" control, based on the current state of a data object of type org.apache.webapp.admin.TreeControl, which is identified by the name specified in the "tree" attribute, in the JSP scope specified by the "scope" attribute. </description> <attribute> <name>action</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Hyperlink to which expand/contract actions should be sent, with a string "${node}" marking where the node name of the affected node should be included (which will usually be as the value of a request parameter). </description> </attribute> <attribute> <name>images</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Name of a directory containing the images for our icons, relative to the page including this tag. If not specified, defaults to "images". </description> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The JSP scope within which the "tree" attribute is to be found (page, request, session, or application). If not specified, the "tree" attribute will be searched for in any scope. </description> </attribute> <attribute> <name>style</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The CSS style class to be applied to the entire rendered output of the tree control. If not specified, no overall style class is applied. </description> </attribute> <attribute> <name>styleSelected</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The CSS style class to be applied to the text of any node that is currently selected. If not specified, no style class will be applied to the text of the selected node. </description> </attribute> <attribute> <name>styleUnselected</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The CSS style class to be applied to the text of any node that is *not* currently selected. If not specified, no style class will be applied to the text of non-selected nodes. </description> </attribute> <attribute> <name>tree</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Name of the attribute (in the scope specified by the "scope" attribute, if any) under which an object of type org.apache.webapp.admin.TreeControl is stored. This object represents the entire current state of the tree, including a representation of the hierarchical representation of the nodes, plus the current expanded/ or contracted state of non-leaf nodes. </description> </attribute> </tag> </taglib>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>