Er... The "validation" interceptor?
Yeah, you're right, duh! I didn't realize that the validation
interceptor is actually the AnnotationValidationInterceptor class :-P
-
To unsubscribe, e-mail: user-unsubscr...@struts.ap
ges, I
just can't figure out which one it is :-(
Thanks!
Steven
Dave Newton wrote:
Steven Hansen wrote:
Is there anyway to manually check possible validation errors on this
action as if it were called by the Validation interceptor?
The previous answer was partially correct, depending o
Hi,
I'm trying to test some basic validations on an action:
public class CreateUserAction extends ActionSupport implements
ModelDriven {
private User user = new User();
private IUserDao userService = new UserDao();
public String execute() {
if ( this.userService.save
I came to Struts2 from Rails.
Rails (ruby especially) is really nice. It is very interesting to
compare w/Java and Struts2 / Hibernate / Maven / Spring / Junit.
There also tons of great books out there on ruby and or rails
'
-Steven
Bhaarat Sharma wrote:
Guys,
I've been doing struts2
Thanks Dave,
Your suggestion fixed it!
Best,
Steven
Dave Newton wrote:
Steven Hansen wrote:
The next problem, is that if I don't enter a value for the Age field
(int), when the form is redisplayed the Age field has been populated
with 0. If the Age field is left empty, I'd like
Hi,
I'm new to Struts 2 and am still trying to figure out some of the basics.
The first problem I'm having, is with an action that uses ModelDriven.
The model that I'm using has 2 fields that are both required, one is a
string and one is an int. I'm stuck on two things. The first is that
6 matches
Mail list logo