OpenACS ad_page_contract


.tcl pages name their inputs in arguments to the ad_page_contract procedure. ad_page_contract is a mechanism to protect our application against the hostile internet. Pages expect to receive certain inputs. A call to ad_page_contract can range from extremely simple to extremely complex

Sample Code

ad_page_contract  {
    Some documentation.
    @author me (my@email)
    @cvs-id $Id$
} {
    foo
    bar:integer,notnull,multiple,trim
    {greble:integer {[expr {[lindex $bar 0] + 1}]}}
}

References

  Contact Us
  Project Open Business Solutions S.L.

Calle Aprestadora 19, 12o-2a

08902 Hospitalet de Llobregat (Barcelona)

Spain

 Tel Europe: +34 609 953 751
 Tel US: +1 415 200 2465
 Mail: info@project-open.com