myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1523714 - in /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago: application/LabelValueBindingFacesMessage.java compat/FacesUtilsEL.java internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java
Date Mon, 16 Sep 2013 15:50:21 GMT
Author: lofwyr
Date: Mon Sep 16 15:50:21 2013
New Revision: 1523714

URL: http://svn.apache.org/r1523714
Log:
TOBAGO-1228: Setting JSF 2.0 as default version for Tobago
  - clean up

Removed:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/application/LabelValueBindingFacesMessage.java
Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/compat/FacesUtilsEL.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/compat/FacesUtilsEL.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/compat/FacesUtilsEL.java?rev=1523714&r1=1523713&r2=1523714&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/compat/FacesUtilsEL.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/compat/FacesUtilsEL.java
Mon Sep 16 15:50:21 2013
@@ -195,6 +195,9 @@ public class FacesUtilsEL {
     return expressionFactory.createValueExpression(facesContext.getELContext(), string, Object.class);
   }
 
+  /**
+   * @deprecated since 2.0.0
+   */
   public static void setValidator(EditableValueHolder editableValueHolder, Object validator)
{
     if (validator instanceof MethodExpression) {
       editableValueHolder.addValidator(new MethodExpressionValidator((MethodExpression) validator));
@@ -203,6 +206,9 @@ public class FacesUtilsEL {
     }
   }
 
+  /**
+   * @deprecated since 2.0.0
+   */
   public static void setConverter(ValueHolder valueHolder, Object converterExpression) {
     if (converterExpression instanceof ValueExpression) {
       ValueExpression expression = (ValueExpression) converterExpression;
@@ -215,6 +221,9 @@ public class FacesUtilsEL {
     }
   }
 
+  /**
+   * @deprecated since 2.0.0
+   */
   public static void setBindingOrExpression(UIComponent component, String name, Object valueBindingOrExpression)
{
     component.setValueExpression(name, (ValueExpression) valueBindingOrExpression);
   }
@@ -229,16 +238,25 @@ public class FacesUtilsEL {
     }
   }
 
+  /**
+   * @deprecated since 2.0.0
+   */
   public static Comparator getBindingOrExpressionComparator(
       FacesContext facesContext, UIComponent child, String var, boolean descending, Comparator
comparator) {
     ValueExpression valueBinding = child.getValueExpression("value");
     return new ValueExpressionComparator(facesContext, var, valueBinding, descending, comparator);
   }
 
+  /**
+   * @deprecated since 2.0.0
+   */
   public static void addBindingOrExpressionPopupActionListener(ActionSource actionSource,
Object bindingOrExpression) {
     actionSource.addActionListener(new ValueExpressionPopupActionListener((ValueExpression)
bindingOrExpression));
   }
 
+  /**
+   * @deprecated since 2.0.0
+   */
   public static void addBindingOrExpressionResetActionListener(ActionSource actionSource,
Object bindingOrExpression) {
     actionSource.addActionListener(new ValueExpressionResetInputActionListener((ValueExpression)
bindingOrExpression));
   }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java?rev=1523714&r1=1523713&r2=1523714&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java
Mon Sep 16 15:50:21 2013
@@ -132,7 +132,7 @@ public class SelectBooleanCheckboxExtens
     if (itemLabel != null) {
       selectBooleanCheckboxTag.setItemLabel(itemLabel);
     } else {
-      selectBooleanCheckboxTag.setItemLabel((ValueExpression) FacesUtilsEL.createValueExpression(""));
+      selectBooleanCheckboxTag.setItemLabel(FacesUtilsEL.createValueExpression(""));
     }
     if (markup != null) {
       selectBooleanCheckboxTag.setMarkup(markup);



Mime
View raw message