Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3296915
By: alirezaafshar

In our JEE project, we are using struts as our MVC framework, we use some open
source projects for example display tag in our project. I have found a bug in
the newest version of display tag, which now we are using: when the display
tag shows a table of data, which one has for example 10 rows in each page, and
the result pages are more than one, each time I click on any links of result
pages of same result table, attributes of httpRequest each time duplicated,
for example:

http://....../myAction.do?showAll=true

after next click:

http://....../myAction.do?showAll=true&showAll=true

and the next:

http://....../myAction.do?showAll=true&showAll=true&showAll=true
&showAll=true

and ... when request is very long, the page doesn't work properly! I have fixed
this bug as changing getParameterMap method in DefaultRequestHelper class by
modifying line 133 from:

            map.put(paramName, values);

to:

            map.put(paramName, values[0]);

because each request parameter should have one value. please tell me if eny
one else had same problem and check my could would fix it or not in your
project!

Best,
A. Afshar


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249317


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to