Bug 3169 - rowCount, wasEmpty and wasNotEmpty don't work with resultSet Loop False
Summary: rowCount, wasEmpty and wasNotEmpty don't work with resultSet Loop False
Status: RESOLVED WORKSFORME
Alias: None
Product: Taglibs
Classification: Unclassified
Component: DBTags Taglib (show other bugs)
Version: 1.0
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-19 23:24 UTC by Dinesh Somasundram
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dinesh Somasundram 2001-08-19 23:24:17 UTC
Hi There,

I'm new to the Java World. I have been fiddling around with the DBTags and 
found that rowCount, wasEmpty and wasNotEmpty don't seem to work with resultSet 
Loop False.

I don't know if this is a bug or was it meant to be that way, but it certainly 
would be nice to have those functions working with loop="false".

Thank you and regards,
Dinesh, S.
Comment 1 Morgan Delagrange 2002-04-15 03:04:12 UTC
These tags cannot work in the current implementation when loop=false.  rowcount 
can only be tracked when the tag controls iteration, and wasEmpty and 
wasNotEmpty is derived from rowcount.  I'll add this to the DBTags 
documentation, if it's not already there.