You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/05/04 16:12:57 UTC

svn commit: r940868 - in /myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main: java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/ java/org/apache/myfaces/tobago/renderkit/html/scarborough/ resources/org/apache/myfaces/tobago/...

Author: lofwyr
Date: Tue May  4 14:12:57 2010
New Revision: 940868

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

Removed:
    myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/
    myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/sandbox/mozilla/style/
    myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/
    myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/
Modified:
    myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java

Modified: myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java?rev=940868&r1=940867&r2=940868&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java (original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java Tue May  4 14:12:57 2010
@@ -20,7 +20,6 @@ package org.apache.myfaces.tobago.render
 import org.apache.myfaces.tobago.component.AbstractUINumberSlider;
 import org.apache.myfaces.tobago.context.ResourceManager;
 import org.apache.myfaces.tobago.context.ResourceManagerFactory;
-import org.apache.myfaces.tobago.context.TobagoFacesContext;
 import org.apache.myfaces.tobago.layout.Measure;
 import org.apache.myfaces.tobago.renderkit.LayoutComponentRendererBase;
 import org.apache.myfaces.tobago.renderkit.css.Position;
@@ -45,10 +44,12 @@ public class NumberSliderRenderer extend
 
   public void prepareRender(FacesContext facesContext, UIComponent component) throws IOException {
     super.prepareRender(facesContext, component);
+/* todo: use e. g. jQuery
     if (facesContext instanceof TobagoFacesContext) {
       final String[] scripts = new String[]{"script/scriptaculous.js"};
       ((TobagoFacesContext) facesContext).getScriptFiles().add(scripts[0]);
     }
+*/
   }
 
   public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException {