Forum OpenACS Development: /o support

Collapse
Posted by Malte Sussdorff on
I'm on the brink of quickly hacking the /o support together. Here is my approach:
  1. Create an acs-object package (feel free to provide better names)
  2. Have two files in it: /tcl/callback-procs.tcl with the definition of the callback with one parameter: object_id.
  3. /www/index.vuh looks at the object type of the object_id and calls the implementation for that object type of the hook .
  4. For each object type where I want this working I create a callback implementation that redirects the user to the proper page.
Did I miss something? Has anyone done this already? Objections, comments?
Collapse
2: Re: /o support (response to 1)
Posted by Malte Sussdorff on
Okay, it is already in acs-subsite and I added callback support in additon to the service contract support that was already there. Callback is called subsite::url.