@Validate does not work on a public field
-----------------------------------------
Key: STS-604
URL: http://www.stripesframework.org/jira/browse/STS-604
Project: Stripes
Issue Type: Bug
Components: Validation
Affects Versions: Release 1.5, Release 1.5.1, Release 1.6
Reporter: Frederic Daoud
Annotating a public field with @Validate does not work:
@Validate(required=true)
public String name;
Changing this to a private field with getters and setters works. Public fields
already work well with the Stripes tag library, they should also work with
validations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development