Dashboard, Summary, Select and Edit Pages

posted Mar 27, 2012, 7:43 PM by Eric Patrick
Each class should include the following XSLTs:
  • {Table}.Home.xslt: this is the entire home page, or dashboard, for a class. At a minimum, it should include a Search panel
  • {Table}.Summary.xslt: this is the entire page for a single record, including child panels
  • {Table}.Select.xslt: this is a partial page for a single record, displaying the key information for a record
  • {Table}.Edit.xslt: this is a partial page for a single record, allowing inserts and updates to a record
An XSLT that is an "entire" page emits:

<html>
<head>
<xsl:call-template name="Head" />
</head>
<body>
<xsl:call-template name="MainMenu">
<xsl:with-param name="Object">Organization</xsl:with-param>
</xsl:call-template>
... main content here ...
</body>
</html>

An XSLT that is a "partial" page is loaded via an AJAX call or <xsl:call-template> call.

The Home and Summary pages should be "entire" pages, while the Search, Select and Edit should be partial pages.


Comments