Feature Requests item #860390, was opened at 2003-12-15 15:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536616&aid=860390&group_id=73068

Category: main taglib
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul McCulloch (paulmcculloch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow requestURI with only parameters (changes included)

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536616&aid=860390&group_id=73068


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to