You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/11/06 03:42:17 UTC

[jira] [Resolved] (MYFACES-3819) Allow override resource components using a tag handler

     [ https://issues.apache.org/jira/browse/MYFACES-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3819.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

> Allow override resource components using a tag handler
> ------------------------------------------------------
>
>                 Key: MYFACES-3819
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3819
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-344
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.0
>
>
> The implementation we have for h:outputScript and h:outputStylesheet uses some internals to keep the component tree stable and handle relocation correctly. But this means it is not possible to create a custom component doing the same as these ones.
> But it could be good to provide a custom tag handler that just wrap h:outputScript and h:outputStylesheet and add some additional properties. The idea is detect the condition in ComponentTagHandlerDelegate and if is found add the custom code to detect the relocation and refresh the component tree properly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)