Validation annotations to not work on a form bean that extends Struts ActionForm
--------------------------------------------------------------------------------

         Key: BEEHIVE-601
         URL: http://issues.apache.org/jira/browse/BEEHIVE-601
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Alpha, V1Beta, V1    
    Reporter: Rich Feit
 Assigned to: Rich Feit 
     Fix For: V1


To reproduce this, create a page flow action that uses a form bean with 
validation annotations in it.  Make the form bean extend the Struts ActionForm, 
e.g.,

    public static class MyForm extends org.apache.struts.action.ActionForm
    {
        private String _foo;

        @Jpf.ValidatableProperty(
            [EMAIL PROTECTED]()
        )
        public String getFoo()
        {
            return _foo;
        }

        public void setFoo( String foo )
        {
            _foo = foo;
        }
    }

Run the action; notice that the validation annotations have no effect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to