Forum OpenACS Development: Re: ad_parameter deprecated in favor of parameter::get?

Collapse
Posted by Bart Teeuwisse on

Jerry,

the solution is simple but requires a slightly different coding practice. First define the namespace like so:

namespace eval mypackage {}

Then create the procedures using their fully qualified name as such:

proc mypackage::get {} {}
proc mypackage::set {} {}

This way etags still works.

/Bart

Collapse
Posted by Jerry Asher on
Thanks Bart,

I'm not sure that's sufficient though -- unfortunately, we also need to cvs::get all the other packages and developers to follow this pattern.