You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2010/02/16 15:25:27 UTC
[jira] Commented: (TOBAGO-811) Dublicate Id Excepiton with RI 1.1
[ https://issues.apache.org/jira/browse/TOBAGO-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834226#action_12834226 ]
Udo Schnurpfeil commented on TOBAGO-811:
----------------------------------------
There was also a fixed problem while restore in the JSF 1.2 variant.
> Dublicate 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
> Fix For: 1.0.25, 1.5.0-alpha-2, 1.5.0
>
>
> When using e.g. some tc:cell in a page, there will be an dublicate 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.