Skip to content

Commit

Permalink
Spec FACELETS_REFRESH_PERIOD default depending on ProjectStage
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Feb 17, 2024
1 parent 9b6d1c9 commit fb5cd2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/src/main/asciidoc/UsingFacesInWebApplications.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ When a page is requested, what interval in seconds should the compiler
check for changes. If you don't want the compiler to check for changes
once the page is compiled, then use a value of -1. Setting a low refresh
period helps during development to be able to edit pages in a running
application.
application. If this value is not specified, then the default depends on
_Application.getProjectStage()_. If it is _Production_, then runtime must
act as if it is set to -1, else the runtime must act as if it is set to 0.

* _jakarta.faces.FACELETS_RESOURCE_RESOLVER_ --
If this param is set, the runtime must interpret its value as a fully
Expand Down

0 comments on commit fb5cd2a

Please sign in to comment.