regarding (1): You could use path parameters for this. But to be honest, I don’t fully understand this requirement. Why do you want to change the URL every time?
What do you mean with “then changed url not displayed” for (2)? And what do you mean with “jsf menu bar”? There is no menu bar component in standard JSF. I think you are referring to some kind of 3rd party component?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.