You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2005/07/07 20:10:27 UTC

svn commit: r209627 - /myfaces/api/trunk/src/java/javax/faces/component/UIData.java

Author: schof
Date: Thu Jul  7 11:10:25 2005
New Revision: 209627

URL: http://svn.apache.org/viewcvs?rev=209627&view=rev
Log:
reversed part of Martin's 209583 revision (the part that made UIData dependent on a tomahawk class.)

Modified:
    myfaces/api/trunk/src/java/javax/faces/component/UIData.java

Modified: myfaces/api/trunk/src/java/javax/faces/component/UIData.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/component/UIData.java?rev=209627&r1=209626&r2=209627&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/component/UIData.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/component/UIData.java Thu Jul  7 11:10:25 2005
@@ -15,8 +15,6 @@
  */
 package javax.faces.component;
 
-import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-
 import java.io.IOException;
 import java.io.Serializable;
 import java.sql.ResultSet;
@@ -228,13 +226,9 @@
 		super.setValueBinding(name, binding);
 	}
 
-    public String getClientId(FacesContext context)
-    {
-        String clientId = HtmlComponentUtils.getClientId(this, getRenderer(context), context);
-
-        if(clientId == null)
-		    clientId = super.getClientId(context);
-
+	public String getClientId(FacesContext context)
+	{
+		String clientId = super.getClientId(context);
 		int rowIndex = getRowIndex();
 		if (rowIndex == -1)
 		{