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 2010/11/13 10:45:19 UTC

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

Author: bommel
Date: Sat Nov 13 09:45:18 2010
New Revision: 1034709

URL: http://svn.apache.org/viewvc?rev=1034709&view=rev
Log:
cleanup

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=1034709&r1=1034708&r2=1034709&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 Nov 13 09:45:18 2010
@@ -88,10 +88,9 @@ public class CommandRendererHelper {
         }
       } else if (command.getAttributes().get(Attributes.ONCLICK) != null) {
         onclick = prepareOnClick(facesContext, command);
-      } else if (command instanceof AbstractUICommandBase
-          && ((AbstractUICommandBase) command).getRenderedPartially().length > 0) {
+      } else if (command.getRenderedPartially().length > 0) {
 
-        String[] componentIds = ((AbstractUICommandBase) command).getRenderedPartially();
+        String[] componentIds = command.getRenderedPartially();
 
           // TODO find a better way
           boolean popupAction = ComponentUtils.containsPopupActionListener(command);