morgand 01/01/30 16:43:23
Modified: jdbc/conf jdbc.tld
Log:
Removed all old setter/getter methods and added getColumn
and setColumn
Revision Changes Path
1.3 +36 -1060 jakarta-taglibs/jdbc/conf/jdbc.tld
Index: jdbc.tld
===================================================================
RCS file: /home/cvs/jakarta-taglibs/jdbc/conf/jdbc.tld,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jdbc.tld 2001/01/10 21:58:37 1.2
+++ jdbc.tld 2001/01/31 00:43:23 1.3
@@ -60,8 +60,8 @@
<tagclass>org.apache.taglibs.jdbc.connection.DatabaseURLTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>Sets the database URL of the enclosing connection tag
-according to the initParameter, if specified, or the body of
-the tag. The tag body will be trimmed.</info>
+according to the initParameter, if specified, or from the body of
+the tag.</info>
<attribute>
<name>initParameter</name>
<required>false</required>
@@ -203,1028 +203,70 @@
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
-
- <tag>
- <name>setArray</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetArrayTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Set a field in a preparedStatement. Requires that the name of a
- java.sql.Array page attribute is passed into the "name" tag attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setAsciiStream</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetAsciiStreamTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Set a field in a preparedStatement. Requires that the name of a
- java.io.InputStream page attribute is passed into the "name" tag attribute.
- Also required the length of the InputStream.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>length</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setBigDecimal</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetBigDecimalTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Set a field in a preparedStatement. Requires either the name
- of a java.math.BigDecimal page attribute in the "name" tag attribute,
- or the String equivalent inside the tag body.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setBinaryStream</name>
-
<tagclass>org.apache.taglibs.jdbc.preparedstatement.SetBinaryStreamTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is empty
-and requires that the name of a java.io.InputStream page attribute is
-passed into the "name" tag attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>length</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setBlob</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetBlobTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is empty
-and requires that the name of a java.sql.Blob page attribute is
-passed into the "name" tag attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setBoolean</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetBooleanTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of a Boolean page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content
-will be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setBytes</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetBytesTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of a byte array page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content
-will not be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setByte</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetByteTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of a Byte page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setCharacterStream</name>
-
<tagclass>org.apache.taglibs.jdbc.preparedstatement.SetCharacterStreamTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is empty
-and requires that the name of a java.io.Reader page atttribute is
-passed into the "name" tag attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>length</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setClob</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetClobTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is empty
-and requires that the name of a java.sql.Clob page attribute is passed
-into the "name" tag attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setDate</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetDateTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of a java.sql.Date page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed. Optionally, you may set the name of a
-java.util.Calendar page attribute in the "calendar" attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>calendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setDouble</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetDoubleTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the name
-of a Double page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setFloat</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetFloatTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the name
-of a Float page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setInt</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetIntTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of an Integer page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setLong</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetLongTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of the Long page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setNull</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetNullTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is
-empty and requires that you set the "sqlType" of the null. The valid
-SQL types are the field names of the java.sql.Types class
-(ARRAY, BIGINT, BINARY, BIT, BLOB, CHAR, etc.). Optionally you
-may include a "typeName". See the jdbc tag library documentation
-for more details.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>sqlType</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>typeName</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setObject</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetObjectTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is empty
-and requires that the name of an Object page page attribute is set in
-the "name" tag attribute. Optionally, you may set the "sqlType"
-and "scale" of DECIMAL and NUMERIC objects. See JDBC tag
-documentation for more information.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>sqlType</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>scale</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setRef</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetRefTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. This tag is empty
-and requires that the name of a java.sql.Ref page attribute is passed
-into the "name" tag attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setShort</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetShortTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of the Short page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setString</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetStringTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of the String page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-not be trimmed.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setTimestamp</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetTimestampTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of a java.sql.Timestamp page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed. Optionally, you may set the name of a
-java.util.Calendar page attribute in the "calendar" attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>calendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>setTime</name>
- <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetTimeTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Setter for the enclosing preparedstatement tag. Either pass the
-name of a java.sql.Time page attribute into the "name" tag attribute, or
-represent it as a String inside the tag body. Body content will
-be trimmed. Optionally, you may set the name of a
-java.util.Calendar page attribute in the "calendar" attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>name</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>calendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- resultset tags -->
-
- <tag>
- <name>resultSet</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.ResultSetTag</tagclass>
- <teiclass>org.apache.taglibs.jdbc.resultset.ResultSetTEI</teiclass>
- <bodycontent>JSP</bodycontent>
- <info>JSP tag resulset, executes the query and loops through the results
-for the enclosing statement or preparedstatement tag. The body of
-this tag is executed once per row in the resultset. The optional
-"loop" attribute, which default to true, specifies whether to execute
-the tag body once per row "true", or to simply assign the ResultSet
-to the page attribute specified by "id".</info>
- <attribute>
- <name>id</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>loop</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>wasNull</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.WasNullTag</tagclass>
- <bodycontent>JSP</bodycontent>
- <info>Executes its body if the last get* tag received a null value
-from the database. Setting the "value" attribute to false will
-execute the tag body if the last get* tag did not
-return a null. You must be inside a resultset tag and there must
-be a previous get* tag, or an error will be generated.</info>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getArray</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetArrayTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Array, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Array to a serlvet attribute with the "to" attribute. The scope
of the servlet
-attribute is specified by the "scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getAsciiStream</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetAsciiStreamTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.io.InputStream, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Inputstream to a serlvet attribute with the "to"
-attribute. The scope of the servlet attribute is specified by the
-"scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getBigDecimal</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetBigDecimalTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.math.BigDecimal, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the BigDecimal to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getBinaryStream</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetBinaryStreamTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Inputstream, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Inputstream to a serlvet attribute with the "to"
-attribute. The scope of the servlet attribute is specified by the
-"scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getBlob</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetBlobTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Blob, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Blob to a serlvet attribute with the "to"
-attribute. The scope of the servlet attribute is specified by the
-"scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getBoolean</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetBooleanTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Boolean, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Boolean to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getBytes</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetBytesTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a byte[] array, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the byte[] array to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getByte</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetByteTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Byte, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Byte to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getCharacterStream</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetCharacterStreamTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.io.Reader, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the java.io.Reader to a serlvet attribute with the "to"
-attribute. The scope of the servlet attribute is specified by the
-"scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getClob</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetClobTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Clob, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Clob to a serlvet attribute with the "to"
-attribute. The scope of the servlet attribute is specified by the
-"scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getDate</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetDateTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Date, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Date to a serlvet attribute instead
-of the tag body with the "to" attribute. The scope of the servlet
-attribute is specified by the "scope" XML attribute (default = page).
-You may also optionally specify the name of a java.util.Calendar page
-attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>calendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getDouble</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetDoubleTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Double, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Double to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getFloat</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetFloatTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Float, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Float to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
<tag>
- <name>getInt</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetIntTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Integer, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Integer to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
+ <name>setColumn</name>
+ <tagclass>org.apache.taglibs.jdbc.preparedstatement.SetColumnTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ <info>Setter for the enclosing preparedstatement tag. Set the String
+ inside the tag body. Body content will
+ not be trimmed.</info>
<attribute>
<name>position</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
</tag>
- <tag>
- <name>getLong</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetLongTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Long, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Long to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getObject</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetObjectTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Object, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Object to a serlvet attribute instead
-of the tag body with the "to" attribute. The scope of the servlet
-attribute is specified by the "scope" XML attribute (default = page).
-You may also optionally specify the name of a java.util.Map page
-attribute, in order to pass in a mapping of custom SQL types.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>map</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
+ <!-- resultset tags -->
+
<tag>
- <name>getRef</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetRefTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Ref, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Ref to a serlvet attribute with the "to"
-attribute. The scope of the servlet attribute is specified by the
-"scope" XML attribute (default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
+ <name>resultSet</name>
+ <tagclass>org.apache.taglibs.jdbc.resultset.ResultSetTag</tagclass>
+ <teiclass>org.apache.taglibs.jdbc.resultset.ResultSetTEI</teiclass>
+ <bodycontent>JSP</bodycontent>
+ <info>JSP tag resulset, executes the query and loops through the results
+for the enclosing statement or preparedstatement tag. The body of
+this tag is executed once per row in the resultset. The optional
+"loop" attribute, which default to true, specifies whether to execute
+the tag body once per row "true", or to simply assign the ResultSet
+to the page attribute specified by "id".</info>
<attribute>
- <name>to</name>
+ <name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
- <name>scope</name>
+ <name>loop</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
- <tag>
- <name>getShort</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetShortTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a Short, of a coulmn in the
-enclosing resultset. The column number is set via the "position"
-attribute. You can optionally set the Short to a serlvet attribute
-instead of the tag body with the "to" attribute. The scope of the
-servlet attribute is specified by the "scope" XML attribute
-(default = page).</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
+ <tag>
+ <name>wasNull</name>
+ <tagclass>org.apache.taglibs.jdbc.resultset.WasNullTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ <info>Executes its body if the last getColumn tag received a null value
+from the database. Setting the "value" attribute to false will
+execute the tag body if the last getColumn tag did not
+return a null. You must be inside a resultset tag and there must
+be a previous getColumn tag, or an error will be generated.</info>
<attribute>
- <name>scope</name>
+ <name>value</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
- <name>getString</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetStringTag</tagclass>
+ <name>getColumn</name>
+ <tagclass>org.apache.taglibs.jdbc.resultset.GetColumnTag</tagclass>
<bodycontent>empty</bodycontent>
<info>Gets the value, as a String, of a coulmn in the enclosing
resultset. The column number is set via the "position" attribute.
-You can optionally set the String to a serlvet attribute instead
-of the tag body with the "to" attribute. The scope of the servlet
+You can optionally set the value, as a String, to a serlvet attribute
+instead of the tag body with the "to" attribute. The scope of the servlet
attribute is specified by the "scope" XML attribute (default = page).</info>
<attribute>
<name>position</name>
@@ -1243,71 +285,5 @@
</attribute>
</tag>
- <tag>
- <name>getTimestamp</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetTimestampTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Timestamp, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Timestamp to a serlvet attribute instead
-of the tag body with the "to" attribute. The scope of the servlet
-attribute is specified by the "scope" XML attribute (default = page).
-You may also optionally specify the name of a java.util.Calendar page
-attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>calendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>getTime</name>
- <tagclass>org.apache.taglibs.jdbc.resultset.GetTimeTag</tagclass>
- <bodycontent>empty</bodycontent>
- <info>Gets the value, as a java.sql.Time, of a coulmn in the enclosing
-resultset. The column number is set via the "position" attribute.
-You must set the Time to a serlvet attribute instead
-of the tag body with the "to" attribute. The scope of the servlet
-attribute is specified by the "scope" XML attribute (default = page).
-You may also optionally specify the name of a java.util.Calendar page
-attribute.</info>
- <attribute>
- <name>position</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>to</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>calendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
</taglib>