view()- returns a
ViewUrlBuilderfor the specified view with the following methods:
withComponent(component)- creates a view URL with the specified component in focus.
url()- gives the final URL of the view.
url- the URL to redirect the browser to.
reportName- Name of the report. In a dialog with the report, the name of the report will be in the title bar.
data- A map with data elements that can be referenced by the STML.
.stripMargin()call. This is a Groovy function for strings that strips leading whitespace/control characters followed by '|' from every line. This way, indenting can be retained without introducing leading whitespace in the STML.