This content has been marked as final. Show 3 replies
I am expectiing action should call before ActionListener.
In action method call I am validatiing the form fields for blank fields .
In actionListener I am calling in built method binding.SUBMIT.execute to go to next task.
Whether calling action before ActionListener is possible or else I will call first ActionListener and then Action will it work?
Thanks And Regards,
Hi 946956 ,
You do not have control to change the order of calling.Action listener will call first and then Action .Basically in Action Listener you can do what type of validation you want and Action will navigate you to different page based on the output from the Action Listener.However you can used FacesContect.getCurrent().renderRespose() to skip to Action part in Action Listener.
Still you want to understand different between Action and Action Listener take the help of the Google.