[
https://issues.apache.org/jira/browse/TAPESTRY-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603435#action_12603435
]
Howard M. Lewis Ship commented on TAPESTRY-2387:
------------------------------------------------
I think what's happening is that the browser is supplying a default value,
"on", because the value attribute was not specified.
> Null value in RadioGroup returns the string "on"
> ------------------------------------------------
>
> Key: TAPESTRY-2387
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2387
> Project: Tapestry
> Issue Type: Bug
> Affects Versions: 5.0.11
> Environment: Linux 2.6.24
> Sun JDK 6
> Reporter: Dave Dombrosky
>
> When using a null value on a radio button, or a value the gets ValueEncoded
> to null, the value gets submitted to the server as "on". The value should
> come back null, or at least as an empty String. I have no idea how "on" is
> getting submitted instead of the correct value.
> To test:
> 1) Create radio group with a few radio components in it.
> 2) Make one of these radio buttons have value="null".
> 3) Submit form and watch as you get the String "on" returned instead of null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]