You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Omar Elprince (JIRA)" <de...@myfaces.apache.org> on 2009/09/08 22:31:57 UTC

[jira] Created: (TRINIDAD-1567) Client-id: j-id5 is duplicated in the faces tree.

Client-id: j-id5 is duplicated in the faces tree.
-------------------------------------------------

                 Key: TRINIDAD-1567
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1567
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Facelets
    Affects Versions:  1.2.11-core
         Environment: application server: oc4j, Trinidad-1.2.11, myfaces-1.2.3,
            Reporter: Omar Elprince


Using panelTabbed component demo with only two tabs. Each tab contain a fields (inputText) with some data. Initially The page is displayed correctly. Once I do a manual refresh in the internet browser using F5, I get "Client-id: j-id5 is duplicated in the faces tree". In order to work around that problem I had to add custom ids for all the components in the page. Adding ids for all the components is not practical and it is very clear that the generated client ids are not unique most of the time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1567) Client-id: j-id5 is duplicated in the faces tree.

Posted by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Robinson resolved TRINIDAD-1567.
---------------------------------------

    Resolution: Incomplete

Do you have any component binding on the page? If so, are they only bound to the request scope?

You are using an old facelets, does a newer one help?

BTW, the UIViewRoot assigns IDs usually, not the components, so it could be a problem with core too. Have you tried a more recent myfaces-core version?

You should post a test case or something to help us reproduce the issue.

> Client-id: j-id5 is duplicated in the faces tree.
> -------------------------------------------------
>
>                 Key: TRINIDAD-1567
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1567
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions:  1.2.11-core
>         Environment: application server: oc4j, 
> API: Trinidad-1.2.11, myfaces-1.2.3, facelets-1.1.14
>            Reporter: Omar Elprince
>
> Working with facelets and Trinidad. Using panelTabbed component demo with only two tabs. Each tab contain a fields (inputText) with some data. Initially The page is displayed correctly. Once I do a manual refresh in the internet browser using F5, I get "Client-id: j-id5 is duplicated in the faces tree". In order to work around that problem I had to add custom ids for all the components in the page. Adding ids for all the components is not practical and it is very clear that the generated client ids are not unique most of the time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (TRINIDAD-1567) Client-id: j-id5 is duplicated in the faces tree.

Posted by "Omar Elprince (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Omar Elprince reopened TRINIDAD-1567:
-------------------------------------


attached is a test case to reproduce the issue.

> Client-id: j-id5 is duplicated in the faces tree.
> -------------------------------------------------
>
>                 Key: TRINIDAD-1567
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1567
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions:  1.2.11-core
>         Environment: application server: oc4j, 
> API: Trinidad-1.2.11, myfaces-1.2.3, facelets-1.1.14
>            Reporter: Omar Elprince
>         Attachments: faceletsDemo.zip, screen.png
>
>
> Working with facelets and Trinidad. Using panelTabbed component demo with only two tabs. Each tab contain a fields (inputText) with some data. Initially The page is displayed correctly. Once I do a manual refresh in the internet browser using F5, I get "Client-id: j-id5 is duplicated in the faces tree". In order to work around that problem I had to add custom ids for all the components in the page. Adding ids for all the components is not practical and it is very clear that the generated client ids are not unique most of the time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.