[ http://issues.apache.org/jira/browse/BEEHIVE-601?page=all ]
Rich Feit updated BEEHIVE-601:
------------------------------
Summary: Validation annotations do not work on a form bean that extends
Struts ActionForm (and not FormData) (was: Validation annotations to not work
on a form bean that extends Struts ActionForm)
> 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: 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