
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Tomcat 5.5, Mysql 5.0, XP
Tomcat 5.5, Mysql 5.0, XP
|
|
The Equinox 1.7 download with Struts, Spring, and Hibernate has an issue in which the validation is now working even in the example:
See Link here also:
http://demo.raibledesigns.com/equinox-struts/users.html
when you add a user from the userForm, it should make sure that the last name is required. Configuration is in place, but never calls the input, or throws the message to the screen. Instead just puts bad data to the database.
|
|
Description
|
The Equinox 1.7 download with Struts, Spring, and Hibernate has an issue in which the validation is now working even in the example:
See Link here also:
http://demo.raibledesigns.com/equinox-struts/users.html
when you add a user from the userForm, it should make sure that the last name is required. Configuration is in place, but never calls the input, or throws the message to the screen. Instead just puts bad data to the database.
|
Show » |
Sort Order:
made changes - 25/Apr/07 02:47 AM
| Field |
Original Value |
New Value |
|
Fix Version/s
|
|
1.8
[ 10100
]
|
made changes - 07/Sep/07 10:50 AM
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|
>
> In the validator-rules.xml there is a required validator:
> <validator name="required"
> classname="org.apache.struts.validator.FieldChecks"
> method="validateRequired"
> methodParams="java.lang.Object,
> org.apache.commons.validator.ValidatorAction,
> org.apache.commons.validator.Field,
> org.apache.struts.action.ActionMessages,
> javax.servlet.http.HttpServletRequest"
> msg="errors.required"/>
>
> Problem is, the constructor in the 1.2.9 jar has a
> org.apache.commons.validator.Validator between ActionMessages and
> Request. Once I added it like so:
>
> <validator name="required"
> classname="org.apache.struts.validator.FieldChecks"
> method="validateRequired"
> methodParams="java.lang.Object,
> org.apache.commons.validator.ValidatorAction,
> org.apache.commons.validator.Field,
> org.apache.struts.action.ActionMessages,
> org.apache.commons.validator.Validator,
> javax.servlet.http.HttpServletRequest"
> msg="errors.required"/>
>
> All works great now. I just didn't know how to put this fix into the
> JIRA?
If you add this e-mail as a comment on the issue - that's good enough for me. ;-)