Search code examples
javastrutsdisplaytag

How to customize the paging.banner.some_items_found when using DisplayTag


I'm trying to customize the line paging.banner.some_items_found in the displaytag.properties, I'd like to change o remove some words like 'item' from the message, in my code I have:

paging.banner.some_items_found={0} {1} found, displaying {2} to {3}.

and it gives me as a result e.g.

6000 items found, displaying 106 to 126

How can I display?:

6000 found, showing 106 to 206


Solution

  • {0} found, displaying {2} to {3}.