There are some predefined variables that you can use in TEAPOT:
- {_siteurl}: The SiteURL variable in the Portal Object
- {_recordpath}: The record path to the TEAPOT page (a data field)
- {_pagebar}: The page navigation bar if the data set is larger than the page size
- {_new}: The word "new" for record adding form, or null otherwise.
- {_addbutton}: The "Add" button when application, or null otherwise.
- {_updatebutton}: The "Update" button when application, or null otherwise.
- {_deletebutton}: The "Delete" button when application, or null otherwise.
An example for _siteurl and _recordpath, if {_siteurl} is "http://www.mysite.com/sub/" and {_recordpath} is "fiction/thering.htm", the TEAPOT page is at "http://www.mysite.com/sub/fiction/thering.htm".
|