click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r785718 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java
Date Wed, 17 Jun 2009 16:49:32 GMT
Author: sabob
Date: Wed Jun 17 16:49:31 2009
New Revision: 785718

URL: http://svn.apache.org/viewvc?rev=785718&view=rev
Log:
added javadoc example for application-version

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java?rev=785718&r1=785717&r2=785718&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java
Wed Jun 17 16:49:31 2009
@@ -94,8 +94,20 @@
  * <p/>
  * The PerformanceFilter provides the ability to add <tt>versioning</tt>
  * to application specific resources through the
- * <tt>init-param</tt> <span class="blue">"application-version"</span>.
- * <p/>
+ * <tt>init-param</tt> <span class="blue">"application-version"</span>.
For example
+ * to set the <span class="blue">"application-version"</span> to <span class="red">1.0</span>
+ * you can define the filter as follows:
+ *
+ * <pre class="codeConfig">
+ * &lt;filter&gt;
+ *  &lt;filter-name&gt;<span class="blue">PerformanceFilter</span>&lt;/filter-name&gt;
+ *  &lt;filter-class&gt;<span class="red">org.apache.click.extras.filter.PerformanceFilter</span>&lt;/filter-class&gt;
+ *   &lt;init-param&gt;
+ *     &lt;param-name&gt;<font color="blue">application-version</font>&lt;/param-name&gt;
+ *     &lt;param-value&gt;<font color="red">1.0</font>&lt;/param-value&gt;
+ *  &lt;/init-param&gt;
+ * &lt;/filter&gt; </pre>
+ *
  * Application versioning is supported by {@link org.apache.click.element.ResourceElement
resource elements}
  * such as {@link org.apache.click.element.JsImport JsImport} and
  * {@link org.apache.click.element.CssImport CssImport}. When the



Mime
View raw message