[jboss-user] [JBoss Seam] - Annotation fail for nested methods calls
sghosh@lexgen.com
do-not-reply at jboss.com
Fri Oct 13 16:48:03 EDT 2006
Just to explain in a hypothetical sense, if a bean has an @Create method and it in turn calls a method to fetch the date filed which has an @Future annotation, then the validation of date being a future date is omitted.
| @Create
| public void doInit(){
|
| if (getDueDate()){
|
| }
|
| }
|
|
| @Future
| @NotNull
| public Date getDueDate() {
| return dueDate;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978286#3978286
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978286
More information about the jboss-user
mailing list