Master Templates

Last Updated: 9/16/2008



Sections above here:
Home  »  Development  »  Layout Managers and Templates

Sections below here:

    Topics in this section:
    Layout Managers and Templates
    HTML Templates
    Master Templates

    Search Documentation:

    While Form Templates already give a lot of flexibility, Master Templates even add more power, especially if you have many forms  and or templates.

    ServerController.MasterTemplate (MasterTemplate32 for PDA / HTML3.2 mode) allows you to set a template which will be used for all forms in your application. This technique can be used for example if all of your forms should follow the same corporate layout rules. You can design the master template so that it serves as a container for all of your "regular" form templates.

    The actual Form Template will be merged into the Master Template. The resulting template will have all headers of both templates, the body is taken from the Master Template and the body of the Form Template will be merged exactly there where you specify "$body" (without quotes) in your Master Template.

    Sample Master Template

    <html>
    <head>
    <title>my company - ">Visual Form Inheritance



    (C) 2002-2009 - Atozed Software Ltd.