Forum OpenACS Development: Re: Automatic form generation revisited

Collapse
Posted by Randy O'Meara on
I've kind of wandered into this space (auto form generation) and read this thread and the one that Tammy referenced above. I looked for Lars' simulation/www/object-edit.tcl in CVS and didn't see it, so I don't know what direction he's heading.

In the mean time...

Tammy, can you send (or point me toward) the sample code you've developed?

Thanks,

Randy

Collapse
Posted by Randy O'Meara on
Thank you, Lars. This looks like it will be helpful.

Randy

Collapse
Posted by tammy m on
Randy,

I'll package this up and send it to ya. I can't claim I developed it as most of it came from Deds Castillo's Classified Ads package that I got a copy of. I just pulled it out of the Ads package and threw together a package that only had the CMS and FORMS related stuff in it, in a more generic format. I have to mention that I have altered my base OACS code in some minor ways and you might run into that (added optional parameters to some template::form procs so I wouldn't have to have to do things like check if a form element existed for every element when inserting/updating a form in the db). I really should clean that up and I mean to try to take a look at those cases and keep my OACS base code more compatible with the "real" base... some day...

In the meantime, I'll send ya a tar of the package. I'm on OACS 4.6.1 btw.