i have a JSF web application. I use Beans as Spring Beans (not JSF managed beans). Now i have an URL to application www.example.com?parameter=2
I would like to set this parameter into bean on the page load. I now how to do this with spring web flow but with JSF Navigation i cant do this.
What do you think about using JSTL c:set or jsp:setProperty?
Thanks for your help.
Kind regards
Sebastian
From here:
If the bean is in session-scope you could simply use the following in a Phase Listener method:
the phase listener is defined with
if using facelets, its
beforePhaseListenerIf you were using
faces-context.xml, you could’ve used the<managed-property>.