Forum OpenACS Development: Re: ad_form for new and edit requests

Collapse
Posted by Ola Hansson on
Sorry. That was the .adp part.

This is a better page:

http://cvs.openacs.org/cvs/openacs-4/packages/curriculum/lib/element-ave.tcl

Collapse
Posted by Joel Aufrecht on
Ola, I've looked through the examples and I'm afraid I still don't understand how the form differentiates between edit mode and view mode.  I can see that the form magically does this, but I don't see how to override it (for example, to make to links to an object, one a view link and one an edit link) or how to get access to this information within the form's code.  I only see where you differentiate between add mode and edit mode.  I see where you figure out that you're in display mode, but that applies to both edit and view, right?