Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-89 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-89 Summary: Proposal: five additional attributes for display:table Type: New Feature Status: Unassigned Priority: Major Original Estimate: 2 days Time Spent: Unknown Remaining: 2 days Project: DisplayTag Components: Tag Library Versions: 1.0 RC1 Assignee: Reporter: Tak Yoshida Created: Sat, 30 Oct 2004 1:00 PM Updated: Sat, 30 Oct 2004 1:00 PM Description: Hello Matt, My name is Tak Yoshida. I have started using displaytag for my new project, where sort, download, and paging are required. I was looking forward to use this scince I had your presentation in NY on Apr. I was so impressed the displaytag's functionalities, but also found missing functionalities for web application. To meet these requirements, I would like to propose enhancements for it. Here are the requirement I could not find in displaytag. 0: assumption is that scope is request. 1: the result collection contains entries only specified in page size, because it could be too many, so I don't want to construct entire result collection. (FYI, it's pretty slick to work with SQLMap) 2: the result count cannot be taken from result collection. 3: sort must be done by database, instead of manipulating the result collection. 4: export link should be at the top of the table. 5: page navigatoin must be dropdown list. 6: parameter named should not be encoded for the readability of codes. I would like to know why this encoded parameter name is necessary? Here is the proposal. To add above functions, I would like to introduce five attributes for display:table tag. 1: fullListSizeProperty: to handle requirement 1 and 2. 2: sortInDatabase: for the requirement 3 3: exportLinkAtTop: for the requirement 4 4: dropdownPageNav: for the the requirement 5 5: parameterPrefix: for the the requirement 6 Based on these additional attributes, the current functions are not infected at all, and modified code is so simple and very straightforward. To give you an idea, Here is the snippet of the jsp, <display:table name="OrderSearchPage.resultList" class="resulttable" cellpadding="0" cellspacing="0" export="true" sort="list" pagesize= "<%=OrderSearchPage.getPageSize()%>" requestURI="/orderinquiry/OrderSearchPage/searchOrder.do" dropdownPageNav="true" sortInDatabase="true" fullListSizeProperty="OrderSearchPage.resultCount" exportLinkAtTop="true" parameterPrefix="table"> and here is the snapshot of the result. I would really appreciate it, if you would review and consider attached patch in your future release. All the modificaiton start with "// TY start" and end with "// TY end", and there are 12 places in 4 classes. Oops, I cannot attch image here. Please let me know where I can post them. Thanks for your time to read my proposal, Tak Yoshida --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel