This document describes the properties of a page. If you want to see what pages are for and what kind of widgets can be placed on them, please read the Pages overview documentation.
The name of the page. You can change the name via the project explorer.
This property can be used to store developer documentation. End-users will never see this documentation.
The class property allows you to specify a cascading style sheet (CSS) class for the page.
The style property allows you to specify custom cascading style sheet (CSS) rules for this page. If a class is also specified, this styling is applied after the class.
This will result in a blue background
The canvas width property defines the width in pixels of the page in the page editor. It is purely used for editing purposes; this property has no effect on the actual application.
Default value: 800
The canvas height property defines the preferred minimum height in pixels of the page in the page editor. It is purely used for editing purposes; this property has no effect on the actual application.
Default value: 600
The title of the page that is shown using the page title widget. If the page is shown in a pop-up the title appears in the title bar of the pop-up. The title can be overridden from places where forms are opened to make it possible to reuse a page for different purposes. For example, a Grid New Button and an Edit button can refer to the same page but override the title to ‘New’ and ‘Edit’ respectively.
The layout that this page is based on.
Added in Mendix 6.7.0
The URL of the page can be used to directly navigate to the page, e.g. from external links or bookmarks. It will be shown in the address bar of the browser when you visit the page. When navigating to a page without a URL configured, the last visited URL is shown. Note that the full URL of the page will be the base URL of your application followed by
/p and then by the configured URL of the page, e.g.
http://example.mendixcloud.com/p/home_page. Only pages that do not need an object can have a URL.
See also Module Security.
The pop-up properties are only relevant for popup pages, as opposed to content pages.
Width (in pixels)
Specifies the pop-up width in pixels. When set to 0, the width is determined automatically.
Default value: 0
Height (in pixels)
Specifies the pop-up height in pixels. When set to 0, the height is determined automatically.
Default value: 0
Specifies whether the pop-up is resizable (Yes) or fixed-size (No).
Default value: Yes
Configures the behavior of the popup close button (the little cross in the top-right corner). The default behavior of the popup close button is to rollback any changes and close the popup. If you want to customize the behavior of the popup close button, you can point to a button on the page. When the popup close button is clicked, it will then act as if the selected button is clicked. If the selected button is not available the popup close button will revert back to the default behavior.
Default value: Default (cancel)
Mark as used
You can search for unused items (Ctrl+Shift+F, Search for = Unused items) in the Modeler. Pages that are only used from Java code will be listed as unused because the Modeler cannot look inside Java source code.
By setting the propery ‘Mark as used’ to ‘Yes’ you specify that the document is used implicitly and the Modeler will no longer list it when searching for unused items.
Default value: No