I really hate talking to myself, but the solution to my second question is
to create a displaytag.properties with:
paging.banner.all_items_found=
paging.banner.some_items_found=
paging.banner.placement=bottom
and then put the following above the table:
Found: <c:out value="${filteredReportData.fullListSize}"/>
where filteredReportData is the name of the attribute under which the
PaginatedList is saved.
2007/9/25, Tomas KRAMAR <[EMAIL PROTECTED]>:
>
> Now I can see the stupidity of my question. I must have been blind when I
> didn't notice the PaginatedList in documentation...
>
> Anyway, can anyone help me how to split the banner?
>
> 2007/9/24, Tomas KRAMAR <[EMAIL PROTECTED]>:
> >
> > Hello,
> > in my application I need to cope with the paginated table with possibly
> > more than 1000 rows. I really don't want to go and fetch all records at
> > once, instead I want to pull only the appropriate page from database.
> > However, all the samples I found, fetched all the data at once.
> > There should be no problem in determining the number of page to get, as
> > it is passed as the request attribute. The problem however is, how to make
> > displaytag render the correct table header (info about number of records
> > fetched + links). One solution could be overriding the List.size()
> > method to return the number of records in database - but that would only
> > solve one half of the problem (displaying the number of records found). I
> > don't know how to make displaytag render the correct pagination links.
> > This seems to be a common problem, does anyone have a solution?
> >
> > The application I am writing is an intranet application, which must
> > follow the strictly defined visual design guidelines.
> > Thus I need to create layout like:
> > table title
> > -----
> > number of records found:
> > -----
> > table
> > -----
> > pagination links
> >
> > I have been looking through various configuration options, but I can't
> > find a way how to split the header (it is called banner in the docs) into
> > two separate parts, and position each independently.
> >
> > Thank you for your time and help.
> > Regards
> > --
> > Tomas Kramar
>
>
>
>
> --
> Tomas Kramar
--
Tomas Kramar
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user