This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I am using save and update button, when i click update it goes to the next page but on clicking it the validation of the previous page gets fired ... I hope I explained it clearly.. I have two buttons on a page that uses validation.xml for validation. when i click update button it goes to the next page but then the current page will have no values in it. So every time i click it the validation takes place and prevents the next page from loading. How do i avoid this Regards Anil
I don't really understand your question, but on the action that you don't want validation firing on, put this in your action mapping:
Joined: Oct 11, 2006
Thanks for the reply. I have a single page that does save and update operations. when i select update it goes to the next page where updation takes place but i am using validation.xml which fires when i click the update button. I need validation ... is there a solution to avoid this