Re: How to access WEBDAV content from within a template?
Stéphane Croisier <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
You have an example in the Corporatev2 templates in the CVS (WebDAV template): http://svn.jahia.org/svn/corporate_portal_templates_v2/ Should be now included in the latest nightly builds of Jahia 5.0. /SC At 11:23 08.02.2006, you wrote: >Hello, > >In a template, I want to list the content of a given WEBDAV directory. I >tried to access the directory via the Apache Slide/Webdav API (class >WebdavResource), but to use this, I need to have the current user's >password. Is there a way to retrieve this password? > >Or is there perhaps another way to access Webdav content? For example, in >the file chooser popup window/engine, I noticed that the user can see and >use files according to his permissions on them, without having to enter his >password again. Does anyone know how this is done, and if this can also be >used from within a template? > >Thanks in advance. > >Regards, >Juliette - -- --- -----=[ scroisier at jahia dot com ]=---- --- -- - CEO - Jahia Ltd, 45 rue de la gare, 1260 Nyon (Switzerland) Jahia : The Java Unified Web Platform www.jahia.org - The community and product web site www.jahia.com - Our commercial services company www.collaborativesource.org - The Collaborative Source Initiative