Issue Details (XML | Word | Printable)

Key: DISPL-427
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Reporter: Eric Ballet Baz
Votes: 4
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
DisplayTag

Parameters in requestURI are indefinitely concatenated

Created: 26/Dec/06 10:48 AM   Updated: 24/Sep/08 09:36 PM
Component/s: None
Affects Version/s: 1.1
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
When there are parameters in the requestURI property of <display:table>, there are indefinitely concatenated at each sorting, paging ...
For example if my property is defined as :

requestURI="/foo/bar.do?method=search"

after three sorting my URL looks like

/foo/bar.do?d-49653-o=2&d-49653-p=1&d-49653-s=1&method=search&method=search&method=search&method=search

More serious, if my first URL is something like "/foo/bar.do?method=init", the requestURI has no effect, since the URL looks like
/foo/bar.do?d-49653-o=2&d-49653-p=1&d-49653-s=1&method=init&method=search

and my parameter method=search is not taken ...

siva added a comment - 20/Aug/08 04:21 AM
Hi,
We are also seeing the same issue of adding unwanted parameters to the requestURI.

Pls suggest me whether this bug has fixed in later version or not?



Thanks In Advance

Phil added a comment - 24/Sep/08 09:36 PM
I also had the same issue. Here is the work around I used to fix this issue:

requestURI="/foo/bar.do?${empty param['method']?'method=search':''}"