tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Stärk (JIRA) <j...@apache.org>
Subject [jira] Commented: (TAP5-534) Beaneditform validation problem
Date Tue, 24 Feb 2009 15:14:04 GMT

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


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

View raw message