Andreas Hartmann wrote:

I'd rather have the following methods:

  DocumentManager.add(document, documentType);
  DocumentManager.add(document, documentType, sourceDocument);

where the second one clones a source document.

+1

AFAICT the only problem is the call to the site manager, which throws an exception if triggered by a blog entry creation, since blog does not have a site manager.

Then we should implement a site manager which does not restrict the site structure (mostly emtpy method bodies). What I'm still missing is a reasonable class name ... :)

strong +1

every publication should leverage the facilities of the site area, no matter the underlying sitetree implementation

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to