Try this:

<template:field name="TestURL" display="false" valueBeanID="testURL"/>
<a href='${testURL.url}'>...</a>

Just be careful, that in the next release this will be changed and you will
have to use:
<a href='${testURL.page.url}'>...</a>

Regards,
Benjamin

2009/3/11 MesDocs ParMail <[email protected]>

> Hi,
>
> I'm currently developping a template container which description is
>
> [my_templates:TestContainer] > jnt:container
> smallText               TestTitle
> bigText         TestDescription
> page                 TestURL (page[type="internal,external"])
> file                    TestFile
>
> In my page, I'd like to have the output
>
> <a href=' theReference'>TestTitle</a>
>
> with theReference containing the TestFile downloadUrl or the  TestURL url
>
> has anybody an idea how to get a page url ?
>
> Regards,
>
> Mesdocs
> _______________________________________________
> template_list mailing list
> [email protected]
> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
>
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Reply via email to