|
|
|
|
|
PreviousPage (Function) In french: PagePrécédente Returns the name of previous page. The previous page is the page that opened the current page. In AWP mode, PreviousPage always returns an empty string ("").
Ch is string
Ch = PreviousPage()
Syntax
<Result> = PreviousPage()
<Result>: Character string Name of the previous page in uppercase characters if the WLanguage code currently run is:- a page code (opening code, closing code or synchronization code)
- a control code (initialization, click)
- a procedure local to the page
Or an empty string ("") if the page is a static page or if the code currently run is: - the project code.
- a class constructor or destructor code.
- a class method.
- a procedure global to the project.
Remarks - PreviousPage can be used to manage the display of a BACK button in a WEBDEV page. To do so, specify the following line in the server click code of the button:
PageDisplay(PreviousPage())
- Searchable pages: If you are using searchable pages in Session mode, the PreviousPage function must not be used.. Since it is possible to access an SEO-ready page from any other page, the "previous" page will not exist.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|