I've tried posting this question posed a different way, and got no response. I'll try to reframe the question to see if Jeff Potts or somebody else can point me in the right direction.
I've extended the folder model with custom metadata - specifically, "wiki content" as a custom model called custom:wikifolder. I've already figured out how to get the new metadata field to show up on the folder details page, and I've even gotten it to show a wysiwyg editor to add rich content into the metadata field, again on the folder details page. However, what I really want to do is show the metadata in the document library while browsing for files; if a folder has wiki content metadata, that content will be shown above the file list in the browse view.
I have figured out a partial solution using a third party extension, but I don't think it's working well enough as I'm having some other problems with it, and I'd rather use vanilla Alfresco without having to resort to an extension.
If I want to add this metadata to the Document Library while browsing, I think it needs to go into the "toolbar" @region of the documentlibrary template. So I think if I create a "component", I should be able to register it to place it's content into the "toolbar" region. Probably this component will have to have ajax files with it to render the region after each browse event, but I'm not sure what is needed and how it needs to be structured. Or is there another way? I would like to keep the solution purely to xml and FTL/HTML/Javascript, no Java if possible.
I want to show the metadata in the documentlibrary (#1) ONLY when the folder is of type custom:wikifolder, (#2) with inline editing capabilities , (#3) using the same/largely the same javascript files that the Wiki module uses. I might be able to work out #3 on my own as that is more my expertise than all of these XML configuration files per se.
I'm hoping somebody can tell me the right way to do this. I've gotten tantalizingly close, got the data structured right I think, but working with the template system / regions / etc is proving extremely difficult.