[
https://issues.apache.org/jira/browse/MYFACES-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968456#comment-13968456
]
Leonardo Uribe commented on MYFACES-3882:
-----------------------------------------
Ok, I have finally found a solution with just a couple of changes. Below is
the text we are going to include in TagDecorator:
"...
For each of argument tag's attributes obtain a reference to a TagAttribute
with the following characteristics. For discussion let such an attribute be
convertedTagAttribute.
* convertedTagAttribute's location: from the argument tag's location.
* If the current attribute's namespace is http://xmlns.jcp.org/jsf,
convertedTagAttribute's qualified name must be the current attribute's
local name and convertedTagAttribute's namespace must be the empty
string.
This will have the effect of setting the current attribute as a proper
property on the UIComponent instance represented by this markup.
* If the current attribute's namespace is empty, assume the current
attribute's namespace is http://xmlns.jcp.org/jsf/passthrough.
ConvertedTagAttribute's qualified name is the current attribute's
local name prefixed by "p:". convertedTagAttribute's namespace must be
http://xmlns.jcp.org/jsf/passthrough.
* Otherwise, if the current attribute's namespace is not empty, let
the current attribute be convertedTagAttribute. This will have the
effect of let the attribute be processed by the meta rules defined
by the TagHandler instance associated with the generated target
component.
..."
This is basically what I believe Mojarra is doing. Thanks Michael for your
attention in this issue, it was very helpful.
> Page with template and stylesheet not rendered correctly
> --------------------------------------------------------
>
> Key: MYFACES-3882
> URL: https://issues.apache.org/jira/browse/MYFACES-3882
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.3
> Reporter: Michael Kurz
> Attachments: MYFACES-3882-test.zip
>
>
> With the artefacts for version 2.2.3 provided by Leo for the vote, I have
> severe problems with one of my applications. It seems, that there is some
> error showing a page with a template.
> First problem is, that a stylesheet linked in the template is not rendered.
> Therefore the page looks completely different in the browser. With 2.2.1 and
> 2.2.2 it works like expected.
> Additionally, two messages with the label "Component with no name and no body
> content, so nothing rendered." are shown by h:messages.
--
This message was sent by Atlassian JIRA
(v6.2#6252)