[opencms-dev] Links in JavaScript Files

weily li weily.li at gmail.com
Wed May 23 03:10:10 CEST 2007


Yes, create it as a jsp file. then you can use the tag freely.


On 5/21/07, Martin Hoeller <martin.hoeller at xss.co.at> wrote:
>
> Hi all!
>
> I've got a site that uses some JavaScript code. Most of it is available in
> separate .js files which are included by the corresponding HTML pages and
> JSPs.
>
> However, the JavaScript code has some links included which should be
> wrapped
> in a <cms:link> tag or something. What is the best way to achieve this?
> Should I create .js-files as JSPs? Or is there a more elegant/better way?
>
> best regards,
> - martin
> --
> Martin Höller                   | martin.hoeller at xss.co.at
> *x Software + Systeme           | http://www.xss.co.at/
> Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
> A-1100 Vienna, Austria          | Fax: +43-1-6060114-71
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070523/db852aa7/attachment.htm>


More information about the opencms-dev mailing list