Danny Waldmann wrote:
> 
> Hi! 
> 
> I want to ask if there is some sample code to access content in the
> repository in Apache Lenya 2.0. I searched but did not found anything like
> that. 
> 
> Thank's in advance.

such a thing would be nice to have... should go into
http://lenya.apache.org/docs/2_0_x/reference/repository/index.html
currently, it contains a list of objects related to repository
management that might help you get started (in combination with the
javadocs).

danny, my standard reply would be UTSL, but it can be a little dangerous
with lenya, because i fear we might be using deprecated or hackish
access methods internally in some places...

i hope i'll find time soon to create a generic editor handler, at which
point i'll have to learn to work with our repo - some documentation
fallout might result. but don't hold your breath.

andreas, you being the repository man: can you maybe name a source file
that demonstrates how to get, store, update, lock, whatever, documents
in the repo in a concise manner, according to current best practice?
that would be a valuable starting point. the concepts page you mentioned
is really scarce indeed, and for example does not demonstrate locking.


-- 
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

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

Reply via email to