I am using PrimeFaces with JSF2. I am trying to authenticate user by sending login and password as an Ajax request. And in the action method of the backing bean, I am trying to validate user and redirect to a new view if the validation succeeds.
Is this possible while using primefaces?
Because I think with primefaces' p:commandButton
, I can only either have ajax behavior or the navigation.