[
http://www.stripesframework.org/jira/browse/STS-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12512#comment-12512
]
Paul commented on STS-867:
--------------------------
I can work around this by adding the line :
getContext().getValidationErrors().clear();
At the top of my actionbean method.
> @DontValidate(ignoreBindingErrors=true) Is not supressing invalidNumber type
> converter errors
> ---------------------------------------------------------------------------------------------
>
> Key: STS-867
> URL: http://www.stripesframework.org/jira/browse/STS-867
> Project: Stripes
> Issue Type: Bug
> Components: Validation
> Affects Versions: Release 1.5.5
> Environment: Glassfish 3.1
> Reporter: Paul
>
> I have a simple form with a few text fields in it, one of which is bound to
> an integer. If I submit the form but leave the integer field empty, stripes
> displays an invalidNumber validation error. I don't want this to occur as
> capturing this field is not compulsory. I have tried adding @DontValidate and
> @DontValidate(ignoreBindingErrors=true) on top of my actionBean method but it
> has no effect and the validation errors always show up. This must be a bug?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development