Parameter in query string do not override clean URL default values
------------------------------------------------------------------
Key: STS-616
URL: http://www.stripesframework.org/jira/browse/STS-616
Project: Stripes
Issue Type: Bug
Components: ActionBean Dispatching
Affects Versions: Release 1.5
Reporter: Ben Gunter
Assignee: Ben Gunter
Fix For: Release 1.5.1
This is best explained by example.
Clean URL binding: /search/show/{p=1}.action
In this case, p is a page number and I want the default page number to be 1.
Generated links with no p parameter will generate /search/show/1.action. The
following URLs yield the indicated value for p in the ActionBean:
/search/show/1.action ... p=1 because it is specified in the URI
/search/show.action ... p=1 because that is the default value and it is not
otherwise specified
/search/show.action?p=2 ... p=1 because that is the default value
In the last case, since p is specified in the query string, p should equal 2.
Values in the query string should override clean URL default values.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development