myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1622222 - in /myfaces/tobago/trunk: tobago-core/src/main/java/org/apache/myfaces/tobago/event/ tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/
Date Wed, 03 Sep 2014 11:01:59 GMT
Author: lofwyr
Date: Wed Sep  3 11:01:58 2014
New Revision: 1622222

URL: http://svn.apache.org/r1622222
Log:
cleanup deprecation

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ResetInputActionListener.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
    myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
    myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ResetInputActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ResetInputActionListener.java?rev=1622222&r1=1622221&r2=1622222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ResetInputActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ResetInputActionListener.java
Wed Sep  3 11:01:58 2014
@@ -19,7 +19,7 @@
 
 package org.apache.myfaces.tobago.event;
 
-import org.apache.myfaces.tobago.internal.util.FindComponentUtils;
+import org.apache.myfaces.tobago.util.ComponentUtils;
 
 import javax.faces.component.StateHolder;
 import javax.faces.component.UIComponent;
@@ -44,7 +44,7 @@ public class ResetInputActionListener ex
 
   public void processAction(final ActionEvent event) {
     for (final String clientId : clientIds) {
-      final UIComponent component = FindComponentUtils.findComponent(event.getComponent(),
clientId);
+      final UIComponent component = ComponentUtils.findComponent(event.getComponent(), clientId);
       if (component != null) {
         resetChildren(component);
       }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java?rev=1622222&r1=1622221&r2=1622222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
Wed Sep  3 11:01:58 2014
@@ -20,7 +20,7 @@
 package org.apache.myfaces.tobago.event;
 
 import org.apache.myfaces.tobago.internal.component.AbstractUIPopup;
-import org.apache.myfaces.tobago.internal.util.FindComponentUtils;
+import org.apache.myfaces.tobago.util.ComponentUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -59,7 +59,7 @@ public class ValueExpressionPopupActionL
   @Override
   protected AbstractUIPopup getPopup(final ActionEvent actionEvent) {
     final String id = (String) popupIdExpression.getValue(FacesContext.getCurrentInstance().getELContext());
-    final UIComponent popup = FindComponentUtils.findComponent(actionEvent.getComponent(),
id);
+    final UIComponent popup = ComponentUtils.findComponent(actionEvent.getComponent(), id);
     if (popup instanceof AbstractUIPopup) {
       return (AbstractUIPopup) popup;
     } else {

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java?rev=1622222&r1=1622221&r2=1622222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
Wed Sep  3 11:01:58 2014
@@ -20,8 +20,8 @@
 package org.apache.myfaces.tobago.event;
 
 
-import org.apache.myfaces.tobago.internal.util.FindComponentUtils;
 import org.apache.myfaces.tobago.internal.util.StringUtils;
+import org.apache.myfaces.tobago.util.ComponentUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -60,7 +60,7 @@ public class ValueExpressionResetInputAc
       return;
     }
     for (final String clientId : clientIds) {
-      final UIComponent component = FindComponentUtils.findComponent(event.getComponent(),
clientId);
+      final UIComponent component = ComponentUtils.findComponent(event.getComponent(), clientId);
       if (component != null) {
         resetChildren(component);
       }

Modified: myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java?rev=1622222&r1=1622221&r2=1622222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
Wed Sep  3 11:01:58 2014
@@ -20,7 +20,7 @@
 package org.apache.myfaces.tobago.event;
 
 import org.apache.myfaces.tobago.internal.component.AbstractUIPopup;
-import org.apache.myfaces.tobago.internal.util.FindComponentUtils;
+import org.apache.myfaces.tobago.util.ComponentUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -54,7 +54,7 @@ public class ValueBindingPopupActionList
   @Override
   protected AbstractUIPopup getPopup(final ActionEvent actionEvent) {
     final String id = (String) popupIdBinding.getValue(FacesContext.getCurrentInstance());
-    final UIComponent popup = FindComponentUtils.findComponent(actionEvent.getComponent(),
id);
+    final UIComponent popup = ComponentUtils.findComponent(actionEvent.getComponent(), id);
     if (popup instanceof AbstractUIPopup) {
       return (AbstractUIPopup) popup;
     } else {

Modified: myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java?rev=1622222&r1=1622221&r2=1622222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
Wed Sep  3 11:01:58 2014
@@ -21,7 +21,7 @@ package org.apache.myfaces.tobago.event;
 
 
 import org.apache.commons.lang.StringUtils;
-import org.apache.myfaces.tobago.internal.util.FindComponentUtils;
+import org.apache.myfaces.tobago.util.ComponentUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -64,7 +64,7 @@ public class ValueBindingResetInputActio
       return;
     }
     for (final String clientId : clientIds) {
-      final UIComponent component = FindComponentUtils.findComponent(event.getComponent(),
clientId);
+      final UIComponent component = ComponentUtils.findComponent(event.getComponent(), clientId);
       if (component != null) {
         resetChildren(component);
       }



Mime
View raw message