Search code examples
xpagesxpinc

xpages how to set title to be displayed in browser window


Is there any chance to set a title (for a XPiNC application) to be displayed in the browser window - title?

Currently, the title is changing while the users navigate from one xpage to another xpage. Is it possible to put a constant title?

Thanks for your time!


Solution

  • Add a title to your XPage at Properties tab "XPage". You can add a string there or calculate a title.

    enter image description here

    The title is visible in XPiNC and browser.

    If you want to set the same title to all XPages then define it in a theme: https://stackoverflow.com/a/11802089/2065611.