[ http://issues.apache.org/jira/browse/BEEHIVE-601?page=all ] Alejandro Ramirez closed BEEHIVE-601: -------------------------------------
Verified fixed. Executed the repro steps and now validation annotations that extends Struts ActionForm (and not FormData) work. > Validation annotations do not work on a form bean that extends Struts > ActionForm (and not FormData) > --------------------------------------------------------------------------------------------------- > > 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 > Assignee: Alejandro Ramirez > 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
