hi, there's a jsf page with a form:
....
<h:form>
<h:commandLink action="#{userBean.logout}" value="Logout" />
</h:form>
....
<ui:repeat value="#{categoryBean.allCategories}" var="c">
....
The categoryBean.allCategories
is a call to EJB which is based on a <f:param>
from previous page acquired via @ManagedProperty
. So when the user clicks on Logout
, the whole page evaluates, but without the param and there's NullPointerException
. Is there any possibility how to skip the evaluation?