Configure implementation of SmartListHelper, Pagination and TableWriterTemplate
in displaytag.properties
--------------------------------------------------------------------------------------------------------
Key: DISPL-367
URL: http://jira.codehaus.org/browse/DISPL-367
Project: DisplayTag
Type: Improvement
Components: Paging/Sorting, HTML Generation
Versions: 1.1
Reporter: Saemmy
Fix For: TBD
Attachments: displaytag_changes.zip
For customization of pagination and rendering of the HTML table, it would be
useful to configure the concrete implementation of the corresponding classes
(SmartListHelper, Pagination and TableWriterTemplate) in the
displaytag.properties.
Now, these implementations of these classes are hard coded in sourcecode, so
there is no chance, for easy implementing loosely coupled customized classes.
In the attached file, there is my code for improving Displaytag, by using
Factories for SmartListHelper, Pagination and TableWriterTemplate. The
Factories will have a look in displaytag.properties to get the concrete
classname of the implementation and instantiate it.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel