You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/11/01 15:43:07 UTC
svn commit: r469922 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java
Author: bommel
Date: Wed Nov 1 06:43:07 2006
New Revision: 469922
URL: http://svn.apache.org/viewvc?view=rev&rev=469922
Log:
preserve old signatures of ComponentUtil
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java?view=diff&rev=469922&r1=469921&r2=469922
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java Wed Nov 1 06:43:07 2006
@@ -837,6 +837,10 @@
}
}
+ public static void setConverter(UIComponent component, String converterId) {
+ setConverter((ValueHolder) component, converterId);
+ }
+
public static void setConverter(ValueHolder valueHolder, String converterId) {
if (converterId != null && valueHolder.getConverter() == null) {
final FacesContext facesContext = FacesContext.getCurrentInstance();
@@ -853,6 +857,10 @@
}
}
+ public static void setAction(UIComponent component, String type, String action) {
+ setAction((UICommand) component, type, action);
+ }
+
public static void setAction(UICommand component, String type, String action) {
String commandType;
final FacesContext facesContext = FacesContext.getCurrentInstance();
@@ -885,7 +893,9 @@
}
}
-
+ public static void setSuggestMethodBinding(UIComponent component, String suggestMethod) {
+ setSuggestMethodBinding((UIInput) component, suggestMethod);
+ }
public static void setSuggestMethodBinding(UIInput component, String suggestMethod) {
if (suggestMethod != null) {
if (UIComponentTag.isValueReference(suggestMethod)) {