[richfaces-issues] [JBoss JIRA] (RF-12977) a4j:queue breaks tabPanel
Brian Leathem (JIRA)
issues at jboss.org
Tue Feb 4 15:48:29 EST 2014
[ https://issues.jboss.org/browse/RF-12977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-12977:
-------------------------------
Fix Version/s: 5-Tracking
(was: 5.0.0.Alpha4)
> a4j:queue breaks tabPanel
> -------------------------
>
> Key: RF-12977
> URL: https://issues.jboss.org/browse/RF-12977
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.2, 5.0.0.Alpha2
> Environment: This happens in RF 4.3.2.CR1, but I can't select such version in JIRA.
> Reporter: Bernard Labno
> Priority: Critical
> Fix For: 5-Tracking
>
>
> There is clearly a bug in tabPanel.js
> {code}
> execAjax : function (oldPanel, newPanel) {
> var options = $.extend({}, newPanel.getTogglePanel().options["ajax"], {});
> this.__setActiveItem(newPanel);
> rf.ajax(newPanel.id, null, options);
> if (oldPanel) { // HERE IS THE BUG
> this.__setActiveItem(oldPanel);
> }
> return false;
> },
> {code}
> If the tab panel works in ajax mode and we attach a4j:queue with requestDelay="1000" then rf.ajax... will just add request to queue, but meanwhile the active item will be changed to old value.
--
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