Peter Parson created WICKET-5038:
------------------------------------

             Summary: Add equals() and hashcode() implementation to 
INamedParameters.NamedPair
                 Key: WICKET-5038
                 URL: https://issues.apache.org/jira/browse/WICKET-5038
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.5.0
            Reporter: Peter Parson
            Priority: Minor


It would be handy to have an equals() and hascode() implementation based on key 
and value, so that it is possible to do things like

pageParameters.getAllNamed().contains(myNamedPair)

In case you are interested:
My current use case is that the page should check whether it is actually called 
with the pageparameters needed (i.e. using the unique, canonical URL), however 
ignoring some special params.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to