title: How to set default date in DateField?
body: <p>In my ActivitiesFilterControl component, I have two <code>DateField</code>s, which (int the .tml file) are inside the <code>fieldset</code> section:</p>
  
  <pre><code>&lt;fieldset class="float_right"&gt;
  
    &lt;t:label for="dateFrom"&gt;${message:search.form.label.dateFrom}&lt;/t:label&gt;
    &lt;t:datefield t:id="dateFrom" t:mixins="jquery/CustomDatepicker" t:value="dateFrom"
                 t:params="calendarParams.params" format="prop:calendarParams.dateFormat" messages="messages" class="datepicker"/&gt;
  
    &lt;t:label for="dateTo"&gt;${message:search.form.label.dateTo}&lt;/t:label&gt;
    &lt;t:datefield t:id="dateTo" t:mixins="jquery/CustomDatepicker" t:value="dateTo"
                 t:params="calendarParams.params" format="prop:calendarParams.dateFormat" messages="messages" class="datepicker"/&gt;
  
  &lt;/fieldset&gt;
  </code></pre>
  
  <p>CustomDatepicker is this one:
  <a href="http://tapestry5-jquery.com/mixins/docscustomdatepicker" rel="nofollow">http://tapestry5-jquery.com/mixins/docscustomdatepicker</a></p>
  
  <p>How can I set default values to the <code>CustomDatepicker</code>s/<code>DateField</code>s? Here is the sample code from the component:</p>
  
  <pre><code>public class ActivitiesFilterControl extends FilterControl {
  
    @Persist
    @Property
    private Date dateFrom;
  
    @Persist
    @Property
    private Date dateTo;
  
    @InjectComponent("dateFrom")
    private DateField dateFromField;
  
    @InjectComponent("dateTo")
    private DateField dateToField;
  
  }
  </code></pre>