1 Reply Latest reply on Oct 24, 2006 6:55 AM by gavin.king

    Annotation fail for nested methods calls

    sghosh1

      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;
      }