Seam SVN: r15343 - branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-11-04 17:58:48 -0500 (Sun, 04 Nov 2012)
New Revision: 15343
Modified:
branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormAction.java
branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormActionBean.java
Log:
bz 867751 - moving annotated validation constraint into local iface
Modified: branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormAction.java
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormAction.java 2012-11-01 08:13:37 UTC (rev 15342)
+++ branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormAction.java 2012-11-04 22:58:48 UTC (rev 15343)
@@ -1,11 +1,13 @@
package @actionPackage@;
import javax.ejb.Local;
+import javax.validation.constraints.Size;
@Local
public interface @interfaceName@
{
public void @methodName@();
+ @Size(max = 10)
public String getValue();
public void setValue(String value);
public void destroy();
Modified: branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormActionBean.java
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormActionBean.java 2012-11-01 08:13:37 UTC (rev 15342)
+++ branches/enterprise/WFK-2_1/jboss-seam-gen/dist/src/FormActionBean.java 2012-11-04 22:58:48 UTC (rev 15343)
@@ -7,7 +7,6 @@
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.log.Log;
import org.jboss.seam.international.StatusMessages;
-import javax.validation.constraints.Size;
@Stateful
@Name("@componentName@")
@@ -28,7 +27,6 @@
// add additional action methods
- @Size(max = 10)
public String getValue()
{
return value;