You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by sh...@apache.org on 2001/07/30 20:03:42 UTC

cvs commit: jakarta-taglibs/input/conf input.tld

shawn       01/07/30 11:03:42

  Added:       input/conf input.tld
  Log:
  
  
  Revision  Changes    Path
  1.1                  jakarta-taglibs/input/conf/input.tld
  
  Index: input.tld
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd">
  <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>input</shortname>
    <uri>http://jakarta.apache.org/taglibs/input-0.90</uri>
  
    <info>
          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.
    </info>
  
    <tag>
      <name>text</name>
      <tagclass>org.apache.taglibs.input.Text</tagclass>
      <bodycontent>empty</bodycontent>
      <info>
  	Displays a one-line text-entry 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>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>
  	<!-- 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>