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:40:17 UTC
[jira] [Created] (MYFACES-3819) Allow override resource components
using a tag handler
Leonardo Uribe created MYFACES-3819:
---------------------------------------
Summary: 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
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)