tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1303133 - in /tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha: KaptchaSymbolConstants.java components/KaptchaField.java services/KaptchaModule.java
Date Tue, 20 Mar 2012 20:25:40 GMT
Author: hlship
Date: Tue Mar 20 20:25:39 2012
New Revision: 1303133

URL: http://svn.apache.org/viewvc?rev=1303133&view=rev
Log:
TAP5-1878: Default for parameter vislble of KaptchaField should change from false to true

Modified:
    tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/KaptchaSymbolConstants.java
    tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/components/KaptchaField.java
    tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/services/KaptchaModule.java

Modified: tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/KaptchaSymbolConstants.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/KaptchaSymbolConstants.java?rev=1303133&r1=1303132&r2=1303133&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/KaptchaSymbolConstants.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/KaptchaSymbolConstants.java
Tue Mar 20 20:25:39 2012
@@ -23,7 +23,7 @@ public class KaptchaSymbolConstants
 {
     /**
      * Sets the default for the {@link org.apache.tapestry5.kaptcha.components.KaptchaField}
component's visible parameter.
-     * This defaults to false.
+     * This defaults to true.
      *
      * @since 5.3
      */

Modified: tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/components/KaptchaField.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/components/KaptchaField.java?rev=1303133&r1=1303132&r2=1303133&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/components/KaptchaField.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/components/KaptchaField.java
Tue Mar 20 20:25:39 2012
@@ -47,8 +47,8 @@ public class KaptchaField extends Abstra
     private KaptchaImage image;
 
     /**
-     * Controls whether the field is rendered like a password field (false, the factory default)
-     * or like a normal text field (true).
+     * Controls whether the field is rendered like a password field (false)
+     * or like a normal text field (true, the factory default).
      *
      * @see KaptchaSymbolConstants#KAPTCHA_DEFAULT_VISIBLE
      * @since 5.3

Modified: tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/services/KaptchaModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/services/KaptchaModule.java?rev=1303133&r1=1303132&r2=1303133&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/services/KaptchaModule.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-kaptcha/src/main/java/org/apache/tapestry5/kaptcha/services/KaptchaModule.java
Tue Mar 20 20:25:39 2012
@@ -42,7 +42,7 @@ public class KaptchaModule
     @FactoryDefaults
     public static void factoryDefaults(MappedConfiguration<String, Object> configuration)
     {
-        configuration.add(KaptchaSymbolConstants.KAPTCHA_DEFAULT_VISIBLE, false);
+        configuration.add(KaptchaSymbolConstants.KAPTCHA_DEFAULT_VISIBLE, true);
     }
 
     @Contribute(ComponentClassResolver.class)



Mime
View raw message