Element action.Download

Substitution Groups:
action.IAction

This action triggers a file download.


Attributes
optional   action.OpenFilePolicy OpenPolicy The policy the browser should apply to open the downloaded file.
  • AUTO: let the browser manage itself what to do (default),
  • SAVE_AS: the browser should popup the "save as" dialog box,
  • INLINE: the browser should display the document inline.

Named Children Elements
0 - unbounded   param.IUrlParameter[] AddParameters Additional parameters to pass to the action handler when it is invoked.
mandatory   binding.Expression FileName Defines the filename (with extension).
mandatory   binding.Expression OnDownload Expression that handles the download.
Processes the request and returns the HttpResponse (accessible through the contextual $response bean).
Supported contextual beans: $response