Author: abelevich
Date: 2007-10-03 06:11:55 -0400 (Wed, 03 Oct 2007)
New Revision: 3211
Modified:
branches/3.1.x/ui/tabPanel/src/main/java/org/richfaces/component/UITabPanel.java
Log:
revert RF-843
Modified:
branches/3.1.x/ui/tabPanel/src/main/java/org/richfaces/component/UITabPanel.java
===================================================================
---
branches/3.1.x/ui/tabPanel/src/main/java/org/richfaces/component/UITabPanel.java 2007-10-03
10:09:52 UTC (rev 3210)
+++
branches/3.1.x/ui/tabPanel/src/main/java/org/richfaces/component/UITabPanel.java 2007-10-03
10:11:55 UTC (rev 3211)
@@ -25,12 +25,10 @@
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
-import javax.faces.event.FacesEvent;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.Predicate;
import org.apache.commons.collections.iterators.FilterIterator;
-import org.richfaces.event.SwitchablePanelSwitchEvent;
/**
* JSF component class
@@ -185,17 +183,4 @@
public abstract void setHeaderClass(String value);
- public void queueEvent(FacesEvent event) {
- if (event instanceof SwitchablePanelSwitchEvent &&
this.equals(event.getComponent())) {
-
- SwitchablePanelSwitchEvent switchEvent = (SwitchablePanelSwitchEvent) event;
- UIComponent component = switchEvent.getEventSource();
- if((component instanceof UITab) && ((UITab)component).isImmediate()){
- setImmediate(true);
- }else{
- setImmediate(false);
- }
- }
- super.queueEvent(event);
- }
}
Show replies by date