struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Validator validates too early (was RE: Validator won't validate s ingle required field)
Date Fri, 24 Jan 2003 22:06:09 GMT
> You wouldn't want to hit the JSP first anyways ;-).  

It was suggested by another person here and I just wanted to rule it out in
case it was your next suggestion. :)

> I believe both of your 
> thoughts will work but I would try the separate action mapping idea first.

I did, and it works, but... BLECH!  I have to duplicate every single action
mapping?!  And what am I supposed to call them? is so clean,
and now I have to have  Or perhaps I keep the first
one with the clean name and call the others someAction2?

I'm examining the struts-example with JSP's under WEB-INF, and I think the
difference is my use of LookupDispatchAction vs. separate Actions for each
thing: edit/save/create.

This particular form isn't a CRUD form, it's a "Select the person you want
to view read-only info on", so I can't quite make the createSomething,
editSomething, updateSomething pattern fit.

And it kind of defeats the purpose of LookupDispatchAction to have to map it
several times.

I'm still pondering what to do about this.  I'm currently going with and (for No Validation).  Ideas appreciated!

Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message