BEE and HTML
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    > BEE Commands
    > Database Operation
    > Content Management
    > Objects and Classes
    v Interface with others
       o BEE and HTML
       o BEE and JavaScript
       > BEE and PHP
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> Interface with others >> BEE and HTML <=  =>      <  1  >  
BEE interface with HTML

Every BEE Command got a BEE Tag form of which the format is similar to HTML Tag.  Its usage with HTML is limited only by the programmers imagination.  For example, you can maintain the form context by inserting the BEE Form Variables:

<input type=text name=GivenName value="${sys%form:GivenName}"><br>

<input type=text name=Surname value="${sys%form:Surname}"><br>

<input type=text name=Age value="${sys%form:Age}"><br>

<input type=text name=Title value="${sys%form:Title}"><br>

 

To keep the <select …> tag value is straight forward in BEE:

<bee var=sel:{sys%form:Title} value="selected">

<select name=Title>

<option value="">--select Title--</option>

<beeforeach "(array)Mr,Ms,Mrs,Miss,Dr">

<option value="${foreach}" ${sel:{foreach}}>${foreach}</option>

</beeforeach>

</select>

 

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