[richfaces-issues] [JBoss JIRA] (RF-12977) a4j:queue breaks tabPanel
Bernard Labno (JIRA)
jira-events at lists.jboss.org
Mon May 13 11:11:06 EDT 2013
Bernard Labno created RF-12977:
----------------------------------
Summary: 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
Environment: This happens in RF 4.3.2.CR1, but I can't select such version in JIRA.
Reporter: Bernard Labno
Priority: Critical
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