Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2
-
None
-
None
Description
After reading the Parameter javadoc I expected these 3 to be equivalent.
@Parameter
private String tab;
@Parameter(value = "")
private String tab;
@Parameter
private String tab = "";
but they are not: if the parameter is not bound, then in the first two its value will be null, and in the third one it will be "".
The javadoc is http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/annotations/Parameter.html .
Is the behaviour wrong or does the javadoc need to be clearer?