Can no longer select null in radiomap
-------------------------------------
Key: WW-2045
URL: https://issues.apache.org/struts/browse/WW-2045
Project: Struts 2
Issue Type: Bug
Components: Views
Affects Versions: 2.0.8
Environment: freemarker
Reporter: Jasper Rosenberg
In my action, have setter getter for myMap property:
private Map<String, String> myMap = new HashMap<String, String>();
<@s.radio name="myMap['name']" list='[EMAIL PROTECTED]@{"Opt.":"Opt.",
"Std.":"Std.", "":"N/A"}' theme="simple"/>
In struts 2.0.6, if "name" had no value in the map, then "N/A" would be
selected.
In struts 2.0.8, if "name" has no value in the map, then no option is selected.
I have tried variations on the list such as '[EMAIL PROTECTED]@{"Opt.":"Opt.",
"Std.":"Std.", null:"N/A"}' to work around this issue without luck.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.