Data Handling
Username:  
Password:
  > Home
> User Guide
> Reference
> Portal Object
v Development Guide
    o Overview
    > A Typical Page (C)
    v Data Handling
       o TEACUP
       o TEAPOT
    > Applications
    > Working BEE


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Development Guide >> Data Handling <=  =>      <  1  >  
To handle instantly created data (TEACUP) and database (TEAPOT)

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.

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd