jsf - How to serve different page request from same button dynamically? -


i have fix top navigation bar this. , have several links pages(e.g. foods.xhtml, cars.xhtml, planes.xhtml) in side bar navigation(like: "similar questions" side bar in stackoverflow, inverted 'l').

goal: click on sidebar link(from home page) , should take me next page(let's "foods.xhtml", has list of foods) , when click on food take me next page(let's sandwich.xhtml) , button created on fixed top navigation bar navigate tolist of foods(foods.xhtml).

questions:

  1. when click on 1 sidebar link(->foods.xhtml), how can store foods.xhtml in backing bean when go sandwich.xhtml , want navigate back, "back" button on fixed navigation bar point foods.xhtml?

note: want work cars, planes. "back" button in top fixed navigation bar has different "page redirection" @ different page served.


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

SQL Server - MyCTE query based on 24 hour period (next day) -

php - Using str_replace to translate a MySQL Table in html -