You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2009/02/24 16:14:04 UTC

[jira] Commented: (TAP5-534) Beaneditform validation problem

    [ https://issues.apache.org/jira/browse/TAP5-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676307#action_12676307 ] 

Ulrich Stärk commented on TAP5-534:
-----------------------------------

Could you please provide a code sample showing that this is not working? I can't believe that something like this may have slipped through. I'm using the BeanEditForm all the time with client side validation enabled and have no problems whatsoever.

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
>
> 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.