Repository navigation
[#2931] - Rebuild expired Faces views during form replay without a preliminary GET - #2930
Conversation
…r instead of scraping the view state via extra GET request during rebuilding of expired views during form data saving replay
|
Nice. The gate looks right: the view is only rebuilt for a A few points. M1. On MyFaces, a rebuilt Ajax view is not re-rendered with
|
…d improving view rebuilding during expired session handling addresses all valid review comments
|
Thank you for the review, @BalusC |
Replace the view-state GET and HTML scraping with
FormResubmitViewHandler, using OmniFacesComponentsLocal.buildView()to rebuild expired server-side views during form replay. Replays use a single POST; ordinary requests and client-side state saving are unchanged.Fixes #2931
Following this checklist to help us incorporate your contribution quickly and easily:
for the change (usually before you start working on it). Trivial changes like typos do not
require a GitHub issue. Your pull request should address just this issue, without pulling in other changes.
[#XXX] - Fixes bug in SessionManager,where you replace
#XXXwith the appropriate GitHub issue. Best practiceis to use the GitHub issue title in the pull request title and in the first line of the commit message.
fixes #XXXif merging the PR should close a related issue.mvn verifyto make sure basic checks pass. A more thorough check will be performed on your pull request automatically.Trivial changes like typos do not require a GitHub issue (javadoc, comments...).
In this case, just format the pull request title like
[DOC] - Add javadoc in SessionManager.If this is your first contribution, you have to read the Contribution Guidelines
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement
if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.