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

Collapse
Posted by Don Baccus on
Well...the form builder was designed to handle forms and their submission, the very name makes its intended purpose clear.

If it were me I'd probably have written something called "ad_display" that among other things might give me more control over the display format than "ad_form" in display mode does, rather than hack on the form builder and ad_form ...

At some point, when you kludge everthing including the kitchen sink into a single snippet of software, it reaches the point where it becomes nearly impossible to understand, document and maintain.

Collapse
Posted by Jeff Davis on
At some point, when you kludge everthing including the kitchen sink into a single snippet of software, it reaches the point where it becomes nearly impossible to understand, document and maintain.
Then you start adding things from in the yard and left overs from thanksgiving and name it "ad_form"...

:), well sort of anyway.

I do think one problem with having ad_form be the primary display mechanism for objects is that designers have very little control over presentation. Obviously in some contexts (objects that are dynamically defined) there is no easy way to do that, but for things where the fields are know it's probably better to have a simple select and display tcl/adp pair.