myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Noeth (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1878) Duplicated IDs for tc:tree inside tc:flexLayout with mojarra
Date Tue, 20 Mar 2018 13:40:00 GMT

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

Henning Noeth commented on TOBAGO-1878:
---------------------------------------

There is no specific exception. It's just the QUnit test which failed.
 # open /content/20-component/090-tree/01-select/tree-select.xhtml in webbrowser
 # menu "Test"
 # "Run Test"

The duplicated IDs test is executed for every QUnit test and can be found in myfaces-tobago/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-test.js

There are more test failed for tree-select.xhtml, but I think it's based on the duplicated
IDs problem.

> Duplicated IDs for tc:tree inside tc:flexLayout with mojarra
> ------------------------------------------------------------
>
>                 Key: TOBAGO-1878
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1878
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Henning Noeth
>            Priority: Major
>             Fix For: 4.2.1
>
>
> Tested with Mojarra 2.0, 2.1, 2.3
> The bug appears if columns attribute have the value '1fr'.
> The duplicated IDs are from <style> tags.
> Example:
> {code:xml}<tc:flexLayout columns="1fr">
>   <tc:tree value="#{treeController.sample}" var="node">
>     <tc:treeNode>
>       <tc:treeLabel value="#{node.userObject.name}"/>
>     </tc:treeNode>
>   </tc:tree>
> </tc:flexLayout>{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message