Calendar selected period


Is it possible to send data from a calendar view to a form view ?

I would like to get in form view start and end dates of the selected period in calendar view.

I have found a solution by adding an onChange attribute in the calendar view and creating an action-view with the following definition but don’t know how to fill expr value to make it work (if possible) :

<action-attrs name="action-book" model="com.axelor.meta.db.MetaJsonRecord">
  <attribute for="startDate" name="value" expr="" />