I have to implement a new feature in my existing JSF application.
As it is now, there is a feature for searching a objects. The normal flow is: fill in some form parameters and see the detailed object page after submitting the form.
Now I have to find a way to go to the detailed object page via a link which arrives through an email.
In the link there are some parameters, useful to find the object, but if the object doesn’t exist I would to forward the user to a courtesy page.
How could I manage this thing?
thank you very much
I have to implement a new feature in my existing JSF application. As it
Share
Do the job in constructor or
@PostConstructmethod of the bean which is associated with the view and use therenderedattribute to render page fragment/include conditionally.with
Or use
ExternalContext#redirect()to redirect to another view.