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

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?