Forum OpenACS Improvement Proposals (TIPs): Re: TIP #55 (Proposed) Propigate object_id up through the master templates

Jeff,

Have you looked at providing a namespace variable for this?

content::init and related procedures use this for the item_id and it seems to work well enough.

@namespace::varname@ works just fine in an ADP file.

I think this is a good idea, just wanted to mention another implementation. Most likely it is for another day.

Lars, yeah, it would propigate the entry_id for a blog or the message_id for a forum thread (or single post), the user_id for community_member page, etc.

For multiple items if you wanted to service-y things you would need a service contract (or do the tcl function namespace trick) so this does not address that really.

Dave, I had not really thought about using a namespace variable for it. I guess that would work too although using a property seems to be more in keeping with tradition.

I think using the property object_id is actually bad, and it should probably be "displayed_object" or something like that.