setHeadline( )
Sets the headline of a generated report. A headline appears in a job completion notice that iServer writes to a channel.
JavaScript syntax
Java syntax
public void setHeadline( String headline )
A string that represents the headline of a completed job.
Use to specify a headline based on the contents of a report, or on the value of a report parameter.
JavaScript example
reportContext.getAppContext().get("ServerContext").setHeadline("Sales Report for " + params["Region"].value);
Java example
String region = (String)reportContext.getParameterValue("Region")
IServerContext scontext;
scontext = (IServerContext) reportContext.getAppContext().get("ServerContext");
scontext.setHeadline("Sales Report for " + region);

Additional Links:

Copyright Actuate Corporation 2012