The LinkTool automatically performs URL encoding on query data. The easiest way to avoid it is to add the parameter manually:
$link.setAction('wishlist')?id='+id+' On 12/8/06, Gustavo Straube Pereira <[EMAIL PROTECTED]> wrote:
Hi! I want to parse a link to an action with some javascript variable, like this: var id = 1; window.location = '$link.setAction("wishlist").addQueryData("id","'+id+'")'; I've expected this: '/content/wishlist.do?id='+id+'' But my output looks like this: '/context/wishlist.do?id=%27%2Bid%2B%27' Any hint? Thanks in advance! -- Gustavo Straube Pereira [EMAIL PROTECTED] Nobla Software S/A www.nobla.com.br (41) 3018 3735 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]