You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Olexandr Zakordonskyy (JIRA)" <de...@myfaces.apache.org> on 2005/12/14 16:09:45 UTC

[jira] Created: (MYFACES-946) Strange behaviour

Strange behaviour
-----------------

         Key: MYFACES-946
         URL: http://issues.apache.org/jira/browse/MYFACES-946
     Project: MyFaces
        Type: Bug
  Components: Tobago  
 Environment: Geronimo 1.0M5 + Tomcat
    Reporter: Olexandr Zakordonskyy
    Priority: Blocker


Take a look on the application attached.
On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.

After 1 button click - image hides
After 2 button click - image shows again
After 3 button click - application throws exception about id duplication

Stack trace:
17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
 its parent component. This might be a problem due to duplicate ids.
        at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
01)
        at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)

        at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
oTag.java:51)
        at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
lloWorld_jsp:147)
        at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
136)
        at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
.jsp.helloWorld_jsp:174)
        at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
jsp.helloWorld_jsp:192)
        at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
.jsp.tag.web.layout.page_tag:194)
        at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
.jsp.tag.web.layout.page_tag:142)
        at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
.jsp.tag.web.layout.page_tag:101)
        at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
ayout.page_tag:64)
        at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
.helloWorld_jsp:91)
        at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
sp:67)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
91)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)

-- 
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


[jira] Commented: (MYFACES-946) Strange behaviour

Posted by "Olexandr Zakordonskyy (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-946?page=comments#action_12360422 ] 

Olexandr Zakordonskyy commented on MYFACES-946:
-----------------------------------------------

This bug maybe releated to http://issues.apache.org/jira/browse/MYFACES-933. Don't know.

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Resolved: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-946?page=all ]
     
Bernd Bohmann resolved MYFACES-946:
-----------------------------------

    Resolution: Fixed

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Commented: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-946?page=comments#action_12360461 ] 

Bernd Bohmann commented on MYFACES-946:
---------------------------------------

See  MYFACES-947 for the task

Please test it now

If you want a selectOneChoice which a label please look at the tx:selectOneChoice tag

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Commented: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-946?page=comments#action_12360477 ] 

Bernd Bohmann commented on MYFACES-946:
---------------------------------------

There must be a bug in the layoutmanager that belongs to selectOneChoice.... 

Udo and I have separated the layoutmanager from selectOneChoice 
See MYFACES-947 for the task 

Please test it now 

If you want to use a tc:selectOneChoice with a label look at the tx:selectOneChoice tag please

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Commented: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-946?page=comments#action_12360460 ] 

Bernd Bohmann commented on MYFACES-946:
---------------------------------------

This was not a debug issue.
There must be a bug in the layoutmanager that belongs to selectOneChoice....

udo and me separated the layoutmanager from selectOneChoice



> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Updated: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-946?page=all ]

Bernd Bohmann updated MYFACES-946:
----------------------------------

    Comment: was deleted

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Commented: (MYFACES-946) Strange behaviour

Posted by "Olexandr Zakordonskyy (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-946?page=comments#action_12360438 ] 

Olexandr Zakordonskyy commented on MYFACES-946:
-----------------------------------------------

ok
I'll try.
But I think it may be only as a temporary solution.

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Closed: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-946?page=all ]
     
Bernd Bohmann closed MYFACES-946:
---------------------------------


> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Updated: (MYFACES-946) Strange behaviour

Posted by "Olexandr Zakordonskyy (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-946?page=all ]

Olexandr Zakordonskyy updated MYFACES-946:
------------------------------------------

    Attachment: test.war

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Updated: (MYFACES-946) Strange behaviour

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-946?page=all ]

Bernd Bohmann updated MYFACES-946:
----------------------------------

    Comment: was deleted

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Assignee: Bernd Bohmann
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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


[jira] Commented: (MYFACES-946) Strange behaviour

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-946?page=comments#action_12360436 ] 

Volker Weber commented on MYFACES-946:
--------------------------------------

Olexandr,
please test setting the log level to info. This may hide this problem. 
At least we could reproduce the problem of 933 in tomcat by setting the log level to debug.

We had feared the fix of 933 did not solve this finaly. 

> Strange behaviour
> -----------------
>
>          Key: MYFACES-946
>          URL: http://issues.apache.org/jira/browse/MYFACES-946
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>  Environment: Geronimo 1.0M5 + Tomcat
>     Reporter: Olexandr Zakordonskyy
>     Priority: Blocker
>  Attachments: test.war
>
> Take a look on the application attached.
> On Tomcat it works fine, but on Geronimo+tomcat the behaviour is very strange.
> After 1 button click - image hides
> After 2 button click - image shows again
> After 3 button click - application throws exception about id duplication
> Stack trace:
> 17:08:09,703 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> javax.faces.FacesException: cannot add component with id '_id6' and path : {Comp
> onent-Path : [Class: org.apache.myfaces.tobago.component.UICommand,Id: _id6]} to
>  its parent component. This might be a problem due to duplicate ids.
>         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:4
> 01)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
>         at org.apache.myfaces.tobago.taglib.component.TobagoTag.doStartTag(Tobag
> oTag.java:51)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_t_button_0(org.apache.jsp.he
> lloWorld_jsp:147)
>         at org.apache.jsp.helloWorld_jsp.access$1(org.apache.jsp.helloWorld_jsp:
> 136)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke0(org.apache
> .jsp.helloWorld_jsp:174)
>         at org.apache.jsp.helloWorld_jsp$helloWorld_jspHelper.invoke(org.apache.
> jsp.helloWorld_jsp:192)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_cell_0(org.apache
> .jsp.tag.web.layout.page_tag:194)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_t_page_0(org.apache
> .jsp.tag.web.layout.page_tag:142)
>         at org.apache.jsp.tag.web.layout.page_tag._jspx_meth_f_view_0(org.apache
> .jsp.tag.web.layout.page_tag:101)
>         at org.apache.jsp.tag.web.layout.page_tag.doTag(org.apache.jsp.tag.web.l
> ayout.page_tag:64)
>         at org.apache.jsp.helloWorld_jsp._jspx_meth_layout_page_0(org.apache.jsp
> .helloWorld_jsp:91)
>         at org.apache.jsp.helloWorld_jsp._jspService(org.apache.jsp.helloWorld_j
> sp:67)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:322)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
> 91)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)

-- 
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