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 2011/04/23 19:56:08 UTC

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

Author: bommel
Date: Sat Apr 23 17:56:07 2011
New Revision: 1096196

URL: http://svn.apache.org/viewvc?rev=1096196&view=rev
Log:
(TOBAGO-992) Move transition, target, focus of Tobago.submitAction to a set of optional options

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

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java?rev=1096196&r1=1096195&r2=1096196&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java Sat Apr 23 17:56:07 2011
@@ -111,7 +111,8 @@ public class CommandRendererHelper {
         if (target == null) {
           onclick = "Tobago.submitAction(this, '" + clientId + "', { transition:" + transition + "});";
         } else {
-          onclick = "Tobago.submitAction(this, '" + clientId + "', { transition:" + transition + ", target:'" + target + "'});";
+          onclick = "Tobago.submitAction(this, '" + clientId + "', { transition:" + transition
+              + ", target:'" + target + "'});";
         }
       }