[ http://jira.codehaus.org/browse/DISPL-112?page=comments#action_41620 ]
$remoteUser.fullName commented on DISPL-112: ------------------------ Casino links: http://www.abccasinos.com/casino/casino_links.htm Casino player: http://www.abccasinos.com/casino/casino_player.htm Casino download: http://www.abccasinos.com/casino/casino_download.htm > Allow requestURI with only parameters (changes included) > -------------------------------------------------------- > > Key: DISPL-112 > URL: http://jira.codehaus.org/browse/DISPL-112 > Project: DisplayTag > Type: Improvement > Components: HTML Generation > Versions: 1.0 RC2 > Reporter: fabrizio giustina > Assignee: fabrizio giustina > Priority: Minor > Fix For: 1.0 RC2 > Attachments: useRequest_pdf-paging.diff > > > ==== > 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. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel