You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/05/04 21:05:04 UTC
[jira] Created: (BEEHIVE-601) Validation annotations to not work on a form bean that extends Struts ActionForm
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(
validateRequired=@Jpf.ValidateRequired()
)
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
[jira] Updated: (BEEHIVE-601) Validation annotations do not work on a form bean that extends Struts ActionForm (and not FormData)
Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
[ 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(
> validateRequired=@Jpf.ValidateRequired()
> )
> 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
[jira] Closed: (BEEHIVE-601) Validation annotations do not work on a form bean that extends Struts ActionForm (and not FormData)
Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
[ 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(
> validateRequired=@Jpf.ValidateRequired()
> )
> 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
[jira] Resolved: (BEEHIVE-601) Validation annotations do not work on a form bean that extends Struts ActionForm (and not FormData)
Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-601?page=all ]
Rich Feit resolved BEEHIVE-601:
-------------------------------
Assign To: Alejandro Ramirez (was: Rich Feit)
Resolution: Fixed
Fixed with revision 168199.
> 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(
> validateRequired=@Jpf.ValidateRequired()
> )
> 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