I've been running into difficulties using the auto-paging functionality of the display tag library, when the number of pages exceeds 1000.
It seems my default Locale inserts a comma into the page number, rendering a link like:
<a href="/ideas/admin/profiles/viewAll.jsp?page=1,000">1000</a>
To correct this, I changed line 1499 in TableTag.java from:
buf.append( helper.getPageNavigationBar( url + separator + "page={0}" ) );
to
buf.append( helper.getPageNavigationBar( url + separator + "page={0,number,#}" ) );
This creates a NumberFormatter that will render the link number as a plain integer, whatever the user's locale.
Cheers,
-Joe
-- [ Joe Holmberg | +44 1273 234293 | http://www.runtime-collective.com ] [ Developer | +44 7909 784342 | Runtime Collective: Web Engineers ]
------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

