click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r778177 - in /incubator/click/trunk/click/examples: src/META-INF/ src/META-INF/web/ src/META-INF/web/images/ src/org/apache/click/examples/control/ webapp/WEB-INF/
Date Sun, 24 May 2009 15:39:27 GMT
Author: sabob
Date: Sun May 24 15:39:27 2009
New Revision: 778177

URL: http://svn.apache.org/viewvc?rev=778177&view=rev
Log:
moved resources to META-INF folder

Added:
    incubator/click/trunk/click/examples/src/META-INF/
    incubator/click/trunk/click/examples/src/META-INF/web/
    incubator/click/trunk/click/examples/src/META-INF/web/images/
    incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-down.png   (with
props)
    incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-up.png   (with props)
Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/control/FilterPanel.java
    incubator/click/trunk/click/examples/webapp/WEB-INF/click.xml

Added: incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-down.png
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-down.png?rev=778177&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-down.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-up.png
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-up.png?rev=778177&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/click/trunk/click/examples/src/META-INF/web/images/twistie-up.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/control/FilterPanel.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/control/FilterPanel.java?rev=778177&r1=778176&r2=778177&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/control/FilterPanel.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/control/FilterPanel.java
Sun May 24 15:39:27 2009
@@ -20,12 +20,9 @@
 
 import java.util.Date;
 
-import javax.servlet.ServletContext;
-
 import org.apache.click.control.Form;
 import org.apache.click.control.Panel;
 import org.apache.click.extras.control.DateField;
-import org.apache.click.util.ClickUtils;
 
 /**
  * Provides a custom date FilterPanel.
@@ -64,17 +61,4 @@
     public boolean isSelected() {
         return startDate.getDate() != null || endDate.getDate() != null;
     }
-
-    /**
-     * @see org.apache.click.Control#onDeploy(ServletContext)
-     */
-    public void onDeploy(ServletContext servletContext) {
-        String[] files = new String[] {
-            "/org/apache/click/examples/control/twistie-down.png",
-            "/org/apache/click/examples/control/twistie-up.png"
-        };
-
-        ClickUtils.deployFiles(servletContext, files, "images");
-    }
-
 }

Modified: incubator/click/trunk/click/examples/webapp/WEB-INF/click.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/WEB-INF/click.xml?rev=778177&r1=778176&r2=778177&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/WEB-INF/click.xml (original)
+++ incubator/click/trunk/click/examples/webapp/WEB-INF/click.xml Sun May 24 15:39:27 2009
@@ -25,8 +25,4 @@
 
   <mode value="profile"/>
 
-  <controls>
-    <control classname="org.apache.click.examples.control.FilterPanel"/>
-  </controls>
-
 </click-app>



Mime
View raw message