Is there a way to display a specific JSF page based on the request URL?
Say I have a JSF page " details.xhtml ". The managed bean " detailsBean " has a list of objects, each of which has its own identifier. Now, if the user requests the page " ../details.xhtml?id=1 ", a list should be requested for the object with identifier 1, and a page of the resulting data of this object should be displayed.
I have already written a converter implementation class that can convert from an object to an ID and vice versa, but I do not know how to use it correctly. Do I have to work through the JAX-RS specification for this to work or is there a simpler solution?
source share