I am developing a web application using JSF and Primefaces. I want o show the following menu and depending on the choosen option go to one page or another.
XHTML code:>
You might process the value of car via an AJAX call and redirect the response from your bean class.
car
And within your bean class something like
public void someAction() { String location = "page"+car+".xhtml"; FacesContext.getCurrentInstance() .getExternalContext() .redirect(location) ; } }