Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3492

[perf] minimize FacesContext.getCurrentInstance() calls

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.13, 2.1.7
    • JSR-314
    • None

    Description

      It is good for performance to reduce the ammount of calls to FacesContext.getCurrentInstance(). There are some indirected ways to trigger that call without warning using getClientId(). The idea is pass or cache facesContext when possible.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment