Thib wrote:
Hi,

I'm using tdk 2.2 ( I know it's an very old version but I can't migrate to
Turbine 2.3 ).

We installed the web application under a Http-Reverse-Proxy but the web app. doesn't work because all the link are absolute. I read that by default the
$link parser generate absolute link as
http://serverAdress:Port/myApp/servlet/myApp/template/MyPage.vm.

I found a solution in the turbine mailing list here :
http://mail-archives.apache.org/mod_mbox/jakarta-turbine-dev/200307.mbox/[EMAIL PROTECTED]<http://mail-archives.apache.org/mod_mbox/jakarta-turbine-dev/200307.mbox/[EMAIL PROTECTED]>

It's specified that the following properties make the $link tool generating
relative link :

 +tool.content.want.relative = false
 +tool.link.want.relative = false


I try to use it in my configuration but it doesn't work.

One solution can be to implement a new $link tools but it will be very hard
for me :(

What do you think about this problem ? The $link configuration has always
exist or it is present only in the last version ?

Thanks a lot.

Best regards

HI

 I have never dealt with your exact problem, but would this work?

In your Velocity Template....

$link.setPage('something').setAction('something.ReqFormAction').getRelativeLink() $link.setPage('something').setAction('something.ReqFormAction').getAbsoluteLink()

Hope this helps
AFrieze

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to