You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Chamber (JIRA)" <de...@myfaces.apache.org> on 2011/07/12 17:02:59 UTC
[jira] [Commented] (TRINIDAD-2113) Dialog duplicate id
[ https://issues.apache.org/jira/browse/TRINIDAD-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063944#comment-13063944 ]
Chamber commented on TRINIDAD-2113:
-----------------------------------
Tentative solution:
<tr:commandLink id="link_delete" text="delete" partialSubmit="true" actionListener="#{backing.actionDelete}" <b>action="actualPage"</b> />
> Dialog duplicate id
> -------------------
>
> Key: TRINIDAD-2113
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2113
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.0.0
> Environment: tomcat 6, Spring 3.0.5, JPA 2.0
> Reporter: Chamber
>
> When the edit link is pressed or the delete link, everything works out. I can press as many times as I want the edit link and there is no problem, but when I press the delete link and then edit link or delete link again, I have the following error
> java.lang.IllegalStateException: component with duplicate id "j_id236570804_32fb8dd4" found
> where the id is different each time.
> the code:
> <tr:table id="table" value="#{backing.listResults}" var="result" partialTriggers=":link_delete">
> ...
> <tr:commandLink text="edit" action="dialog:popup" useWindow="true" launchListener="#{backing.addContentPopup}" returnListener="#{backing.returnPopup}"/>
> <tr:commandLink id="link_delete" text="delete" partialSubmit="true" actionListener="#{backing.actionDelete}" />
> </tr>
> There is no iteration between JSP and JSF. Code in web.xml and faces-config.xml posted upon request.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira