Plugin Directory

Changeset 2283438


Ignore:
Timestamp:
04/14/2020 06:40:03 PM (6 years ago)
Author:
tdanciu
Message:

readme update

Location:
jasperreports-io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jasperreports-io/tags/1.0.0/readme.txt

    r2283418 r2283438  
    3232If the JasperReports IO report or data visualization has parameters of its own, you can pass values for those using shortcode parameters having the same name as the respective report parameters.
    3333However, since shortcode parameters are case insensitive, for camel case report parameters, a special report name mapping shortcode parameter called mappings needs to be used.
     34
    3435In the following example, the ChartThemesReport from the JasperReports IO repository has a parameter called chartTheme, which controls the color pallette of the chart being displayed. Notice the camel case name of the report parameter. Using a shortcode parameter with the same name should be used to pass the value of this report parameter to the JasperReports IO microservice, but it will be converted to lower case automatically by Wordpress and thus would not be recognized by the reporting service.
     36
    3537This is why we use the mappings shortcode parameter to indicate that charttheme shortcode would correspond to the chartTheme report parameter.
    3638
  • jasperreports-io/trunk/readme.txt

    r2283414 r2283438  
    3232If the JasperReports IO report or data visualization has parameters of its own, you can pass values for those using shortcode parameters having the same name as the respective report parameters.
    3333However, since shortcode parameters are case insensitive, for camel case report parameters, a special report name mapping shortcode parameter called mappings needs to be used.
     34
    3435In the following example, the ChartThemesReport from the JasperReports IO repository has a parameter called chartTheme, which controls the color pallette of the chart being displayed. Notice the camel case name of the report parameter. Using a shortcode parameter with the same name should be used to pass the value of this report parameter to the JasperReports IO microservice, but it will be converted to lower case automatically by Wordpress and thus would not be recognized by the reporting service.
     36
    3537This is why we use the mappings shortcode parameter to indicate that charttheme shortcode would correspond to the chartTheme report parameter.
    3638
Note: See TracChangeset for help on using the changeset viewer.