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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]