home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / controls.tld < prev    next >
Encoding:
Extensible Markup Language  |  2004-08-28  |  13.4 KB  |  420 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE taglib
  3.   PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  4.          "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
  5.  
  6. <taglib>
  7.  
  8.   <tlib-version>1.0</tlib-version>
  9.   <jsp-version>1.2</jsp-version>
  10.   <short-name>controls</short-name>
  11.   <description>
  12.     JSP tag library containing custom GUI controls used in the
  13.     Tomcat Administrative Application.
  14.   </description>
  15.  
  16.   <!-- ========== Instant Table Tag ===================================== -->
  17.  
  18.   <tag>
  19.  
  20.     <name>table</name>
  21.     <tag-class>org.apache.webapp.admin.TableTag</tag-class>
  22.     <body-content>JSP</body-content>
  23.     <description>
  24.       Render a "table" object, which is rendered as an HTML
  25.       "table" element. 
  26.       
  27.       NOTE:  The only valid nested content for this tag is
  28.       "row" tags from this library.  Anything else will cause
  29.       the rendered HTML to be invalid.
  30.  
  31.       NOTE:  To be usable, this tag must be nested inside an
  32.       HTML <form> element.
  33.     </description>
  34.  
  35.     <attribute>
  36.       <name>columns</name>
  37.       <required>false</required>
  38.       <rtexprvalue>true</rtexprvalue>
  39.       <description>
  40.         (Integer) number of columns that the table contains.  If
  41.         not specified, only two columns will be visible.
  42.       </description>
  43.     </attribute>
  44.  
  45.     <attribute>
  46.       <name>tableStyle</name>
  47.       <required>false</required>
  48.       <rtexprvalue>true</rtexprvalue>
  49.       <description>
  50.         The CSS style class to be applied to the entire rendered output
  51.         of the instant table.  If not specified, no overall
  52.         style class is applied.
  53.       </description>
  54.     </attribute>
  55.  
  56.     <attribute>
  57.       <name>lineStyle</name>
  58.       <required>false</required>
  59.       <rtexprvalue>true</rtexprvalue>
  60.       <description>
  61.         The CSS style for the lines between rows.
  62.       </description>
  63.     </attribute>
  64.  
  65.   </tag>
  66.  
  67.     <tag>
  68.  
  69.     <name>row</name>
  70.     <tag-class>org.apache.webapp.admin.RowTag</tag-class>
  71.     <body-content>JSP</body-content>
  72.     <description>
  73.       Define a single "instant table row" option for the surrounding "table"
  74.       tag.  It is not valid to use this tag *except* when nested inside an
  75.       "table" tag.
  76.  
  77.       NOTE: This tag can nest only "label" and "data" tags.
  78.     </description>
  79.  
  80.     <attribute>
  81.       <name>header</name>
  82.       <required>false</required>
  83.       <rtexprvalue>true</rtexprvalue>
  84.       <description>
  85.         (Boolean) variable set to "true" or "yes" if this row is
  86.         the header row.
  87.         </description>
  88.     </attribute>
  89.     
  90.      <attribute>
  91.       <name>labelStyle</name>
  92.       <required>false</required>
  93.       <rtexprvalue>true</rtexprvalue>
  94.       <description>
  95.         The style for the label table data element.
  96.       </description>
  97.     </attribute>
  98.     
  99.      <attribute>
  100.       <name>dataStyle</name>
  101.       <required>false</required>
  102.       <rtexprvalue>true</rtexprvalue>
  103.       <description>
  104.         The style for the value of the table data element.
  105.       </description>
  106.     </attribute>    
  107.     
  108.      <attribute>
  109.       <name>styleId</name>
  110.       <required>false</required>
  111.       <rtexprvalue>true</rtexprvalue>
  112.       <description>
  113.         The styleId for the label table data element.
  114.       </description>
  115.     </attribute>
  116.         
  117.   </tag>
  118.  
  119.  <tag>
  120.  
  121.     <name>label</name>
  122.     <tag-class>org.apache.webapp.admin.LabelTag</tag-class>
  123.     <body-content>JSP</body-content>
  124.     <description>
  125.       Render a "label" object, which is rendered as a label in the row of
  126.       an HTML "table" element. 
  127.  
  128.       NOTE:  To be usable, this tag must be nested inside a "row" tag.
  129.     </description>
  130.   </tag>
  131.  
  132.  <tag>
  133.  
  134.     <name>data</name>
  135.     <tag-class>org.apache.webapp.admin.DataTag</tag-class>
  136.     <body-content>JSP</body-content>
  137.     <description>
  138.       Render a "data" object, which is rendered as a label in the row of
  139.       an HTML "table" element. 
  140.  
  141.       NOTE:  To be usable, this tag must be nested inside a "row" tag.
  142.     </description>
  143.   </tag>
  144.  
  145.   <!-- ========== Instant Actions Tag ===================================== -->
  146.  
  147.    <tag>
  148.  
  149.     <name>actions</name>
  150.     <tag-class>org.apache.webapp.admin.ActionsTag</tag-class>
  151.     <body-content>JSP</body-content>
  152.     <description>
  153.       Render an "instant actions" object, which is rendered as an HTML
  154.       "select" element, where the selection of a particular element from
  155.       the list immediately causes a JavaScript function to be executed
  156.       (with the available elements specified by "action" tag instances
  157.       nested within the body of the "actions" tag).
  158.  
  159.       NOTE:  The only valid nested content for this tag is
  160.       "action" tags from this library.  Anything else will cause
  161.       the rendered HTML to be invalid.
  162.  
  163.       NOTE:  To be usable, this tag must be nested inside an
  164.       HTML <form> element.
  165.     </description>
  166.  
  167.     <attribute>
  168.       <name>size</name>
  169.       <required>false</required>
  170.       <rtexprvalue>true</rtexprvalue>
  171.       <description>
  172.         (Integer) number of rows that will be visible to the user.  If
  173.         not specified, only one row will be visible.
  174.       </description>
  175.     </attribute>
  176.  
  177.     <attribute>
  178.       <name>style</name>
  179.       <required>false</required>
  180.       <rtexprvalue>true</rtexprvalue>
  181.       <description>
  182.         The CSS style class to be applied to the entire rendered output
  183.         of the instant actions control.  If not specified, no overall
  184.         style class is applied.
  185.       </description>
  186.     </attribute>
  187.  
  188.     <attribute>
  189.       <name>label</name>
  190.       <required>false</required>
  191.       <rtexprvalue>true</rtexprvalue>
  192.       <description>
  193.         HTML Label tag generation.
  194.       </description>
  195.     </attribute>
  196.     
  197.   </tag>
  198.  
  199.   <tag>
  200.  
  201.     <name>action</name>
  202.     <tag-class>org.apache.webapp.admin.ActionTag</tag-class>
  203.     <body-content>JSP</body-content>
  204.     <description>
  205.       Define a single "instant action" option for the surrounding "actions"
  206.       tag.  It is not valid to use this tag *except* when nested inside an
  207.       "actions" tag.
  208.  
  209.       NOTE:  The body content of this tag (which should be suitably
  210.       localized, if required by your application) is used as the
  211.       user-visible label for this action.
  212.     </description>
  213.  
  214.     <attribute>
  215.       <name>selected</name>
  216.       <required>false</required>
  217.       <rtexprvalue>true</rtexprvalue>
  218.       <description>
  219.         (Boolean) variable set to "true" or "yes" if this action should
  220.         already be selected when the "instant actions" element is
  221.         initially displayed.
  222.       </description>
  223.     </attribute>
  224.  
  225.     <attribute>
  226.       <name>disabled</name>
  227.       <required>false</required>
  228.       <rtexprvalue>true</rtexprvalue>
  229.       <description>
  230.         (Boolean) variable set to "true" or "yes" if the selection
  231.         for this action should be disabled.        
  232.       </description>
  233.     </attribute>
  234.  
  235.     <attribute>
  236.       <name>url</name>
  237.       <required>false</required>
  238.       <rtexprvalue>true</rtexprvalue>
  239.       <description>
  240.         The URL to which the current frame or window will be transferred
  241.         if the "onchange" event handler of this "instant actions" element
  242.         is triggered, and this is the currently selected action.  If no
  243.         URL is specified, no action will be taken (useful for "(None)"
  244.         options and dividers).
  245.  
  246.         If this URL starts with a slash, it will be assumed to be
  247.         context-relative, and will be prefixed with the context path
  248.         of this request.  Otherwise, it will be used unmodified.
  249.  
  250.         NOTE:  This URL will be passed through URL rewriting so that it
  251.         will maintain session identity even in environments were cookies
  252.         are not being used.
  253.       </description>
  254.     </attribute>
  255.  
  256.   </tag>
  257.  
  258.  
  259.   <!-- ========== Tree Control Tag ======================================== -->
  260.  
  261.   <tag>
  262.  
  263.     <name>tree</name>
  264.     <tag-class>org.apache.webapp.admin.TreeControlTag</tag-class>
  265.     <body-content>empty</body-content>
  266.     <description>
  267.       Render a "tree" control, based on the current state of a data object
  268.       of type org.apache.webapp.admin.TreeControl, which is identified
  269.       by the name specified in the "tree" attribute, in the JSP scope
  270.       specified by the "scope" attribute.
  271.     </description>
  272.  
  273.     <attribute>
  274.       <name>action</name>
  275.       <required>false</required>
  276.       <rtexprvalue>true</rtexprvalue>
  277.       <description>
  278.         Hyperlink to which expand/contract actions should be sent,
  279.         with a string "${node}" marking where the node name of the
  280.         affected node should be included (which will usually be as
  281.         the value of a request parameter).
  282.       </description>
  283.     </attribute>
  284.  
  285.     <attribute>
  286.       <name>images</name>
  287.       <required>false</required>
  288.       <rtexprvalue>true</rtexprvalue>
  289.       <description>
  290.         Name of a directory containing the images for our icons,
  291.         relative to the page including this tag.  If not specified,
  292.         defaults to "images".
  293.       </description>
  294.     </attribute>
  295.  
  296.     <attribute>
  297.       <name>scope</name>
  298.       <required>false</required>
  299.       <rtexprvalue>true</rtexprvalue>
  300.       <description>
  301.         The JSP scope within which the "tree" attribute is to be found
  302.         (page, request, session, or application).  If not specified, the
  303.         "tree" attribute will be searched for in any scope.
  304.       </description>
  305.     </attribute>
  306.  
  307.     <attribute>
  308.       <name>style</name>
  309.       <required>false</required>
  310.       <rtexprvalue>true</rtexprvalue>
  311.       <description>
  312.         The CSS style class to be applied to the entire rendered output
  313.         of the tree control.  If not specified, no overall style class
  314.         is applied.
  315.       </description>
  316.     </attribute>
  317.  
  318.     <attribute>
  319.       <name>styleSelected</name>
  320.       <required>false</required>
  321.       <rtexprvalue>true</rtexprvalue>
  322.       <description>
  323.         The CSS style class to be applied to the text of any node that
  324.         is currently selected.  If not specified, no style class will be
  325.         applied to the text of the selected node.
  326.       </description>
  327.     </attribute>
  328.  
  329.     <attribute>
  330.       <name>styleUnselected</name>
  331.       <required>false</required>
  332.       <rtexprvalue>true</rtexprvalue>
  333.       <description>
  334.         The CSS style class to be applied to the text of any node that
  335.         is *not* currently selected.  If not specified, no style class will
  336.          be applied to the text of non-selected nodes.
  337.       </description>
  338.     </attribute>
  339.  
  340.     <attribute>
  341.       <name>tree</name>
  342.       <required>false</required>
  343.       <rtexprvalue>true</rtexprvalue>
  344.       <description>
  345.         Name of the attribute (in the scope specified by the "scope"
  346.         attribute, if any) under which an object of type
  347.         org.apache.webapp.admin.TreeControl is stored.  This object
  348.         represents the entire current state of the tree, including
  349.         a representation of the hierarchical representation of the
  350.         nodes, plus the current expanded/ or contracted state of
  351.         non-leaf nodes.
  352.       </description>
  353.     </attribute>
  354.  
  355.   </tag>
  356.  
  357.   <!-- ========== JMX Attribute Display Tag =============================== -->
  358.  
  359.   <tag>
  360.  
  361.     <name>attribute</name>
  362.     <tag-class>org.apache.webapp.admin.AttributeTag</tag-class>
  363.     <body-content>empty</body-content>
  364.     <description>
  365.       Look up an attribute on a JMX MBean, specified by an object name
  366.       specified by the "name" (and optional "property" and "scope")
  367.       attributes, and render it to the current JSP writer.  The object name
  368.       identified by these attributes can be either a java.lang.String version
  369.       of the name, or a javax.management.ObjectName instance.
  370.     </description>
  371.  
  372.     <attribute>
  373.       <name>attribute</name>
  374.       <required>true</required>
  375.       <rtexprvalue>true</rtexprvalue>
  376.       <description>
  377.         Name of the attribute of the JMX MBean whose value is to be
  378.         retrieved and written to the current JSP writer.
  379.       </description>
  380.     </attribute>
  381.  
  382.     <attribute>
  383.       <name>name</name>
  384.       <required>true</required>
  385.       <rtexprvalue>true</rtexprvalue>
  386.       <description>
  387.         Name of a bean, optionally in some scope identified by the "scope"
  388.         attribute.  If the "property" attribute is not specified, this bean
  389.         must by a String or an ObjectName.  Otherwise, this bean must have
  390.         a property getter for the property named by "property", which will
  391.         return the String or ObjectName.
  392.       </description>
  393.     </attribute>
  394.  
  395.     <attribute>
  396.       <name>property</name>
  397.       <required>false</required>
  398.       <rtexprvalue>true</rtexprvalue>
  399.       <description>
  400.         Name of a bean property, on the bean identified by the "name"
  401.         (and optional "scope") attributes, that is either a String or an
  402.         ObjectName of the JMX MBean whose attribute is to be retrieved.
  403.       </description>
  404.     </attribute>
  405.  
  406.     <attribute>
  407.       <name>scope</name>
  408.       <required>false</required>
  409.       <rtexprvalue>true</rtexprvalue>
  410.       <description>
  411.         Name of the scope ("page", "request", "session", or "application")
  412.         in which the bean identified by the "name" attribute is to be found.
  413.         If not specified, all scopes will be searched in ascending order.
  414.       </description>
  415.     </attribute>
  416.  
  417.   </tag>
  418.  
  419. </taglib>
  420.