diff --git a/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java b/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java index 0ec9dbc45..eec6a4699 100644 --- a/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java +++ b/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java @@ -96,13 +96,27 @@ import com.opensymphony.xwork2.util.logging.LoggerFactory; * *
  • imageServletUrl - name of the url that, when prefixed with the * context page, can return report images.
  • + * + *
  • + * reportParameters - (2.1.2+) OGNL expression used to retrieve a map of + * report parameters from the value stack. The parameters may be accessed + * in the report via the usual JR mechanism and might include data not + * part of the dataSource, such as the user name of the report creator, etc. + *
  • + * + *
  • + * exportParameters - (2.1.2+) OGNL expression used to retrieve a map of + * JR exporter parameters from the value stack. The export parameters are + * used to customize the JR export. For example, a PDF export might enable + * encryption and set the user password to a string known to the report creator. + *
  • * * * *

    - * This result follows the same rules from {@link StrutsResultSupport}. - * Specifically, all parameters will be parsed if the "parse" parameter is not - * set to false. + * This result follows the same rules from {@link StrutsResultSupport}. + * Specifically, all parameters will be parsed if the "parse" parameter + * is not set to false. *

    * *