Hi,

Anyone hit this bug?  When I have a vm file in a subdirectory,
ParameterParser does not pick up on the query parameters if the separator is
a "%2C" instead of ",".

More specifically, given the two URLs below, data.getParameters() has a
value/pair id {id=1}  for URL 1 but not URL 2.  I think it should be the
same.

1:  http://server/turbine/simexpress,Equations.vm?id=1
2:  http://server/turbine/simexpress%2CEquations.vm?id=1

The reason this matters is that $link (TemplateLink) creates URLs of the
second form.

$link.setPage("simexpress,Equations.vm").addQueryData("id","$MyDBRecord.Id")

I temporarily solved this problem by including the parameter in a path info
instead of a query string

$link.setPage("simexpress,Equations.vm").addPathInfo("id","$MyDBRecord.Id")

which produces the URL
    http://server/turbine/simexpress%2CEquations.vm/id/1

and the name/value pair gets picked up by ParameterParser properly.  Is this
what I'm supposed to do, or is this just a bug?


Best, WILL

_______________________________________
Forio Business Simulations
Will Glass-Husain
(415) 440-7500 phone
(415) 235-4293 mobile
[EMAIL PROTECTED]
www.forio.com


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

Reply via email to