You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Kurz (JIRA)" <de...@myfaces.apache.org> on 2014/03/09 20:38:42 UTC

[jira] [Commented] (MYFACES-3866) Unexpected result when using "http://xmlns.jcp.org/jsf" namespace

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

Michael Kurz commented on MYFACES-3866:
---------------------------------------

In my opinion, the mentioned API spec for TextDecorator says, that the div element should become a component:

"If no matching entry is found, let jsf:element be the value of targetTag."

This would mean, a component as specified in the description for jsf:element must be created. This totally makes sense for me, as this allows passthrough elements to be adressed by ajax JSF and to have f:ajax tags.

> Unexpected result when using "http://xmlns.jcp.org/jsf" namespace
> -----------------------------------------------------------------
>
>                 Key: MYFACES-3866
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3866
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Linux
> Java 1.7
> Tomcat 7
>            Reporter: Carl Moser
>            Assignee: Leonardo Uribe
>         Attachments: test-result.xhtml, test.xhtml
>
>
> If I using the "jsf:id" element within a simple div, the rendered result is something like this:
> <http://xmlns.jcp.org/jsf id="someDiv" p:elementName="div"></http://xmlns.jcp.org/jsf>
> The following warning is shown.
> Warning: The page /test.xhtml declares namespace null and uses the tag http://xmlns.jcp.org/jsf , but no TagLibrary associated to namespace.



--
This message was sent by Atlassian JIRA
(v6.2#6252)