To get out multiple values, you need to call String foo[] = data.getParameters().getStrings("test");


On Friday, October 3, 2003, at 01:55 PM, Gaasch, Derek wrote:


Nope. When I try and get the value of test on the destination page with:

$data.Parameters.test

after doing what you suggest

$link.addPathInfo("test","1").addPathInfo("test","2").addPathInfo("test "
,"3")


I only get "1"

Other suggestions?

-d

-----Original Message-----
From: Gary Baker [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 2:41 PM
To: Turbine Users List
Subject: RE: Pass array of values as parameter in URL

I believe it's just
$link.addPathInfo("test","1").addPathInfo("test","2").addPathInfo("test "
,"3")


-----Original Message-----
From: Gaasch, Derek [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 1:43 PM
To: 'Turbine Users List'
Subject: Pass array of values as parameter in URL



Hi -- I cant figure out how to correctly pass a multivalue parameter in
a url. In HTML it's something like
http://www.blah.com?test=1&test=2&test=3
for instance... but it doesn't seem like there's an obvious way to do
this with $link.addPathInfo() or something similar. Am I missing
something obvious? If so, what is it? If not, how have others gotten
around this problem?

Many thanks.

-d

---------------------------------------------------------------------
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]

---------------------------------------------------------------------
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]



Reply via email to