Does the checkbox component provided with tapestry support validation? (via
the @Validate annotation?) I¹m trying it and it doesn¹t seem to validate on
either the client side or the server side....

My example code:

<ValidateCheckbox.tml>
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> <body>
<t:form>        <t:label for="tickMe">            Tick Me        </t:label>
<t:checkbox t:id="tickMe" t:value="tickMe"></t:checkbox>        <t:submit />
</t:form> </body> </html>

<ValidateCheckbox.java>
public class ValidateCheckbox {        @Property    @Validate("required")
private Boolean tickMe;    }

Thanks in advance for any help/tips!

Ciaran Wood

Reply via email to