struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [34/56] [abbrv] struts git commit: WW-3698 Updates JavaDoc about new wrapField parameter
Date Mon, 17 Nov 2014 10:48:37 GMT
WW-3698 Updates JavaDoc about new wrapField parameter


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/87c204ef
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/87c204ef
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/87c204ef

Branch: refs/heads/master
Commit: 87c204ef6c28f918f9c18cdaaec883f1375fa786
Parents: d2b22b9
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Sun Sep 21 11:05:05 2014 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Sun Sep 21 11:05:05 2014 +0200

----------------------------------------------------------------------
 .../views/jasperreports/JasperReportsResult.java   | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/87c204ef/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
----------------------------------------------------------------------
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 4cb7de6..8c0c901 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
@@ -74,59 +74,48 @@ import java.util.TimeZone;
  * <p/>
  * <li><b>location (default)</b> - the location where the compiled jasper
report
  * definition is (foo.jasper), relative from current URL.</li>
- * <p/>
  * <li><b>dataSource (required)</b> - the EL expression used to retrieve
the
  * datasource from the value stack (usually a List).</li>
- * <p/>
  * <li><b>parse</b> - true by default. If set to false, the location param
will
  * not be parsed for EL expressions.</li>
- * <p/>
  * <li><b>format</b> - the format in which the report should be generated.
Valid
  * values can be found in {@link JasperReportConstants}. If no format is
  * specified, PDF will be used.</li>
- * <p/>
  * <li><b>contentDisposition</b> - disposition (defaults to "inline", values
are
  * typically <i>filename="document.pdf"</i>).</li>
- * <p/>
  * <li><b>documentName</b> - name of the document (will generate the http
header
  * <code>Content-disposition = X; filename=X.[format]</code>).</li>
- * <p/>
  * <li><b>delimiter</b> - the delimiter used when generating CSV reports.
By
  * default, the character used is ",".</li>
- * <p/>
  * <li><b>imageServletUrl</b> - name of the url that, when prefixed with
the
  * context page, can return report images.</li>
- * <p/>
  * <li>
  * <b>reportParameters</b> - (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.
  * </li>
- * <p/>
  * <li>
  * <b>exportParameters</b> - (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.
  * </li>
- * <p/>
  * <li>
  * <b>connection</b> - (2.1.7+) JDBC Connection which can be passed to the
  * report instead of dataSource
  * </li>
- * <p/>
+ * <li><b>wrapField</b> - (2.3.18+) defines if fields should warp with
ValueStackDataSource
+ * see https://issues.apache.org/jira/browse/WW-3698 for more details
+ * </li>
  * </ul>
- * <p/>
  * <p>
  * This result follows the same rules from {@link StrutsResultSupport}.
  * Specifically, all parameters will be parsed if the "parse" parameter
  * is not set to false.
  * </p>
  * <!-- END SNIPPET: params -->
- * <p/>
  * <b>Example:</b>
- * <p/>
  * <pre><!-- START SNIPPET: example1 -->
  * &lt;result name="success" type="jasper"&gt;
  *   &lt;param name="location"&gt;foo.jasper&lt;/param&gt;


Mime
View raw message