Version 8.3.3
 —  Working with Pages  —

URL to Choose when Navigating

By the switchToPage(...) and the openPopup(...) methods, a URL is passed as a string parameter to Application Designer for navigation. How can the URL be defined?

You can use relative links as long as the page to which you navigate is in the same directory as the page from which you navigate. This is especially important when navigating between pages which belong to the same application project. See also Application Project Management in the Special Development Topics.

If you want to navigate outside your project, you have to specify a link starting with the document root of your HTTP server. For each application project, a new context path is set up with the name of the project. Navigating from one project's file to another can be done by specifying the full URL like /<project>/<projectfile.html>.

Pages created without the project management (such as the Hello World example) are accessible by the default context /HTMLBasedGUI/.

Top of page