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

                 Key: MYFACES-3021
                 URL: https://issues.apache.org/jira/browse/MYFACES-3021
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.0.3
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to