myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjhow...@apache.org
Subject svn commit: r889269 - /myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlButtonRendererBase.java
Date Thu, 10 Dec 2009 14:07:49 GMT
Author: cjhoward
Date: Thu Dec 10 14:07:49 2009
New Revision: 889269

URL: http://svn.apache.org/viewvc?rev=889269&view=rev
Log:
MYFACES-2458 - append "return false;" for h:commandButton with behavior chain.

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

Modified: myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlButtonRendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlButtonRendererBase.java?rev=889269&r1=889268&r2=889269&view=diff
==============================================================================
--- myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlButtonRendererBase.java
(original)
+++ myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlButtonRendererBase.java
Thu Dec 10 14:07:49 2009
@@ -268,7 +268,7 @@
         return HtmlRendererUtils.buildBehaviorChain(facesContext, uiComponent, behaviors,
                 ClientBehaviorEvents.CLICK, ClientBehaviorEvents.ACTION, 
                 userOnClick.toString() , rendererOnClick.toString(),
-                HtmlRendererUtils.mapAttachedParamsToStringValues(facesContext, uiComponent));
+                HtmlRendererUtils.mapAttachedParamsToStringValues(facesContext, uiComponent))
+ "return false;";
 
     }
 



Mime
View raw message