Forum OpenACS Q&A: Re: Development Tutorial Available

Collapse
Posted by Randy O'Meara on
Another correction:

in note-delete.tcl:

set title "Delete Note"

if {[exists_and_not_null >>>>confirm<<<<]} {
    # if confirmed, call the database to delete the record
    db_1row do_delete { *SQL* }
...

<blockquote>>>>confirm<<<< should be confirm_p
</blockquote>

In addition, I see a complaint in the log when this first portion of the conditional is invoked (after the confirmation dialog) indicating that form "note-del-confirm" is not defined. This makes sense in that the adp file is referencing this form and it really hasn't been defined by the tcl file. How is this normally handled?

Randy