[richfaces-issues] [JBoss JIRA] (RF-12762) Duplicate id problem in ExtendedDatatable with dynamic columns
Matej Novotny (JIRA)
issues at jboss.org
Fri Mar 21 08:20:11 EDT 2014
[ https://issues.jboss.org/browse/RF-12762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matej Novotny resolved RF-12762.
--------------------------------
Resolution: Cannot Reproduce Bug
I tried this with both, Myfaces and Mojarra and I am unable to reproduce the bug.
> Duplicate id problem in ExtendedDatatable with dynamic columns
> --------------------------------------------------------------
>
> Key: RF-12762
> URL: https://issues.jboss.org/browse/RF-12762
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.CR1
> Environment: Windows 7 , weblogic10.4.3, Myfaces 2.1.10, IE 9, FireFox 14.0.1
> Reporter: blam lam
> Assignee: Matej Novotny
>
> When the ExtendedDataTable contains dynamic columns (i.e. using for:each), "java.lang.IllegalStateException: component with duplicate id" will occur after the second submit from a commandButton.
> The problem does not appear in 4.2.3 Final but found in 4.3 CR1
> Sample source code:
> {code}
> <h:form id="frmMarkUpdate">
> <a4j:outputPanel id="resultPanel">
> <rich:extendedDataTable id="studentVoMarkInputTab"
> value="#{updateMarkBean.studentVoMarkAmends}"
> var="studVo"
> selectionMode="none"
> height="100%">
>
> <rich:column width="200px" >
> <f:facet name="header">
> Status
> </f:facet>
> <h:outputText value="#{studVo.student.markAmendStatus}" />
> </rich:column>
>
> <c:forEach items="#{updateMarkBean.taskVos}" var="tvo" varStatus="s">
> <rich:column width="100px">
> <f:facet name="header">
> <h:outputText value="#{tvo.task.taskName}" />
> </f:facet>
> <h:inputText id="task#{s.index}_amk"
> value="#{studVo.getTaskMarkMap().get(tvo.task.taskId).amendedMark}"
> size="1" maxlength="3"/>
> </rich:column>
> </c:forEach>
> </rich:extendedDataTable>
>
> <a4j:commandButton id="btnSave" value="Save"
> action="#{updateMarkBean.doBeforeSave}"
> styleClass="button blue">
> </a4j:commandButton>
>
> </a4j:outputPanel>
> </h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list