RadioGroup should support string values when value is the enum type
-------------------------------------------------------------------
Key: TAP5-1760
URL: https://issues.apache.org/jira/browse/TAP5-1760
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.3
Reporter: Denis Stepanov
<t:radio t:id="radio1" t:value="literal:MYENUMVALUE" />
"MYENUMVALUE" should be equivalent to the actual MYENUMVALUE enum value
There is a TODO already in the RadioGroup component:
public String toClient(Object value)
{
// TODO: Ensure that value is of the expected type?
return encoder.toClient(value);
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira