click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r961631 - in /click/trunk/click/framework/src/org/apache/click: Control.java control/AbstractControl.java
Date Thu, 08 Jul 2010 08:39:17 GMT
Author: sabob
Date: Thu Jul  8 08:39:16 2010
New Revision: 961631

URL: http://svn.apache.org/viewvc?rev=961631&view=rev
Log:
removed getCssSelector from Control, not as useful as initially thought

Modified:
    click/trunk/click/framework/src/org/apache/click/Control.java
    click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java

Modified: click/trunk/click/framework/src/org/apache/click/Control.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/Control.java?rev=961631&r1=961630&r2=961631&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/Control.java (original)
+++ click/trunk/click/framework/src/org/apache/click/Control.java Thu Jul  8 08:39:16 2010
@@ -468,7 +468,5 @@ public interface Control extends Seriali
 
     public List<Behavior> getBehaviors();
 
-    public String getCssSelector();
-
     public boolean isAjaxTarget(Context context);
 }

Modified: click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java?rev=961631&r1=961630&r2=961631&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java Thu Jul
 8 08:39:16 2010
@@ -285,20 +285,6 @@ public abstract class AbstractControl im
     }
 
     /**
-     * Returns this Control CSS selector or <tt>null</tt>null if no CSS selector
-     * has been defined.
-     *
-     * @return this Control CSS selector or <tt>null</tt> if no CSS selector
has
-     * been defined
-     */
-    public String getCssSelector() {
-        // TODO each control could have an optimized version of cssSelector
-        // targeting specifically that control. For now we just use a generic
-        // utility impl
-        return ClickUtils.getCssSelector(this);
-    }
-
-    /**
      * Returns <tt>true</tt> if this control is an AJAX target, <tt>false</tt>
      * otherwise.
      * <p/>



Mime
View raw message