You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/06/07 11:40:27 UTC
svn commit: r952167 -
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
Author: lofwyr
Date: Mon Jun 7 09:40:27 2010
New Revision: 952167
URL: http://svn.apache.org/viewvc?rev=952167&view=rev
Log:
TOBAGO-834: Supplement for the 1.5.x version: using correct parent class
Modified:
myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java?rev=952167&r1=952166&r2=952167&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java Mon Jun 7 09:40:27 2010
@@ -26,7 +26,7 @@ import org.apache.myfaces.tobago.compone
import org.apache.myfaces.tobago.context.Markup;
import org.apache.myfaces.tobago.context.TransientStateHolder;
import org.apache.myfaces.tobago.el.ConstantMethodBinding;
-import org.apache.myfaces.tobago.event.PopupActionListener;
+import org.apache.myfaces.tobago.event.AbstractPopupActionListener;
import org.apache.myfaces.tobago.internal.component.AbstractUIForm;
import org.apache.myfaces.tobago.internal.component.AbstractUIPage;
import org.apache.myfaces.tobago.internal.component.AbstractUIPopup;
@@ -99,7 +99,7 @@ public class ComponentUtils {
public static boolean containsPopupActionListener(UICommand command) {
ActionListener[] actionListeners = command.getActionListeners();
for (ActionListener actionListener : actionListeners) {
- if (actionListener instanceof PopupActionListener) {
+ if (actionListener instanceof AbstractPopupActionListener) {
return true;
}
}