Reply To: Spring JSF with Pretty Faces

Splash Forums Rewrite Users Spring JSF with Pretty Faces Reply To: Spring JSF with Pretty Faces

#25522

If you bean is view-scoped, you will have to “defer” the method invocation so that it is executed inside the JSF lifecycle. Something like this:

.perform(
  PhaseOperation.enqueue(
    Invoke.binding(El.retrievalMethod(“authenticatorJ.doLogout”))
  ).after(PhaseId.RESTORE_VIEW)
)