[ 
https://issues.apache.org/jira/browse/MYFACES-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900861#action_12900861
 ] 

Leonardo Uribe commented on MYFACES-2888:
-----------------------------------------

Could you provide more information about each one of them? like stack traces 
and so on. In theory you wrap the ComponentTagHandlerDelegate, not the 
ComponentHandler instance (but I could be wrong in this assumption).

> 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