aspose file tools*
The moose likes Struts and the fly likes validator in LookupDispachAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validator in LookupDispachAction" Watch "validator in LookupDispachAction" New topic
Author

validator in LookupDispachAction

jophy john
Greenhorn

Joined: Sep 02, 2004
Posts: 1
Hi
My form contains four submit buttons and I'm using LookupDispatchAction For validation I'm using validation.xml file But the validation needed for each button is different
New+ save the fields should not be empty
For Edit, field shud be empty and then for save field shouldn't be empty
So if I write required validation , then when I click on edit its showing the message which I have given for save since all are submit buttons

So can anybody tel me how I can solve this problem !

Thanx in advance
jophy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validator in LookupDispachAction