J. Wolfgang Kaltz wrote:

Michael Wechner schrieb:

(...)
if one wants to use Lenya as "DMS" where WebDAV might be handy as well, then it definitely makes sense that also a type "leaf/resource" is supported, e.g. for

offer.doc

cv.sxw

report.pdf


In current Lenya, these would assets, not documents, so created via a different mechanism than the one we were talking about here (the old ParentChildCreatorInterface)


well, I am not talking about the current situation, because the current situation how assets are treated is not very good, because they cannot really be reused, or versioned,
or whatsoever.




it's not a limitation, it's a flexibility with a default setting, but I don't
want to start another religious thread here.




it doesn't offer anything that i can think of. yes its flexible, but useless.




I don't think it's useless at all (see above). Why do you consider it useless?


The thing is that the interface had a parameter of type short, to distinguish between "leaf" and "branch" node, but this parameter had no effect. It was not stored anywhere, nor was it accessed at any point in Lenya.


maybe not within the default or the blog publication, but I guess there used or are
other third-party publications which make use of it

So I have removed it, since IMHO interfaces which suggest some mechanism which doesn't exist are "not a good thing".


if the "API" does provide a method, but the samples don't, then that doesn't mean it's not
being used

If we need to distinguish leaves and branches for editable documents, we will have to see how to implement it; but the current code was not providing this in any case.

Hope that clarifies things


it clarifies why you thought it's obsolete, but I think it should be re-inserted for the reasons of the examples I have provided above.

Michi


--
Wolfgang

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




--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


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

Reply via email to