You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bill Dudney (JIRA)" <my...@incubator.apache.org> on 2005/07/22 21:20:50 UTC

[jira] Reopened: (MYFACES-118) inputCalendar RenderAsPopup fails: Duplicate ID

     [ http://issues.apache.org/jira/browse/MYFACES-118?page=all ]
     
Bill Dudney reopened MYFACES-118:
---------------------------------

     Assign To: Bill Dudney  (was: Martin Marinschek)

I agree, section 3.1.1 states that the components should be unique and if we are not forcing that then we probably should be. I'd be glad to take this on as a test case (pun intended) for the cactus tests. I'll introduce a cactus test that reproduces the bug then fix it.

> inputCalendar RenderAsPopup fails: Duplicate ID
> -----------------------------------------------
>
>          Key: MYFACES-118
>          URL: http://issues.apache.org/jira/browse/MYFACES-118
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.8 beta
>  Environment: Windows 2003, OC4J (10.1.3.0.0) - Developer Preview 3 or Tomcat 5.5.7, JSF 1.1, JSP 2.0, MyFaces 1.0.8 beta
>     Reporter: Norbert Csík
>     Assignee: Bill Dudney
>      Fix For: Nightly Build
>  Attachments: go.jspx
>
> I have JSP Document with an f:view and an x:inputCalendar element. When the inputCalendar's RenderAsPopup attribute is set to true the page display fails with the message (myca is the id of the inputCalendar component):
> 500 Internal Server Error
> javax.servlet.jsp.JspException: Duplicate component ID '_id0:myca' found in view.	at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:171)	at _go_2e_jspx._jspService(go.jspx:24)	[/go.jspx]
> Rendering with RenderAsPopup set to false is okay.

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