Project

General

Profile

Actions

Bug #2078

closed

Need to post complex queries and check URL changes (pager, etc.)

Added by Michael Lee over 19 years ago. Updated over 19 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
query
Target version:
Start date:
05/06/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2078

Description

We have exceeded IE's URL limit and can do so with Firefox, too, depending on
the query. (Choose all the landforms, for example). When the URL is too long,
neither browser does anything or lets you know what might be wrong. The queries
work fine if you change to method="post", but this messes up a number of things:
[not limited to this list, probably]
1) pager -- it uses the full URL even if posted
2) datacart -- adds one item, but that's it
3) vegbank:URLchanger will undoubtedly also be affected.

Actions #1

Updated by Michael Lee over 19 years ago

Perhaps the pager and url changer could be fixed by substituting what is now:

<a href="action.jsp?toomanyParams=this">text</a>

with:

<form action="action.jsp" method="post"><input type="hidden"
name="toomanyParams" value="this" /><a href="javascript:submitParentForm()">text</a>

We'd of course need to include the function submitParentForm() in util.js and
write it, but shouldn't be hard. Would that work??

Actions #2

Updated by Michael Lee over 19 years ago

URL changer can deal with this if postParams is passed to it. See
http://aldo.vegbank.org/vegbank/views/test.jsp. But this does require another
custom tag (written, but needs adding to views where needed). PlotQuery now
uses a post.

Actions #3

Updated by Michael Lee over 19 years ago

New form appears once per page, and javascript can access and submit this form
to change a parameter (such as pageNumber for pager). Thus, all URL changes can
be posted, as is pager. Done!

Actions #4

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2078

Actions

Also available in: Atom PDF