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

        

Reply via email to