Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2FD668A9 for ; Tue, 12 Jul 2011 15:11:24 +0000 (UTC) Received: (qmail 40974 invoked by uid 500); 12 Jul 2011 15:11:24 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 40857 invoked by uid 500); 12 Jul 2011 15:11:23 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 40751 invoked by uid 99); 12 Jul 2011 15:11:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 15:11:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 15:11:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F00E54C7E5 for ; Tue, 12 Jul 2011 15:10:59 +0000 (UTC) Date: Tue, 12 Jul 2011 15:10:59 +0000 (UTC) From: "Chamber (JIRA)" To: dev@myfaces.apache.org Message-ID: <53357168.6278.1310483459980.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1958048895.2891.1310391000242.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (TRINIDAD-2113) Dialog duplicate id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TRINIDAD-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063944#comment-13063944 ] Chamber edited comment on TRINIDAD-2113 at 7/12/11 3:10 PM: ------------------------------------------------------------ Tentative solution, add action: This solution will refresh the entire page, not only the table appointed. I reckon the problem could be in the function in the baking bean of the dialog that returns null, because it happens when an action function returns null or doesn't return anything (void): public class dialogBackinBean { ... public String return() { Long id = (String) RequestContext.getCurrentInstance().getPageFlowScope().get("id"); ... RequestContext.getCurrentInstance().returnFromDialog(id, null); return null; } } was (Author: machamber): Tentative solution: > 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: > > ... > > > > 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