This content has been marked as final. Show 3 replies
You have to find your GO button is handled in which standard controller, (if you click on the about this page, you should be able to identify the controller,
or you can download all the controller .class files and decompile and check the logic).
Then extend that controller(which has the Go button logic, you can see how it has been handled.),
The usual way to check is
if(pageContext.getParameter('<Go button name>') !=null)
Since you want to validate first your custom validation, in the extended controller ProcessFormRequest
dont call the super.processFormRequest unless your validation is success.
Call the super at the end.
Inside your extended controller you have to find your AM and then your required ViewObject to get the user entered values.