tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r596040 - in /tapestry/tapestry5/trunk: ./ tapestry-core/src/main/java/org/apache/tapestry/
Date Sun, 18 Nov 2007 02:16:10 GMT
Author: hlship
Date: Sat Nov 17 18:16:10 2007
New Revision: 596040

URL: http://svn.apache.org/viewvc?rev=596040&view=rev
Log:
Add additional javadoc linking the different parts of validation together.

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Translator.java
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Validator.java
    tapestry/tapestry5/trunk/tapestry5.ipr

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java?rev=596040&r1=596039&r2=596040&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java
Sat Nov 17 18:16:10 2007
@@ -19,6 +19,7 @@
  *
  * @param <T>
  * @see Validator
+ * @see org.apache.tapestry.services.FieldValidatorDefaultSource
  */
 public interface FieldValidator<T>
 {
@@ -34,9 +35,11 @@
 
     /**
      * Invokes
-     * {@link Validator#render(Field,C,org.apache.tapestry.ioc.MessageFormatter, MarkupWriter,
PageRenderSupport,org.apache.tapestry.services.FormSupport)}.
+     * {@link Validator#render(Field, Object, org.apache.tapestry.ioc.MessageFormatter, MarkupWriter,
org.apache.tapestry.services.FormSupport)}.
+     * This is called at a point "inside" the tag, so that additional attributes may be added.
      *
-     * @param writer
+     * @param writer markup writer to direct output to.
+     * @see org.apache.tapestry.MarkupWriter#attributes(Object[])
      */
     void render(MarkupWriter writer);
 }

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Translator.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Translator.java?rev=596040&r1=596039&r2=596040&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Translator.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Translator.java
Sat Nov 17 18:16:10 2007
@@ -21,6 +21,8 @@
  * Translates between client-side and server-side values. Client-side values are always strings.
  *
  * @param <T>
+ * @see org.apache.tapestry.services.TranslatorDefaultSource
+ * @see org.apache.tapestry.services.FieldValidationSupport
  */
 public interface Translator<T>
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Validator.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Validator.java?rev=596040&r1=596039&r2=596040&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Validator.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Validator.java
Sat Nov 17 18:16:10 2007
@@ -23,6 +23,9 @@
  * Validators themselves are stateless singletons.
  * <p/>
  * Validators are usually encapsulated inside a {@link FieldValidator}.
+ *
+ * @see org.apache.tapestry.services.FieldValidationSupport
+ * @see org.apache.tapestry.services.FieldValidatorDefaultSource
  */
 public interface Validator<C, T>
 {

Modified: tapestry/tapestry5/trunk/tapestry5.ipr
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry5.ipr?rev=596040&r1=596039&r2=596040&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry5.ipr (original)
+++ tapestry/tapestry5/trunk/tapestry5.ipr Sat Nov 17 18:16:10 2007
@@ -49,7 +49,7 @@
   </component>
   <component name="CompilerConfiguration">
     <option name="DEFAULT_COMPILER" value="Javac" />
-    <option name="DEPLOY_AFTER_MAKE" value="0" />
+    <option name="DEPLOY_AFTER_MAKE" value="1" />
     <excludeFromCompile>
       <directory url="file://$PROJECT_DIR$/quickstart/src/main/resources" includeSubdirectories="true"
/>
     </excludeFromCompile>



Mime
View raw message