Does the object returned by the link tool reset itself after the
toString() method is called? Here is an example of this very thing
happening (or so it seems):
----------------------------------------------------------
Source code of ProductsAndServices.html:
#set ($psLink =
$link.setPage("ProductsAndServices_Template.html").addPathInfo("id",$ps.product))
...
<a href="$psLink"
onClick="PSInfoWindow =
window.open('$psLink.addPathInfo("popup","yes")','PSInfoWindow','$newWindowSettings');
return false;"
...
Generates the following output:
...
<a href="http://servername/nw/s/template/ProductsAndServices_Template.html/id/1152"
onClick="PSInfoWindow =
window.open('http://servername/nw/s/popup/yes','PSInfoWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=300');
return false;"
...
---------------------------------------------------------
sorry for the line wrapping :-)
Anyway, as you can see, the second time $psLink is used, we are trying
to add something else to the PATH_INFO. However the template name and
previous PATH_INFO goes bye-bye.
Thanks,
--
\ Craig Patrick McDaniel
/_\ Software Engineer
/_/_\ n + 1, Inc.
/_/_/_\ [EMAIL PROTECTED]
/_/_/_/_\ (502) 479-5557
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>