You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/03/26 05:02:20 UTC
svn commit: r758513 - in
/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation:
JSFConverter.java JSFValidator.java
Author: lu4242
Date: Thu Mar 26 04:02:16 2009
New Revision: 758513
URL: http://svn.apache.org/viewvc?rev=758513&view=rev
Log:
MYFACES-2170 Missing attributes for @JSFValidator and @JSFConverter on myfaces-builder-annotations
Modified:
myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFConverter.java
myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFValidator.java
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFConverter.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFConverter.java?rev=758513&r1=758512&r2=758513&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFConverter.java (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFConverter.java Thu Mar 26 04:02:16 2009
@@ -73,4 +73,11 @@
* Short description
*/
String desc() default "";
+
+ /**
+ * Serial uid that should be added on generated tag class
+ *
+ * @since 1.0.3
+ */
+ String serialuidtag() default "";
}
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFValidator.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFValidator.java?rev=758513&r1=758512&r2=758513&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFValidator.java (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFValidator.java Thu Mar 26 04:02:16 2009
@@ -74,4 +74,34 @@
* Short description
*/
String desc() default "";
+
+ /**
+ * Serial uid that should be added on generated tag class
+ *
+ * @since 1.0.3
+ */
+ String serialuidtag() default "";
+
+ /**
+ * The fully-qualified-name of a concrete validator class.
+ * <p>
+ * This attribute is only relevant when "name" is also set, ie the
+ * annotation is indicating that a validator is really being declared.
+ * <p>
+ * When this attribute is not defined then it is assumed that this
+ * annotated class is the actual validator class.
+ * <p>
+ * When this attribute is set to something other than the name of the
+ * annotated class then the specified class is the one that the JSF
+ * validator registration in faces-config.xml will refer to. And if that
+ * class does not exist in the classpath (which will normally be the
+ * case) then code-generation will be triggered to create it.
+ * <p>
+ * This attribute is not inheritable.
+ * <p>
+ * The doclet-annotation equivalent of this attribute is named "class".
+ *
+ * @since 1.0.3
+ */
+ String clazz() default "";
}