Hi All, 2003. augusztus 9. 12.37 dátummal Michal Frackowiak ezt írta: > 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 I tried this, but nothing to change except template and params reordered: http://localhost:8080/portal/servlet/portal/catid/1/template/forum%2CTopicList.vm/catid/1/template/forum%2CTopicList.vm
Duplicating is remaining :-( -- bye, ---------------------------------------------------- Zoltan Zidarics programmer PTE University Pecs, Hungary icq: 43288694 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]