incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r947133 - /sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/SlingPostConstants.java
Date Fri, 21 May 2010 19:23:53 GMT
Author: justin
Date: Fri May 21 19:23:53 2010
New Revision: 947133

URL: http://svn.apache.org/viewvc?rev=947133&view=rev
Log:
improving javadoc

Modified:
    sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/SlingPostConstants.java

Modified: sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/SlingPostConstants.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/SlingPostConstants.java?rev=947133&r1=947132&r2=947133&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/SlingPostConstants.java
(original)
+++ sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/SlingPostConstants.java
Fri May 21 19:23:53 2010
@@ -343,7 +343,10 @@ public interface SlingPostConstants {
 
     /**
      * Suffix indicating that the default value should be used when the property
-     * is not defined. By default the default value is only used when
+     * is not defined. By default the default value is only used when the property
+     * is defined, but blank (i.e. an empty form field). With this suffix, the
+     * default value will also be used if the property isn't provided at all. This is
+     * useful for HTML checkboxes.
      */
     public static final String SUFFIX_USE_DEFAULT_WHEN_MISSING = "@UseDefaultWhenMissing";
 }



Mime
View raw message