Page Management

Both v15 and v17 pages can be used and mixed in a single application. The pages themselves however are significantly different.

Rendering

v17 pages render in one of the following methods.

Update Render

When no new page is rendered, but a page needs to update it will update each of the controls individually. This is similar to IntraWeb’s umPartial or AJAX updates.

If the page is a different page then Inline or Full Rendering will be used.

Inline Render

A page will be rendered inline when all of the following are true. Otherwise a page will be rendered full.

  1. The page is not the first (starting) page of a user session.
  2. The previous page is a v17 page.
  3. The page has no matching html loader file. See below for more information about html loader files.

When a page is rendered inline, it will be rendered into the same html target element of the original page. This provides a smooth update to the user without updating the entire page.

Full Render

In a full render, new HTML is sent to the browser and the page is rendered into the HTML page. This causes the entire page to be redrawn by the browser.

When a full render occurs, HTML to load the page is required.

Render Targets

Within a HTML loader file, an IntraWeb page can render itself into various parts of the HTML document.

Body

By default, the entire body of the document will be removed and replaced by the page.

The body will be briefly visible to the user while the page loads, especially on the first page when the libraries need time to briefly load. Thus the body can be used to display a loading message and the default internal HTML loader page displays a default load message. This can be altered with a custom HTML loader.

See Also

  • Page Classes – Properties, events, and methods.
  • Templates – Delphi specific information about templates.
  • Custom HTML Loader – Theme all your pages in an application with a custom HTML loader.