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 2008/11/17 13:54:02 UTC

svn commit: r718236 - /myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java

Author: bommel
Date: Mon Nov 17 04:54:02 2008
New Revision: 718236

URL: http://svn.apache.org/viewvc?rev=718236&view=rev
Log:
(TOBAGO-726) Allow configuration of transition in command facets

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java

Modified: myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java?rev=718236&r1=718235&r2=718236&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java Mon Nov 17 04:54:02 2008
@@ -886,7 +886,9 @@
       } else {
         writer.write("Tobago.submitAction(this, '");
         writer.write(facetComponent.getClientId(facesContext));
-        writer.write("')");
+        writer.write("', ");
+        writer.write(Boolean.toString(ComponentUtil.getBooleanAttribute(facetComponent, Attributes.TRANSITION)));
+        writer.write(")");
       }
       writer.write("});\n}");
       writer.endJavascript();