title: JSF/Primefaces doesn't validate @AssertTrue
body: <p>my entity class look like this:</p>
  
  <pre><code>public class TimeFrame implements Serializable {    
  @NotNull
  private Date startTime;
  @NotNull
  @Future
  private Date stopTime;
  </code></pre>
  
  <p>To have the right order I added:</p>
  
  <pre><code>@AssertTrue(message="Wrong order")
  public boolean isTimeFrameValid(){
      return this.startTime.before(stopTime);
  }
  </code></pre>
  
  <p>Now, JSF/Primefaces should validate this directly after input.</p>
  
  <pre><code>&lt;p:calendar id="aucstop" required="true" pages="2" value="#{transportbean.stopTime}"   &gt;
                              &lt;p:ajax event="dateSelect"  /&gt;  
                              &lt;f:validateBean/&gt;
                          &lt;/p:calendar&gt; 
  </code></pre>
  
  <p>For example, when putting a past date into "StopTime" I got immediately a message. The "isTimeValid"-Mothod however is only validated when the whole object ist being created. Any ideas how to validate this directly after input?</p>
  
  <p>GF 3.1.1 PrimeFaces 3.4</p>