You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mk...@apache.org on 2006/08/16 03:20:37 UTC
svn commit: r431759 - in
/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom:
ajax/util/AjaxRendererUtils.java
ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java
Author: mkienenb
Date: Tue Aug 15 18:20:37 2006
New Revision: 431759
URL: http://svn.apache.org/viewvc?rev=431759&view=rev
Log:
TOMAHAWK-603 -- Clean up of dead code, imports, and unused variables in MyFaces Tomahawk Sandbox.
These ones are little less obvious, due to possible code side effects, but I think it's still dead code.
Modified:
myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java
myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java
Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java?rev=431759&r1=431758&r2=431759&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java Tue Aug 15 18:20:37 2006
@@ -103,24 +103,10 @@
ViewHandler viewHandler = context.getApplication().getViewHandler();
String ajaxURL = viewHandler.getActionURL(context, viewId);
- HtmlInputTextAjax htmlInputTextAjax = null;
-
String ajaxMessagesId = null;
- String ajaxMessageId = null;
if (uiComponent instanceof HtmlInputTextAjax)
{
- htmlInputTextAjax = (HtmlInputTextAjax) uiComponent;
-
- //finding the corresponding message component to display an ajaxMessage
- UIComponent ajaxMessage = context.getViewRoot()
- .findComponent(htmlInputTextAjax.getClientId(context) + "_msgFor");
-
- if (ajaxMessage != null)
- {
- ajaxMessageId = ajaxMessage.getClientId(context);
- }
-
//finding the corresponding messages component to display an ajaxMessage
UIComponent ajaxMessages = (UIComponent) ComponentUtils
.findFirstMessagesComponent(context, context.getViewRoot());
Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java?rev=431759&r1=431758&r2=431759&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java Tue Aug 15 18:20:37 2006
@@ -81,7 +81,6 @@
super.encodeEnd(context, component);
String clientId = component.getClientId(context);
- String url = getActionUrl(context);
UIComponent parentComboBox = this.getParentComboBox(childComboBox);
if (parentComboBox == null)