During the panel discussion last night as JSF One, I learned about
an
undocumented feature in Facelets, which may be just the solution you
were looking for, Christian, regarding stale views on a login or other
public form page. Facelets has the ability to build the view during
the restore view phase if on postback the view state couldn't be
found. You simply set the context parameter PARAM_BUILD_BEFORE_RESTORE
FYI: I would be very careful before enabling this, because:
https://facelets.dev.java.net/issues/show_bug.cgi?id=270
NB this bug report (and PATCH) is 1+ year old...