History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: DISPL-377
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Reporter: Sathyavijayan Vittal
Votes: 4
Watchers: 4
Operations

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

Sort and Pagination links(url) generated is too long (>2083 chars). Links not working in IE.

Created: 20/Jul/06 03:26 AM   Updated: 10/Jun/08 10:31 AM
Component/s: Configuration
Affects Version/s: 1.0, 1.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Java Source File HtmlTableWriter.java (23 kb)
2. Java Source File HtmlTableWriter.java (22 kb)
3. Text File HtmlTableWriter_patch.txt (4 kb)
4. Java Source File Pagination.java (9 kb)
5. Java Source File Pagination.java (9 kb)
6. Text File Pagination_patch.txt (3 kb)


Application server: Weblogic 8.1 SP5


 Description  « Hide
The URLs (links) generated for sort and pagination are too long in certain cases. (When we have more fields to track). These cross the max limit defined by IE which is 2083 chars. So, the URLs do not work.

This has to be fixed as this seems to be a basic boundary condition that has not been taken care of !

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Giorgio Agnelli - 19/Sep/06 04:45 AM
I solved the problem by converting a normal href to a form and added a javascript call to the submit method.

I solved problem for sorting/paging/export

Look in the code:
HtmlTableWriter.java: method "writeTableHeader" and "writeExportLinks"
Pagination.java: method "getFormattedBanner"

I hope this is usefull for your problem.

Bye bye.

Indicia - 09/Mar/07 08:58 AM
I run into the same problem with IE.

Giorgio, thank you for solving the problem.

I made some modifications to your code in order to:
- passing through multiple querystring parameters with same name,
- making javascript submit links suitetable for Firefox and
- URL decoding querystring parameters values in the forms

Indicia


Vipul K Dave - 10/Jun/08 10:31 AM
Hi Giorgio Agnelli, Indicia.

Through the solution by [Giorgio Agnelli], the url problem is resolved.
But It has opened a new issue. It is creating a form within my form somehow.
Can you please send a solution, which just removes duplicate URL parameter and the parameter without values?
[A solution which do not created form].