Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0
-
None
Description
Same thing as the Map problem, but a one liner:
org.apache.tapestry.internal.TapestryInternalUtils, line 234:
public static OptionModel toOptionModel(Object input)
{ String value = (input != null ? String.valueOf(input) : ""); return new OptionModelImpl(value, false, value); // <-- should be value, false, input (and perhaps rename value to label for consistency) }Cheers,
Nick.