myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOBAGO-811) Doublicate Id Excepiton with RI 1.1
Date Thu, 29 Oct 2009 16:20:59 GMT
Doublicate Id Excepiton with RI 1.1
-----------------------------------

                 Key: TOBAGO-811
                 URL: https://issues.apache.org/jira/browse/TOBAGO-811
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.5.0-alpha-1
         Environment: Sun RI 1.1_02
Facelets 1.1.14

            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil


When using e.g. some tc:cell in a page, there will be an doublecate id exception thrown.

The problem is, that the id counter in UIViewRoot will be resetted in the method "encodeBegin".
The automatically generated LayoutManager components are created while encoding, and so they
are getting ids counted up from 0.

The solution is 
  - override the createUniqueId in case of JSF 1.1 and
  - create the dynamic components before the encoding phase

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


Mime
View raw message