pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-761) Test a more generic Validation approach on fields and Containers (Forms, etc)
Date Mon, 27 Jun 2011 12:32:47 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055499#comment-13055499

Greg Brown commented on PIVOT-761:

>If we want make constrained beans (aka make a constrained data model with annotations
in its properties), I think BeanAdapter put method is a good place to call the validation
framework because is where properties are assigned. 

Perhaps, but then the user could bypass the validation by invoking the setter directly.

> Test a more generic Validation approach on fields and Containers (Forms, etc)
> -----------------------------------------------------------------------------
>                 Key: PIVOT-761
>                 URL: https://issues.apache.org/jira/browse/PIVOT-761
>             Project: Pivot
>          Issue Type: Brainstorming
>          Components: wtk
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.1
> Investigating on this field ... both on validating single fields (not only text input
fields) and Container (like Forms), like in JSF.
> Some reference here:
> http://apache-pivot-developers.417237.n3.nabble.com/Text-validators-td3078385.html
> General idea: put investigation code under /skunk and the minimal set of interfaces and
classes, and the rest outside (in a dedicated subproject, here or under apache-extras).

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message