Forum OpenACS Development: Re: in HEAD packages/dynamic-types/tcl/form-procs.tcl ...

Collapse
Posted by Jim Lynch on
Heya Dave,

I'm hitting the submit button on changing the name of a form... it goes to edit_data of the form_name form which calls this proc...

The object_type var is defined in the calling frame... but what confuses me is it's not passed into the function. I guess we could upvar it, but isn't it better to pass the value into the func as a parameter?

My question REALLY is: what was the original intent as far as gaining the value of object_type for the purpose of getting it into an event which is fired off?