]project-open[ : @This Wiki
Portrait

Welcome, Unregistered Visitor

 · · · Index · Login/Register

Contents

6 registered users
 in last 24 hours

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





Please take a moment to complete this form to help us improve our service.

Did this page help you to achieve your goal?

 Yes  No  Don't know

Please provide us with comments to improve this page:

How useful is the information?

 1  2  3  4  5
Not
useful
      Extremely
useful