Zamek wrote:

Hy All,

There is a problem in my Velocity pages. Forexample:

$link.setPage("forum,TopicList.vm").addPathInfo("catid", $catid) result is:

http://localhost:8080/portal/servlet/portal/template/forum%2CTopicList.vm/catid/1/template/forum%2CTopicList.vm/catid/1
_________________________________|_____________1st________________|_____________2nd________________


why does it duplicate parameters?


I do not know why it duplicates, but for sure you should use it like that:

$link.addPathInfo("catid", $catid).setPage("forum,TopicList.vm")

addPathInfo first, setPage after that.

regards - michal





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



Reply via email to