[richfaces-issues] [JBoss JIRA] Created: (RF-5734) <a4j:outputPanel> produces javax.servlet.ServletException: duplicate Id for a component form:j_id6

Bjoern Sonntag (JIRA) jira-events at lists.jboss.org
Wed Jan 14 06:59:04 EST 2009


<a4j:outputPanel> produces javax.servlet.ServletException: duplicate Id for a component form:j_id6
--------------------------------------------------------------------------------------------------

                 Key: RF-5734
                 URL: https://jira.jboss.org/jira/browse/RF-5734
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0, 3.2.2
         Environment: java 1.6.11, Glassfish V2, Windows XP Prof
            Reporter: Bjoern Sonntag


we've found one bug in the a4j:outputPanel - tag... 

szenario : 

In our project we have severals subprojects which have 2 webpages with simple navigation rule. Side A leads to side B and you can get from side B to side A, but when we go from side B to side A we got an exception : 

javax.servlet.ServletException: duplicate Id for a component form:j_id6 

We have following interesseting code in our jsps 

<a4j:outputPanel layout="none" id="mainContentPanel"> 

<!-- here are some widgets, like outputLabel, inputText, rich:calendar etc. --!> 

</a4j:outputPanel> 

which we use like a tag to render several widgets, or not. 

But when we replace the <a4j:outputPanel> with a <rich:panel> and navigate from side B to side A its works fine but our markup looks like a slap with a golf club. This behaviour is repeatable ! 

So we think there is a bug in the <a4j:outputPanel> or the Richfaces Framework have a problem with that. 

When you google for ""duplicate id" Richfaces a4j" you can see many many posting, that have <a4j:outputPanel> as common ground. 

with best regards 

Bjoern

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list