glassfish
  1. glassfish
  2. GLASSFISH-14713

Duplicate component ID j_idt4 found in view, using Primefaces 2.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: jsf
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      14,713
    • Status Whiteboard:
      Hide

      status_medium importance_medium v3_exclude

      Show
      status_medium importance_medium v3_exclude
    • Tags:

      Description

      Hi guys
      Our application works on GF 3.0.1, but some pages fail on 3.1 (b29, have also
      failed in earlier tests).

      I don't know whether this is really a Primefaces issue, will submit an issue
      there if this turns out to be the case.

      Here is the stacktrace, I don't understand it very well but it looks like the
      whole page markup is contained in a component in the tree, causing two duplicate
      id's:

      [#|2010-11-16T10:26:19.205+0100|SEVERE|glassfish3.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=15;_ThreadName=Thread-1;|JSF1007:
      Duplicate component ID j_idt4 found in view.|#]

      [#|2010-11-16T10:26:19.256+0100|SEVERE|glassfish3.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=15;_ThreadName=Thread-1;|+id:
      j_id1
      type: javax.faces.component.UIViewRoot@83e998
      +id: javax_faces_location_HEAD
      type: com.sun.faces.component.ComponentResourceContainer@dc4b0a
      +id: j_idt4 <===============
      type: /jquery/jquery.js
      +id: j_id20
      type: javax.faces.component.UIOutput@13d5d17
      +id: j_id21
      type: /yui/utilities/utilities.js
      +id: j_id22
      type: /primefaces/core/core.js
      +id: j_id23
      type: /jquery/plugins/ui/jquery.ui.dialog.css
      +id: j_id24
      type: /jquery/plugins/ui/jquery.ui.resizable.css
      +id: j_id25
      type: /jquery/plugins/ui/jquery-ui.custom.js
      +id: j_id26
      type: /primefaces/dialog/dialog.js
      +id: j_id27
      type: /primefaces/menu/menu.css
      +id: j_id28
      type: /primefaces/panel/panel.css
      +id: j_id29
      type: /yui/container/container-min.js
      +id: j_id30
      type: /primefaces/menu/menu.js
      +id: j_id31
      type: /primefaces/panel/panel.js
      +id: j_id32
      type: /primefaces/paginator/paginator.css
      +id: j_id33
      type: /primefaces/datatable/datatable.css
      +id: j_id34
      type: /yui/datasource/datasource-min.js
      +id: j_id35
      type: /primefaces/paginator/paginator.js
      +id: j_id36
      type: /yui/datatable/datatable-min.js
      +id: j_id37
      type: /primefaces/datatable/datatable.js
      +id: j_idt91
      type: javax.faces.component.UIOutput@c29fd1
      +id: j_idt92
      type: javax.faces.component.UIOutput@18a58e2
      +id: j_idt93
      type: javax.faces.component.UIOutput@1d17cfe
      +id: j_idt94
      type: javax.faces.component.UIOutput@652b81
      +id: j_idt95
      type: javax.faces.component.UIOutput@b4121
      +id: j_idt96
      type: javax.faces.component.UIOutput@e0e8d5
      +id: j_idt97
      type: javax.faces.component.UIOutput@1d6172c
      +id: j_idt98
      type: javax.faces.component.UIOutput@8b73ad
      +id: j_idt99
      type: javax.faces.component.UIOutput@15782ef
      +id: j_idt100
      type: javax.faces.component.UIOutput@553445
      +id: j_idt1
      type: <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      +id: j_idt2
      type: <html xmlns="http://www.w3.org/1999/xhtml">

      +id: j_idt3
      type: javax.faces.component.UIOutput@1daa03b
      +id: j_idt4 <===============
      type: /jquery/jquery.js
      +id: j_idt5
      type:

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>
      +id: j_idt6
      type: Administrasjonsgrensesnitt for eValg
      +id: j_idt7
      type: </title>
      <link type="text/css" rel="stylesheet"
      href="#

      {request.contextPath}/resources/css/pfskin.css"/>


      +id: j_idt8
      type: javax.faces.component.UIOutput@4dbdef
      +id: j_idt9
      type:

      <div id="fwRoot">
      <div id="fwMain">
      <div id="fwMiddle">
      <div id="fwTopGoldbar"> </div>
      <div id="fwTop">
      <div id="fwTopLeft"><a href="#{request.contextPath}

      /secure/index.xhtml"
      title="Klikk her for å komme til startsiden"> <img
      src="#

      {resource['images:gui/valg_h.gif']}

      " alt="Klikk her for å komme til
      startsiden"/> </a></div>
      <div id="fwTopMiddle">
      +id: j_idt10
      type:
      <div id="fwUserData">
      +id: j_idt11
      type: javax.faces.component.html.HtmlForm@1f0c95b
      +id: j_idt12
      type: javax.faces.component.UINamingContainer@1338be6
      +id: j_id2
      type: javax.faces.component.UIPanel@125d0a2
      +id: CSRFToken
      type: javax.faces.component.html.HtmlInputHidden@1a476bd
      +id: j_idt13
      type:
      <div id="changeLocale"><a
      href="changeLocale.xhtml">#

      {msgs['@common.change_locale']}

      </a></div>

      <div style="float: left; height: 80px;"><img style="height: 30px;"
      src="#

      {resource['images:gui/user.png']}

      " alt=" "/></div>

      <div style="margin-bottom: 8px;">
      <div>#

      {UserDataController.userData.operator.nameLine}


      +id: j_idt14
      type: javax.faces.component.html.HtmlCommandLink@6f8ed5
      +id: j_idt15
      type: </div>

      <div>
      +id: j_idt16
      type: javax.faces.component.html.HtmlOutputText@a495a
      +id: j_idt17
      type:  
      +id: j_idt18
      type: javax.faces.component.html.HtmlCommandLink@155d388
      +id: j_idt19
      type: </div>
      </div>

      +id: j_idt20
      type:
      <div>
      +id: j_idt21
      type: javax.faces.component.html.HtmlOutputText@1b290a9
      +id: j_idt22
      type:  
      +id: j_idt23
      type: javax.faces.component.html.HtmlOutputText@3762c9
      +id: j_idt24
      type: </div>

      +id: j_idt25
      type:
      <div>
      +id: j_idt26
      type: javax.faces.component.html.HtmlOutputText@36aa72
      +id: j_idt27
      type:  
      +id: j_idt28
      type: javax.faces.component.html.HtmlOutputText@f0258d
      +id: j_idt29
      type:  - 
      +id: j_idt30
      type: javax.faces.component.html.HtmlOutputText@3184e1
      +id: j_idt31
      type: </div>

      +id: j_idt32
      type:
      <div>
      +id: j_idt33
      type: javax.faces.component.html.HtmlOutputText@10afd03
      +id: j_idt34
      type:  

      +id: j_idt35
      type: javax.faces.component.html.HtmlOutputText@68ddd3
      +id: j_idt36
      type: </div>

      +id: j_idt37
      type:
      <div>
      +id: j_idt38
      type: javax.faces.component.html.HtmlOutputText@bb8046
      +id: j_idt39
      type:  

      +id: j_idt40
      type: javax.faces.component.html.HtmlOutputText@1e28787
      +id: j_idt41
      type: </div>

      +id: j_idt42
      type: </div>

      +id: j_idt43
      type:
      </div>
      <div class="clear"/>
      </div>

      <div id="fwFull">
      <div id="fwFullContent">
      +id: j_idt44
      type:
      <div id="fwCenterTopInfo">
      <div id="mainPageLink">
      +id: j_idt45
      type: javax.faces.component.html.HtmlForm@12fe13f
      +id: j_idt46
      type: javax.faces.component.UINamingContainer@6cf7e9
      +id: j_id2
      type: javax.faces.component.UIPanel@8126d
      +id: CSRFToken
      type: javax.faces.component.html.HtmlInputHidden@1f1d4ff
      +id: j_idt47
      type:
      <a href="#

      {request.contextPath}

      /secure/index.xhtml" title="Klikk her for å
      komme til startsiden">
      <img src="#

      {resource['images:gui/home.png']}

      " alt="Min side"/>
      #

      {msgs['@menu.main_page']}

      #

      {UserDataController.userData.electionEvent.name}

      </a>

      +id: j_idt48
      type: </div>
      </div>

      +id: j_idt49
      type:
      <div id="fwTopInfoHeader">
      <h1>
      +id: j_idt50
      type: javax.faces.component.html.HtmlOutputText@1d6e9bd
      +id: j_idt51
      type: </h1>
      </div>

      +id: helpForm
      type: javax.faces.component.html.HtmlForm@8b879f
      +id: j_idt52
      type: javax.faces.component.UINamingContainer@75041c
      +id: j_id2
      type: javax.faces.component.UIPanel@60fcc3
      +id: CSRFToken
      type: javax.faces.component.html.HtmlInputHidden@1729fd8
      +id: helpLink
      type: org.primefaces.component.commandlink.CommandLink@5c5711
      +id: j_idt53
      type:
      <img src="#

      {resource['images:gui/help.png']}

      " alt="#

      {msgs['@help']}"/>
      #{msgs['@help']}

      +id: j_idt54
      type:
      <div class="clear"/>

      +id: helpText
      type: org.primefaces.component.dialog.Dialog@584548
      +id: j_idt55
      type: javax.faces.component.html.HtmlOutputText@12c825a
      +id: Selection
      type: javax.faces.component.html.HtmlForm@121ec8b
      +id: j_idt56
      type: javax.faces.component.UINamingContainer@30c243
      +id: j_id2
      type: javax.faces.component.UIPanel@121db94
      +id: CSRFToken
      type: javax.faces.component.html.HtmlInputHidden@1d6e497
      +id: j_idt57
      type: org.primefaces.component.panel.Panel@1399f7a
      +id: j_idt58
      type: javax.faces.component.html.HtmlPanelGrid@1b92e24
      +id: j_idt59
      type: org.primefaces.component.column.Column@153daf
      +id: j_idt60
      type: javax.faces.component.html.HtmlOutputText@84d32f
      +id: selectElectionEvent
      type: javax.faces.component.html.HtmlSelectOneMenu@44b600
      +id: j_idt61
      type: javax.faces.component.UISelectItem@108f8b6
      +id: j_idt62
      type: javax.faces.component.UISelectItems@8fed
      +id: j_idt63
      type: org.primefaces.component.column.Column@e941d8
      +id: j_idt64
      type: javax.faces.component.html.HtmlOutputText@1e1ef40
      +id: selectFromLocale
      type: javax.faces.component.html.HtmlSelectOneMenu@226a48
      +id: j_idt65
      type: javax.faces.component.UISelectItem@16fc404
      +id: j_idt66
      type: javax.faces.component.UISelectItems@ae17a9
      +id: j_idt67
      type: org.primefaces.component.column.Column@19386c1
      +id: j_idt68
      type: javax.faces.component.html.HtmlOutputText@7417df
      +id: selectToLocale
      type: javax.faces.component.html.HtmlSelectOneMenu@1cb4b59
      +id: j_idt69
      type: javax.faces.component.UISelectItem@1bff33e
      +id: j_idt70
      type: javax.faces.component.UISelectItems@fa880a
      +id: j_idt71
      type: javax.faces.component.html.HtmlOutputText@1f9565c
      +id: j_idt72
      type: javax.faces.component.html.HtmlSelectBooleanCheckbox@94cdb3
      +id: localeTextTableGrid
      type: javax.faces.component.html.HtmlPanelGrid@14ca51e
      +id: localeTextTransTable
      type: org.primefaces.component.datatable.DataTable@ec781d
      +id: j_idt73
      type: org.primefaces.component.column.Column@c1cdef
      +id: j_idt74
      type: javax.faces.component.html.HtmlOutputText@1b70b6d
      +id: j_idt75
      type: javax.faces.component.html.HtmlOutputText@4f3eb5
      +id: j_idt76
      type: org.primefaces.component.column.Column@9deda5
      +id: j_idt77
      type: javax.faces.component.html.HtmlOutputText@5d0599
      +id: j_idt78
      type: javax.faces.component.html.HtmlOutputText@11a8f61
      +id: j_idt79
      type: org.primefaces.component.column.Column@bb613c
      +id: j_idt80
      type: javax.faces.component.html.HtmlOutputText@1ece0e2
      +id: j_idt81
      type: javax.faces.component.html.HtmlInputText@a03010
      +id: buttonGrid
      type: javax.faces.component.html.HtmlPanelGrid@b36ccf
      +id: j_idt82
      type: javax.faces.component.html.HtmlCommandButton@1aca303
      +id: j_idt83
      type: javax.faces.component.html.HtmlCommandButton@10244df
      +id: j_idt84
      type: javax.faces.component.html.HtmlCommandButton@1f7c35b
      +id: j_idt85
      type: org.primefaces.component.panel.Panel@13abd9c
      +id: j_idt86
      type: javax.faces.component.html.HtmlPanelGrid@da9fec
      +id: j_idt87
      type: javax.faces.component.html.HtmlCommandButton@176766d
      +id: j_idt88
      type: javax.faces.component.html.HtmlCommandButton@59232c
      +id: j_idt89
      type:

      <div class="clear"/>
      </div>
      </div>
      </div>
      <div class="clear"/>

      </div>

      </div>
      <div id="fwCpy" title="Solution by EDB ErgoGroup">admin
      v#

      {versionController.version}

      - Solution by EDB ErgoGroup</div>

      +id: j_idt90
      type: javax.faces.component.UIOutput@14271d
      +id: j_idt101
      type:
      </html>

      #]

        Issue Links

          Activity

          Hide
          rogerk added a comment -

          Targeting 3.2 for now.

          Show
          rogerk added a comment - Targeting 3.2 for now.
          Hide
          rogerk added a comment -

          triage

          Show
          rogerk added a comment - triage
          Hide
          andersaab added a comment -

          Why was this resolved as "Won't fix"? If triage means what I think it does, shouldn't it be moved to a later version instead?

          Show
          andersaab added a comment - Why was this resolved as "Won't fix"? If triage means what I think it does, shouldn't it be moved to a later version instead?
          Hide
          rogerk added a comment -

          Reopening for 3.2.

          Show
          rogerk added a comment - Reopening for 3.2.
          Hide
          rogerk added a comment -

          On the surface without additional artifacts, this looks to be a complex issue.
          There appears to be a lot going on here - many javascript files, etc... There is no way to tell from the stack trace where the problem lies. For optimal debugging it would be necessary to include the bare minimum to reproduce the issue - the xhtml pages (preferably without all the javascript) in some war.

          Show
          rogerk added a comment - On the surface without additional artifacts, this looks to be a complex issue. There appears to be a lot going on here - many javascript files, etc... There is no way to tell from the stack trace where the problem lies. For optimal debugging it would be necessary to include the bare minimum to reproduce the issue - the xhtml pages (preferably without all the javascript) in some war.
          Hide
          Manfred Riem added a comment -

          Closing as duplicate, see associated issue for resolution.

          Show
          Manfred Riem added a comment - Closing as duplicate, see associated issue for resolution.
          Hide
          Manfred Riem added a comment -

          Can you verify if this is still a problem on the latest 2.1 release?

          Show
          Manfred Riem added a comment - Can you verify if this is still a problem on the latest 2.1 release?

            People

            • Assignee:
              rogerk
              Reporter:
              andersaab
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: