I have a page where all the fields are required. This page also has two buttons and some command links. All these links and buttons point to different methods in the backed bean. My requirement is that all these fields should be validated on clicking a particular button only. The problem is that if I click of any of the buttons or the command link without selecting or filling all of the fields, the page just refreshes, I don't even get any message that the required field is missing. If I make required=false for these fields, everything works fine. Any suggestion on how to bypass the fields required check for the links and one of the button?
Joined: Aug 25, 2005
Any suggestion on how to bypass the fields required check for the links and one of the button?
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)