Wrapping ComponentHandler in TagHandlerDelegateFactory conflicts with 
implementation  
--------------------------------------------------------------------------------------

                 Key: MYFACES-2888
                 URL: https://issues.apache.org/jira/browse/MYFACES-2888
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.0.2-SNAPSHOT
            Reporter: Nick Belaevski
            Priority: Critical


When implementing my own TagHandlerDelegateFactory that wraps ComponentHandler 
classes (this is necessary to handle custom behaviors attachments) I 
encountered two problems:

1) StackOverflowError because TagHandlerDelegateFactory factory is called again 
in the constructor of ComponentHandler, in order to initialize "helper" field, 
however I don't need it for delegation
2) Composite components are broken because implementation is checking for 
marker interfaces that are shadowed by wrappers

-- 
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