History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WAFFLE-55
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael Ward
Reporter: Michael Ward
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Waffle

RequestParameterReference should allow for a default value if the parameter cannot be resolved.

Created: 16/Jan/08 08:43 PM   Updated: 16/Jan/08 08:53 PM
Component/s: None
Affects Version/s: 1.0-rc-2
Fix Version/s: 1.0

Time Tracking:
Not Specified


 Description  « Hide
Since request parameters might not be set correctly it might be beneficial to allow for a default value when the parameter value cannot be found. Example:

RequestParameterReference.requestParameter("foobar", 99); // the value 99 will be returned when "foobar" not in request parameter list



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Ward - 16/Jan/08 08:52 PM
add support for default value