Misha, If I am correct you need the resource service from the CMS context. In our portlets we use "getCMSRequestContext().getResourceService()" when we need to access the preview branch in the repository.
I hope this is helpfull to you. Kind regards Nico Tromp On Thu, May 7, 2009 at 4:13 PM, Andriesse, Mischa < [email protected]> wrote: > Hi All, > > In a jsp page, I need to get the metadata from a binary file in the > repository. The binary is stored at > /default/files/default.preview/binaries/... > But the root path of the DocumentPath of the RepositoryBean is set to > /default/files/default.www/ > How can I access the metadata of the binary file from the jsp page? > > drs. M S.P.(Mischa) Andriesse > Consultant > > KPMG CT Information Technology B.V. > Handelsregister 33294091 > > Churchillplein 6 > 2517 JW Den Haag > > Tel +31 70 3382239 > Fax +31 70 3382177 > Mobile +31 6 26086836 > > [email protected] > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
