[jboss-user] [JBoss Seam] - Re: Validation with pageflows

2007-01-23 Thread petemuir
If validation is failing you shouldn't reach the action method. Post some code! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005238#4005238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005238

[jboss-user] [JBoss Seam] - Re: Validation with pageflows

2007-01-23 Thread sonstone
Here is some code: The beans: | @Entity | @Name(payment) | @Scope(ScopeType.CONVERSATION) | public class PaymentBean implements Payment { | |@NotNull |@Length(max=12,min=10) |@Pattern(regex=^[a-zA-Z0-9]+$, message=Must be alphanumeric.) |private String

[jboss-user] [JBoss Seam] - Re: Validation with pageflows

2007-01-23 Thread sonstone
I figured out what the problem was. I wasn't surrounding the h:inputText tag with the s:validateAll tag. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005367#4005367 Reply to the post :