[
https://issues.jboss.org/browse/RF-12547?page=com.atlassian.jira.plugin.s...
]
Juraj Húska updated RF-12547:
-----------------------------
Description:
When switching between tabs of {{rich:tabPanel}} which has {{swithType="ajax"}}
(Dynamic tabs, Selected Tab Management) following JS error is thrown:
{code}
Uncaught TypeError: Cannot read property 'disabled' of undefined packed.js:1719
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemIndex packed.js:1719
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemByName packed.js:1728
B.ui.TogglePanel.B.BaseComponent.extendClass.onCompleteHandler packed.js:1690
(anonymous function)
serverEventHandler packed.js:177
(anonymous function) packed.js:168
(anonymous function) packed.js:148
sendEvent jsf.js.jsf:1
response jsf.js.jsf:1
response packed.js:367
A.ajax.response packed.js:231
onComplete jsf.js.jsf:1
AjaxEngine.req.xmlReq.onreadystatechange jsf.js.jsf:1
{code}
Tabs are not switched at all. It is occurring on Chrome and IE. On Firefox it works
correctly. This is behavior for JBoss AS only, on Tomcat it is not occuring.
was:
When switching between tabs of {{rich:tabPanel}} which has {{swithType="ajax"}}
(Dynamic tabs, Selected Tab Management) following JS error is thrown:
{code}
Uncaught TypeError: Cannot read property 'disabled' of undefined packed.js:1719
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemIndex packed.js:1719
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemByName packed.js:1728
B.ui.TogglePanel.B.BaseComponent.extendClass.onCompleteHandler packed.js:1690
(anonymous function)
serverEventHandler packed.js:177
(anonymous function) packed.js:168
(anonymous function) packed.js:148
sendEvent jsf.js.jsf:1
response jsf.js.jsf:1
response packed.js:367
A.ajax.response packed.js:231
onComplete jsf.js.jsf:1
AjaxEngine.req.xmlReq.onreadystatechange jsf.js.jsf:1
{code}
Tabs are not switched at all. It is occurring on Chrome and IE. On Firefox it works
correctly.
showcase - rich:tabPanel - when switchType=ajax switching between
tabs cause JS error
-------------------------------------------------------------------------------------
Key: RF-12547
URL:
https://issues.jboss.org/browse/RF-12547
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes, showcase
Affects Versions: 4.3.0.M2
Environment: browser: Chrome, IE
application container: JBoss AS 7.1.1.Final
Reporter: Juraj Húska
When switching between tabs of {{rich:tabPanel}} which has {{swithType="ajax"}}
(Dynamic tabs, Selected Tab Management) following JS error is thrown:
{code}
Uncaught TypeError: Cannot read property 'disabled' of undefined packed.js:1719
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemIndex packed.js:1719
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemByName packed.js:1728
B.ui.TogglePanel.B.BaseComponent.extendClass.onCompleteHandler packed.js:1690
(anonymous function)
serverEventHandler packed.js:177
(anonymous function) packed.js:168
(anonymous function) packed.js:148
sendEvent jsf.js.jsf:1
response jsf.js.jsf:1
response packed.js:367
A.ajax.response packed.js:231
onComplete jsf.js.jsf:1
AjaxEngine.req.xmlReq.onreadystatechange jsf.js.jsf:1
{code}
Tabs are not switched at all. It is occurring on Chrome and IE. On Firefox it works
correctly. This is behavior for JBoss AS only, on Tomcat it is not occuring.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira