<?xml version="1.0" encoding="ISO-8859-1" ?>
<taglib>
  <tlibversion>1.0</tlibversion>
  <jspversion>1.1</jspversion>
  <shortname>input</shortname>
  <uri>http://jakarta.apache.org/taglibs/input-0.90</uri>

  <info>
  <p>
        A tag library that produces HTML form elements that are
   prepopulated with default input.  Supported tags include
   &lt;input&gt; with types of "text", "password", "textarea",
   "radio", and "checkbox", and &lt;select&gt; elements.
  </p>
  <p>
   You can see that this documentation includes paragraphs,
   <b>bold</b>, <u>underlined</u>, and <i>italicised</i> text,
   as well as <a href="http://www.ingenta.com">links</a>
   </p>
  </info>

  <tag>
    <name>text</name>
    <tagclass>org.apache.taglibs.input.Text</tagclass>
    <bodycontent>empty</bodycontent>
    <info>
   Displays a one-line text-entry box <b>bold</b>
    </info>
    <attribute>
    <info>The name attribute</info>

   <name>name</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>default</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>attributes</name>
    <info>An attribute called attributes!</info>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>textarea</name>
    <tagclass>org.apache.taglibs.input.TextArea</tagclass>
    <bodycontent>empty</bodycontent>
    <info>
   Displays a textarea box
    </info>
    <attribute>
   <name>name</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>default</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>attributes</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>select</name>
    <tagclass>org.apache.taglibs.input.Select</tagclass>
    <bodycontent>empty</bodycontent>
    <info>
   Displays a selection box
    </info>
    <attribute>
   <name>name</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>options</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>default</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>attributes</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>radio</name>
    <tagclass>org.apache.taglibs.input.Radio</tagclass>
    <bodycontent>empty</bodycontent>
    <info>
   Displays a radio button
    </info>
    <attribute>
   <name>name</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <!-- value can be empty, but it must be present -->
   <name>value</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>default</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>attributes</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>checkbox</name>
    <tagclass>org.apache.taglibs.input.Checkbox</tagclass>
    <bodycontent>empty</bodycontent>
    <info>
   Displays a check box
    </info>
    <attribute>
   <name>name</name>
   <required>true</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <!-- value can be explicitly empty, or it can be absent, in which
        case it defaults to "on" -->
   <name>value</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <!-- the two "defaults" for checkbox are concatenated together to form
    an array of size (defaults.length + 1), or 1 if defaults.length
    is null or isn't present
      -->
    <attribute>
    <info>About this attribute</info>
   <!-- single String -->
   <name>default</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <!-- array of Strings -->
   <name>defaults</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
   <name>attributes</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

</taglib>
