Java / CDI: Injecting Controller into Controller
Example showing injection of SomeController into BaseController using @Inject in CDI.
Example showing injection of SomeController into BaseController using @Inject in CDI.
Use p:commandButton with ajax=”false” and action=”targetPage.xhtml?faces-redirect=true” for redirection.