morgand 01/02/01 15:28:04
Modified: jdbc/src/org/apache/taglibs/jdbc/resultset WasNullTag.java
Log:
changed documentation. WasNotNull functionality now handled
by a separate tag.
Revision Changes Path
1.3 +11 -15
jakarta-taglibs/jdbc/src/org/apache/taglibs/jdbc/resultset/WasNullTag.java
Index: WasNullTag.java
===================================================================
RCS file:
/home/cvs/jakarta-taglibs/jdbc/src/org/apache/taglibs/jdbc/resultset/WasNullTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WasNullTag.java 2001/01/31 00:58:42 1.2
+++ WasNullTag.java 2001/02/01 23:28:00 1.3
@@ -64,31 +64,27 @@
import javax.servlet.jsp.tagext.TagSupport;
/**
- * <p>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 <i>not</i>
- * return a null. You must be inside a resultset tag and there must
- * be a previous get* tag, or an error will be generated.</p>
+ * <p>Executes its body if the last getColumn tag received a null value
+ * from the database. You must be inside a resultset tag and there must
+ * be a previous getColumn tag, or an error will be generated.</p>
+ *
+ * <p>The subclass WasNotNull sets the "value" property to false,
+ * and therefore executes its tag body is the last column was
+ * <i>not</i> null.</p>
*
* <p>JSP Tag Lib Descriptor
* <pre>
* <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>
+ * <info>Executes its body if the last getColumn tag received a null value
+ * from the database. You must be inside a resultset tag and there must
+ * be a previous getColumn tag, or an error will be generated.</info>
* </pre>
*
* @author Morgan Delagrange
* @see ResultSet
+ * @see wasNotNullTag
*/
public class WasNullTag extends TagSupport {