myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r812755 - /myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Date Wed, 09 Sep 2009 03:18:05 GMT
Author: lu4242
Date: Wed Sep  9 03:17:46 2009
New Revision: 812755

URL: http://svn.apache.org/viewvc?rev=812755&view=rev
Log:
MYFACES-2323 Implement <f:ajax> tag handler (apply decode client behavior algorithm
on renderers that handle components implementing EditableValueHolder, ActionSource or UIForm)


Modified:
    myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java

Modified: myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java?rev=812755&r1=812754&r2=812755&view=diff
==============================================================================
--- myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
(original)
+++ myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Wed Sep  9 03:17:46 2009
@@ -248,7 +248,7 @@
     public static void decodeClientBehaviors(FacesContext facesContext,
             UIComponent component)
     {
-        if (component instanceof ClientBehaviorHolder)
+        if (!(component instanceof ClientBehaviorHolder))
         {
             throw new IllegalArgumentException("Component "
                     + component.getClientId(facesContext)



Mime
View raw message