- Thanks to the invaluable help from daveb, custom fields now working, including updating of values, which wasn't working in the original version, so fixed that bug too. - Revert widget-procs.tcl to generating template::element calls instead of an ad_form -extend block, because that gives users customizing the package (in the future) to have their own -validate block in the ad_forms present.
- Problems with ad_form (custom element not visible) - Modified get_widget_param to generate ad_form statements instead of template::element::create in attempt to fix the problem. Worked partially. - Modified ad-one accordingly.
Now the problem seems to be that a custom element is available in the -edit_request block, but for some reaons that element (which was added through ad_form -extend) is not available in the -edit_data block.