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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...