myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <>
Subject [jira] [Created] (MYFACES-3789) Change default refresh period for facelets from 2 to 0 sec (=always refresh)
Date Thu, 26 Sep 2013 17:52:02 GMT
Martin Kočí created MYFACES-3789:

             Summary: Change default refresh period for facelets from 2 to 0 sec (=always
                 Key: MYFACES-3789
             Project: MyFaces Core
          Issue Type: Wish
            Reporter: Martin Kočí
            Priority: Trivial

A typical developer works as follows
1) edits a facelets view  (template, composite component)
2) CTRL +S
3) refresh in browser

but: from 2) to  3) takes it sometimes less as 2 secs and the programmer must repeat the 3)

We can override this behaviour mit context-param:

but then is for development neccesary:

and for Production:

that means a configuration of 2 params instead of one (ProjectStage)

with default refresh period = 0 makes the method FaceletCacheFactoryImpl.getFaceletCache()
the job and only javax.faces.PROJECT_STAGE=Production is necessary.

Does anybody know why is the default 2 seconds ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message