[
https://issues.apache.org/jira/browse/TOBAGO-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578247#action_12578247
]
Guido Dubois commented on TOBAGO-572:
-------------------------------------
Your suggestion works fine!
But after I changed the first bindings of <tc:selectOneRadio>, the bindings of
<tc:selectOneChoice> does the same behaviour. Because I have really a lot of
UISelectOne's in my application, I tried to define the binding attributes with
<f:attribute> like this:
<tc:selectOneChoice id="castorChairCompany"
value="#{modelController.product.norm1470.castorchairusereport.idcompany}">
<f:attribute name="binding"
value="#{boxcastorchairController.castorChairReportCompanySelectOne}" />
<f:selectItems
value="#{carpettilerequirementsController.selectItemsReportCompany}" />
</tc:selectOneChoice>
This works too! It's less work for me to change it in this way...
Thanks for your help!
> Duplicate component id with <tc:selectOneRadio>
> -----------------------------------------------
>
> Key: TOBAGO-572
> URL: https://issues.apache.org/jira/browse/TOBAGO-572
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Facelets
> Affects Versions: 1.0.13
> Environment: Facelets 1.1.12, MyFaces 1.1.6 snap (11.09.2007), Tobago
> 1.0.13 snap (10.12.2007)
> Reporter: Guido Dubois
> Assignee: Bernd Bohmann
> Priority: Minor
> Attachments: test-facelets.tgz, tobago_faceletsexample.war
>
>
> The first time the page is rendered correctly, but if you go back you will
> get an exception
> java.lang.IllegalStateException: Client-id : _id54 is duplicated in the faces
> tree. Component : page:_id54, path: {Component-Path : [Class:
> org.apache.myfaces.tobago.component.UIViewRoot,ViewId:
> /helloWorld.xhtml][Class: org.apache.myfaces.tobago.component.UIPage,Id:
> page][Class: org.apache.myfaces.tobago.component.UICell,Id: _id27][Class:
> org.apache.myfaces.tobago.component.UIBox,Id: _id29][Class:
> org.apache.myfaces.tobago.component.UICell,Id: _id54]}
> I will add a sample...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.