Home Server

Title Of Webpage

edited August 2005 in Server
Hello

I am generating reports in a new window through a webtier. How do I set the
caption of the new window? At the moment, as the report is generating it
says ReportBuilder, then when it has generated, it says LeagueByConsumption
which is the name of my template file

Cheers

Paul

Comments

  • edited August 2005

    The Title is the ReportName, which for a file based report is the file name.

    1. One option is to change the file name.

    2. Another option would be to add some code in the WebModule to modiy the
    html that is sent back to the browser.

    example:

    lsHTML := rsWebTier1.ProcessWebRequest(Request.QueryFields,
    Request.Content);

    lsHTML := {add code to modify the Title element}


    Response.Content := lsHTML;



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.