Bugs item #1213889, was opened at 2005-06-03 00:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1213889&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.0.0-rc3
Status: Open
Resolution: None
Priority: 5
Submitted By: nada (nomdeplume)
Assigned to: Nobody/Anonymous (nobody)
Summary: PageParameter keyValuePair disallows negatives.

Initial Comment:
When you try and instanciate a PageParameter object
using the kay value pair and one of the values pairs is
negative you get an exception.

I.e:
new PageParameter("start=-1, count=2");

Throws:
Caused by: java.lang.IllegalArgumentException: Invalid
key value list: 'start=-1'
    at wicket.util.value.ValueMap.<init>(ValueMap.java:134)
    at wicket.util.value.ValueMap.<init>(ValueMap.java:97)
    at wicket.PageParameters.<init>(PageParameters.java:65)
    ... 44 more

As pageParameters are used to pass values between pages
it must allow you to pass negative values aswell.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1213889&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to