[richfaces-issues] [JBoss JIRA] (RF-12969) rich:tabPanel: Click on already selected rich:tab causes JavaScript error
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Thu May 23 16:56:08 EDT 2013
[ https://issues.jboss.org/browse/RF-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukáš Fryč updated RF-12969:
----------------------------
Sprint: 4.3.2.Final Release, 5.0.0.Alpha1 Sprint (was: 4.3.2.Final Release)
> rich:tabPanel: Click on already selected rich:tab causes JavaScript error
> -------------------------------------------------------------------------
>
> Key: RF-12969
> URL: https://issues.jboss.org/browse/RF-12969
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.2
> Environment: Mojarra 2.1.20
> Reporter: Michael Abele
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 4.3.2, 5.0.0.Alpha1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Clicking on an already active tab causes a JavaScript error with 4.3.2 CR1.
> The following example works fine with 4.3.1
> {code}
> <rich:tabPanel switchType="ajax">
> <rich:tab name="1">
> </rich:tab>
> <rich:tab name="2">
> </rich:tab>
> </rich:tabPanel>
> {code}
> JavaScript error output in Chrome is:
> {quote}
> Uncaught TypeError: Cannot call method 'onCompleteHandler' of undefined
> (anonymous function)
> serverEventHandler packed.js:529
> (anonymous function) packed.js:505
> (anonymous function) packed.js:488
> (anonymous function) packed.js:456
> (anonymous function) packed.js:488
> sendEvent jsf.js.jsf:1613
> response jsf.js.jsf:2254
> jsf.ajax.response packed.js:656
> richfaces.queue.response packed.js:1170
> jsf.ajax.response packed.js:799
> onComplete jsf.js.jsf:1398
> AjaxEngine.req.xmlReq.onreadystatechange jsf.js.jsf:1379
> {quote}
> JavaScript error in Firefox is
> {quote}
> TypeError: RichFaces.$(...) is undefined
> return new Function("event", handlerCode);
> {quote}
--
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
More information about the richfaces-issues
mailing list