[Hippo-cms7-user] Link to a file in the repo directly from a JSP

Ard Schrijvers a.schrijvers at onehippo.com
Thu Apr 28 09:29:54 CEST 2011


Yes. If you know the (absolute) path to the binary in the repository,
you can use

<hst:link var="binLink" path="/binaries/${absPathInTheRepositoryToBin}"/>

Thus, use 'path' attr and prefix it with /binaries

Regards Ard

On Thu, Apr 28, 2011 at 9:21 AM, Asmann, Roland <Roland.Asmann at adesso.at> wrote:
> Hi all,
>
> Is it possible to link to a file in the repo (in my case a
> JavaScript-file) from the JSPs that are used to render the page?
>
> How can I do this?
>
> --
> Roland Asmann
> Senior Software Engineer
>
> adesso Austria GmbH
> Floridotower 26. Stock              T +43 1 2198790-27
> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
> A-1210 Wien                         M +43 664 88657566
>                                    E roland.asmann at adesso.at
>                                    W www.adesso.at
>
> -------------------------------------------------------------
>             >>> business. people. technology. <<<
> -------------------------------------------------------------
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>



-- 
Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco 755 Baywood Drive, Second Floor •  Petaluma, CA.
94954 •  +1 877 414 4776 (toll free)
Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
H2T 1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
________________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.



More information about the Hippo-cms7-user mailing list