Meta Templates  
 
 
|Template control
 
1
2
  zeroCode generates a number of HTML pages for each table that you have included in the schema that you used for site generation. These pages are called templates, since they include the HTML that you will see in the browser when you hit your site, the JavaScript that is automatically generated for validation and nifty things like date control and, in addition, tags in FreeMarker, an open-source language that is very effective in separating front-end processing from back-end objects.

Meta-templates are files that zeroCode uses to generate the templates in the auto-generation sequence. For example, one particular meta-template - the "List" meta-template - is used to generate all templates for the List pages for each table. Modifying a meta-template is an easy way to modify the look and feel of many pages at once. Meta-template modification is not a very simple task, though, since it includes both run-time template language and gen-time template language. This can get confusing - make sure you understand the syntax and that you have a back-up of the meta-template the first few times you try this!

In most situations, though, you don't need to do this - you can make large-scale UI changes by editing the templates themselves. Click here for more help on editing templates and meta-templates. Here are a few details of templates and meta-templates.
   
 
Template control
    zeroCode uses meta-templates to generate templates from UDMs
    Meta-templates include control structures and variables
    Templates are processed to include data values at run-time via FreeMarker
    Extensions like list element access and string and integer operations can be added easily.
     
  Editing Meta-templates
    Meta-templates include  
    Gen-time FreeMarker
    Run-time FreeMarker
    Gen-time special variables
    Pointers to run-time variables
    Run-time HTML and JavaScript.
       
    Some Meta-template types: Add, Browse, Custom, Edit, List, Search, View.
Some template types : Banner, ErrorPage, HomePage, Login, Logout, Menu.
       
 
1
2