The following comment has been added to this issue: Author: Bastian Bowe Created: Thu, 18 Nov 2004 9:28 AM Body: I'm very sorry. I submitted to the wrong issue. This one is for DISPL-117 --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/DISPL-112?page=comments#action_26739
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-112 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-112 Summary: Allow requestURI with only parameters (changes included) Type: Improvement Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Components: HTML Generation Versions: 1.0 RC1 Assignee: Reporter: fabrizio giustina Created: Sun, 14 Nov 2004 3:13 PM Updated: Thu, 18 Nov 2004 9:28 AM Description: ==== imported from sf tracker id 860390 submitted by Paul McCulloch - paulmcculloch http://sourceforge.net/support/tracker.php?aid=860390 ==== Currently the requestURI attribute can be used in two ways: 1) Provide a URI that should be used when the user wishes to view another page or to sort 2) Use an empty attribute ("") to indicate that the URI that was used to render the page should be used, with the addition of the <table> specific paging & sorting parameters. It would be convinent to be able to add extra parameters to a request of the 2nd type, or to override the existing value of some of the parametres. This can be achieved (1.0-b2) by changing org.displaytag.util.Href.java in the constructor: public Href(String baseUrl) replacing: url = tokenizer.nextToken(); with: if(baseUrl.startsWith("?")) { //support fake URI's which are just parameters to use with the current uri url = ""; } else { // base url (before "?") url = tokenizer.nextToken(); } For this change to allow the overriding of exisiting parametres bug 858888 must be addressed. I'm not familiar with CVS, otherwise I'd submit a patch. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel