Thorsten Scherler wrote:
El sáb, 25-02-2006 a las 02:07 +0100, Thorsten Scherler escribió:
can you explain a bit more? Maybe give a real-world example?
Well, I am researching to extend lenya with a mediaType resource type.
Above interface is responsible to add assets (resources) to lenya. If
you add an asset then you add as well some meta data (e.g. height)
regarding the asset.
Now in the case of mediaType documents you need this information in
the
meta data of this doc. The now implemented code change allows to pass
any metada to the ResourceManager and storing the asset information as
well there.
I don't see why this can't be handled by the previously available
methods. What is the additional meta data parameter good for?
Is this the CustomMetaData object of the Document? Shouldn't this
rather be handled by client code?
BTW, the new code in DefaultResourcesManager contains some 2-space
indentation lines and inline Strings ...
-- Andreas
--
Andreas Hartmann
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]