MyFaces Core
  1. MyFaces Core
  2. MYFACES-3021

javax.faces.view.facelets.ComponentHandler initializes TagHandlerDelegate on startup, but it should be on demand

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4
    • Component/s: JSR-314
    • Labels:
      None

      Description

      Call TagHandlerDelegateFactory.createComponentHandlerDelegate on ComponentHandler constructor is not a good idea. The reason is we are creating over and over unnecessary instances of ComponentHandler through the factory that in the end they could never be used.

      It also causes a problem when it is required to wrap a ComponentHandler instance for a composite component (using TagHandlerDelegateFactory)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development