Bugs item #944056, was opened at 2004-04-28 22:29 Message generated for change (Comment added) made by sabbad You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=944056&group_id=73068
Category: main tag library Group: v 1.0-b3 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: fabrizio giustina (fgiust) Summary: Pagination links are incorrect when they are'nt simple(date) Initial Comment: I'm having a problem with the pagination links ( next/prev and numbers ) when I moved to 1.0.b3 , the links to the pages are messed up and it seems that the url that gets formed form the parameters has the parameter values completely messed up. I have a table displayed as a result of a search which includes dates, the dates in the url of the page links are messed up. If i move back to 1.0.b2 it does not happen. This does not happen if the uri does not have values with special characters like date has( mm/dd/yyyy ). Initial url is like : http://prpc42.ucdavis.edu/EProcurement/do/searchWork flowAction? initiator=AVINASH&wfid=&approvedTDate=&initiatedFD ate=&status=default&d-3824- p=2&initiatedTDate=04/28/2004&approvedFDate=&met hod=search&approver= But the links look like: http://prpc42.ucdavis.edu/EProcurement/do/searchWork flowAction? initiator=AVINASH&wfid=&approvedTDate=&initiatedFD ate=&status=default&d-3824-p=2&initiatedTDate=04% 252525252525252525252525252525252525252525252 525252525252525252525252525252525252525252525 252525252525252525252525252525252525252525252 525252525252525252525252525252525252525252525 252525252525252525252525252525252525252525252 525252525252525252525252525252525252525252525 252525252525252525252525252525252525252525252 5252525252525252525252F28% 252525252525252525252525252525252525252525252 525252525252525252525252525252525252525252525 252525252525252525252525252525252525252525252 525252525252525252525252525252525252525252525 252525252525252525252525252525252525252525252 525252525252525252525252525252525252525252525 252525252525252525252525252525252525252525252 5252525252525252525252F2004&approvedFDate=&me thod=search&approver= ---------------------------------------------------------------------- Comment By: Sylvere Abbad (sabbad) Date: 2004-05-18 10:53 Message: Logged In: YES user_id=913580 Same problem. Bug occurs with mutiple tables on the same page. Seems like it comes from RequestHelper.getParameterMap() which url-encodes and UPDATES the request parameters. So each time it's called it re-url-encodes the parameters. Workaround : String[] originalValues = this.request.getParameterValues(paramName); String[] values =new String[originalValues.length]; for (int i = 0; i < values.length; i++) { values[i] = URLEncoder.encode(originalValues[i]); } map.put(paramName, values); ---------------------------------------------------------------------- Comment By: fabrizio giustina (fgiust) Date: 2004-05-01 16:51 Message: Logged In: YES user_id=798060 testcase added (PaginationLinksTest). Using the exact query string you provided links show up correctly, I couldn't reproduce this behaviour. Can you provide any addictional information or a full sample page which shows the problem? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=944056&group_id=73068 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel