PageInfo Properties |
The PageInfo type exposes the following members.
Name | Description | |
---|---|---|
Attributes | The PageInfoAttrs associated with this item. | |
BasePageID |
The BasePageID of the page, if a base page is used, else null.
Base pages provide a basic inheritance capability allowing other pages to inherit a base page's
page elements and properties. Base pages themselves cannot be instantiated.
Check IsBasePage to determine if this page is a base page.
| |
CloneStatus | The clone status of this pageinfo object. | |
ComponentID | The component to use to render this page. This is the ID to the Template used on the page. | |
Device |
Gets/Sets the Device value. Note that this is the SAME value as ParamText and is preferred over ParamText.
Device specification on pages allows the application to tailor pages to the real-estate limitation of different devices such as mobile and tablet devices. Page Overloading can achieved by specifying Device and/or Priority. When a user logs in with roles that allow access to multiple pages with the same MOP then Device and Priority are used to determine which of these pages is to be used. If a particular Device matches the current device then that page is favored. If multiple pages with the same (or no) Device are available then Priority is used to disambiguate with the highest Priority number favored. | |
Elements |
The PageElementInfos collection of PageElementInfo objects for this page.
This object is not loaded until it is requested via this method.
Every page must have at least one PageElementInfo associated with it. Note, however, that one or more PageElementInfo objects may be inherited from the page's base page (BasePageID). | |
ID |
Returns the page_id
| |
IsBasePage |
True if this page is a base page.
Base pages provide a basic inheritance capability allowing other pages to inherit a base page's
page elements and properties. Base pages themselves cannot be instantiated.
If this page uses a base page then BasePageID will be set.
| |
MapperKey | The unique key to the Mapper to use for this page. | |
Module | The module for the page. This forms the 1st half of the MOP, for example "company" in "company!detail" or "company!list". | |
Moniker |
The Moniker is intended to be unique at least within the module. It is used
to differentiate between two pages with the same MOP. For example, there could
be a general contact!detail page for most users and another contact!detail
page for managers only. The Moniker provides a way to differentiate between
the two.
| |
MOP | ||
Name | The name of the page. This forms the 2nd half of the MOP, for example "detail" and "list" in "company!detail" and "company!list" respectively. | |
PageID |
The unique ID for this page. The PageID is provided for internal use and
is not normally used by application implementations.
| |
PageProperties |
Gets the page-instance-specific Properties for this GLOBAL PageInfo object.
An instance of a page object, typically implementing IPageTemplate, references a GLOBAL copy of the corresponding PageInfo
object for the page and any changes to its properties will affect other users and other instances of the page.
The properties collection returned by this method, however, is unique to this page instance and is not shared across page instances for this or for
other users. Upon initial access the returned collection is instantiated and initialized from the page's GLOBAL PageInfo object (generally reflecting the meta-data).
Changes to the collection are NOT passed through to the GLOBAL object.
| |
ParamText | Obsolete. Gets/Sets the Device value. ParamText is provided for backward compatability. (Deprecated) | |
Priority |
The Priority is used to determine which page to use when a particular user
has access to multiple pages with the same MOP. In such a case the MOP with
the highest priority is used. This is called Page Overloading.
For example, there could be a general contact!detail page for most users and another contact!detail page for managers only. If so, priority would typically be set higher on the manager page so that a manager (who is presumably also a user) gets the manager page when navigating to contact!detail. Page Overloading can achieved by specifying Device and/or Priority. When a user logs in with roles that allow access to multiple pages with the same MOP then Device and Priority are used to determine which of these pages is to be used. If a particular Device matches the current device then that page is favored. If multiple pages with the same (or no) Device are available then Priority is used to disambiguate with the highest Priority number favored. A further mechanism for page overloading is available by marking a page as TenantSpecific. Tenant-specific pages are favored over their non-tenant-specific counterparts. | |
Properties |
The page's Properties collection.
| |
Template |
The platform Template to use for this page. The template's ID is ComponentID.
The template should implement the IPageTemplate interface (typically by deriving from NetQuarry.TemplateKernel,
access to which requires referencing the EAP.WebHost assembly).
Custom templates can be created, but generally the following platform-provided templates are used:
| |
TextItems |
The page's localized text.
| |
Version |
Get the scaled version of the IAppContext object.
|