Savoy, Melinda wrote: > > I am new to the use of DisplayTag. I am trying to evaluate this > product to see if we can use it in the next phase of our project. > > I just downloaded the WAR file and I'm looking specifically at the > pagination functionality. > > We have 2 questions: > > 1. Is it possible to modify the navigation? To be more specific, > instead of having text for the FIRST/PREVIOUS and NEXT/LAST text can > we exchange for the following text "<< <" 1, 2, 3, ..."> >>" > respectively? >
Yes you can modify the paging banner by adding a paging.banner.full property to your displaytag property file: <http://displaytag.sourceforge.net/11/configuration.html> > > > 2. Within the table, is it possible to have 2 lines displayed? In our > resultset some of the records may have a DESCRIPTION FIELD that should > go on the second line of a record in the table. > You would need to use a decorator to handle this. Adding the following code would add an extra description row to your table: public String finishRow() { return "<tr><td colspan\"10\">" + ((MyClass)this.getCurrentRowObject()).getDescription() + "</td></tr>"; } <http://displaytag.sourceforge.net/11/tut_decorators.html> Ed! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user