[
https://issues.apache.org/jira/browse/TAP5-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676316#action_12676316
]
Ulrich Stärk commented on TAP5-534:
-----------------------------------
The exact same code (just copied it into my workspace) is working fine for me.
Did you restart your application server (changes in the entities package are
not picked up by Tapestry)?
Uli
> Beaneditform validation problem
> -------------------------------
>
> Key: TAP5-534
> URL: https://issues.apache.org/jira/browse/TAP5-534
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.18
> Reporter: Quince Wilson
> Attachments: tutorial1.tar.gz
>
>
> When following the tutorial with this version all mostly works up to the
> point where @Validate("required") is added to Address fields. A few extra
> google searches supplied the missing information. This annotation seems to
> have no effect. I have been able to change the phone field to an int type
> and then client validations are generated for that field only, and you see
> the bubbles as described by the tutorial. Otherwise adding @Validate has no
> effect on the rendered page. Viewing the source of the rendered page shows
> no generated client validations except when changing the phone type. By
> adding an onSuccess method and adding a breakpoint in eclipse (3.3 with the
> jetty run plugin) I can inspect the form object and client validations are
> false. Adding clientValidation="true" to the t:beaneditform tag has no
> effect either. This is being ran in eclipse 3.3 with jetty 6.1.15-rc3 run
> plugin.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.