Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The widget can select a location by default so the user does not have to do this manually. There are two ways to achive achieve this.

  1. Have only one location available
    When there is only one location available, the widget will use that one by default. It will show the location picket picker with the location already selected.

  2. Have a default selected location in the query parameters
    When the widget loads it looks at the parents parent's query parameters. If there is a parameter called b25resource with the value the of a resource id, it will select that one by default. The user of the widget is still free to change the location by using the location picker.

...