You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2007/04/05 15:36:06 UTC
svn commit: r525826 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java
Author: weber
Date: Thu Apr 5 06:36:06 2007
New Revision: 525826
URL: http://svn.apache.org/viewvc?view=rev&rev=525826
Log:
TOBAGO-345 ( ClassCastException when using editable tree)
checkstyle
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java?view=diff&rev=525826&r1=525825&r2=525826
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java Thu Apr 5 06:36:06 2007
@@ -97,9 +97,9 @@
} else if (command.getAttributes().get(ATTR_ACTION_ONCLICK) != null) {
onclick = prepareOnClick(facesContext, command);
} else if (command instanceof org.apache.myfaces.tobago.component.UICommand
- && ((org.apache.myfaces.tobago.component.UICommand)command).getRenderedPartially().length > 0) {
+ && ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially().length > 0) {
- String[] componentId = ((org.apache.myfaces.tobago.component.UICommand)command).getRenderedPartially();
+ String[] componentId = ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially();
if (componentId != null && componentId.length == 1) {
// TODO find a better way
@@ -135,7 +135,7 @@
onclick = "Tobago.closePopup(this);";
} else if (value.equals("afterSubmit")
&& command instanceof org.apache.myfaces.tobago.component.UICommand
- && ((org.apache.myfaces.tobago.component.UICommand)command).getRenderedPartially().length > 0) {
+ && ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially().length > 0) {
onclick += "Tobago.closePopup(this);";
}