Hi everyone, I am a beginner with Tapestry and I have a specific question. There is a ActivitiesFilterComponent component, which contains two DataFields ( http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/DateField.html). Both of them are connected to CustomDatapicker (jquery) in .tml template and have @InjectComponent annotations inside the java class.
Is there a way to set the default date (eg. a month ago) via the java code? By default the value properties in the .tml files are empty, so two connected calendars take today as the current date. I would like to override this default behaviour. Here is the code (I paste the link, because the code is formatted): http://stackoverflow.com/questions/33083657/how-to-set-default-date-in-datefield As I understand, I just have to set the value parameter by setting the dateTo/dateFrom variables, is that right?
