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

E-08907 Hospitalet de Llobregat (Barcelona)

 Tel Europe: +34 932 202 088
 Tel US: +1 415 429 5995
 Mail: info@project-open.com