I believe a few descriptions of the CompDoc stuff were sent out to the mailing lists as they were developed and contributed. A search of that should get you some quick results.

Unless you're seeing something I'm not aware of a Template is just a template. The Layout editor thing is meant to edit a template Content whose dataResourceId points to the template text (in FTL) and then uses ContentAssoc records to tie it to things that will be inserted in different parts of the template. So, a given template can be used for multiple layouts, each with it's own content inserted in the different places.

This was intended to be a starting point for a web content management system to make it easier to maintain sites and such, or content in an ecommerce site or whatever. The templating stuff could be used for XSL:FO as well for "managed" content there, but the original intent was for web content which is why it does a wrapped preview in the browser on the main layout editor screen so you can edit/replace content in each section of the layout page, etc.

I designed this a long time ago as part of a project for a client and outsourced the work to Al Byers who did the initial implementation. It was developed to the point where it was sufficient for them, and then hasn't really seen any attention since except a little bit of maintenance and modernization here and there, like the stuff you did recently Jacopo.

It would be great to see this developed out and turned into something that could be used to manage custom product pages, policy pages, sales/marketing content, etc.

-David


On Dec 5, 2006, at 6:34 AM, Jacopo Cappellato wrote:

Hi all,

I'm trying to fix some of the issues in the Content application (for example https://issues.apache.org/jira/browse/OFBIZ-263) but I'm facing some problems because I don't quite understand the meaning of some terms. For example: what are "Layout" and "Templates"? What is a "CompDoc"? I think that they are special types of content but I'm not sure. Is there a document/thread or something that I can look at to get more information?

Thanks for any help,

Jacopo

Reply via email to