Data can be created and presented using TEA (Text Edit Area). This is an exploitation of the BEE variable structure, the curly bracket syntax.
A variable name surrounded by a pair of curly brackets will evaluate to its value. e.g. {Price}. If the name is followed by an equal sign and a value, the variable will be set to that value. e.g. {Price=9.95}.
TEACUP (Text-Edit-Area Created and Updated Properties) makes use of the {name=value} syntax so that the web owner can enter data into the TEA. The web site will pick up the values via the session%teacup:name variable.
TEAPOT (Text-Edit-Area Presented Object Template) makes use of the {name} syntax only, as the value of such variable is preset by the previous process, usually a database search. The web site will pick up the values via the session%teapot:name variable.
All these are handled transparently by the Portal Object, so there is no need to program TEACUP or TEAPOT in your web page.
|