You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "David Nicholas Williams (JIRA)" <ji...@apache.org> on 2013/08/16 00:45:47 UTC

[jira] [Created] (TAP5-2156) t:validate=required attribute on t:radiogroup does not cause client-side validation failure when no radio button selected

David Nicholas Williams created TAP5-2156:
---------------------------------------------

             Summary: t:validate=required attribute on t:radiogroup does not cause client-side validation failure when no radio button selected
                 Key: TAP5-2156
                 URL: https://issues.apache.org/jira/browse/TAP5-2156
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
            Reporter: David Nicholas Williams
            Priority: Minor


Using the standard t:validate="required" attribute on t:radiogroup like so does not work

<t:radiogroup t:id="options" value="data.options" t:validate="required" >
    <t:label for="option1"/><t:radio t:id="option1" t:value="option1"/>
    <t:label for="option2"/><t:radio t:id="option2" t:value="option2"/>
</t:radiogroup>

When the form is submitted and neither radiobutton 'option1' or 'option2' in 'options' is selected, there is no client-side validation failure.

N.B. The server-side validation using the validate="required" attribute works as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira