jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31386] New: - [DataGrid] Data Window
Date Thu, 23 Sep 2004 14:02:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31386

[DataGrid] Data Window

           Summary: [DataGrid] Data Window
           Product: Taglibs
           Version: 1.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Sandbox Taglibs
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: bazu@email.it


Hi, I'm interested in DataGrid project because I (daily) use similar approach
for data browsing in my projects. Before DataGrid I used the pager taglib:
http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html but I'm looking
for a more powerful and quick tool. 
I use the data windows concept. If a query returns a lot of (for example more
than 10000 )  database rows (objects) I'm used to executing 2 queries: the first
one is the real query with the count statement (SELECT count(*) an num FROM foo
WHERE bla=xxx) with this one I get the total number of affected rows. Whith the
second one i get only a subset of records for example the third page (using the
LIMIT statement with the same FROM and WHERE statements).
So after an Action (for example) I have a int number (the set's cardinality) and
a Collection (only the objects that need to be displayed). Actually i use the
int nuber to initialize the pager and the Collection to display data.
I'm wondering if is it possible to integrate this concept in datagrid tag, for
exaple by adding an additional attribute "count" in which set the "global"
cardinality used by the tag to render the pager... if it's setted the tag should
 not consider the size of the collection in "items" attribute and display all
object in the collection.

Sorry for my English an sorry if I post this request in a wrong place (in this
case plz tell me where).

Bye

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message