Parameters passed from the sitemap to the flow functions are not
strings. Here's an example:
<map:match pattern="test">
<map:call function="test">
<map:parameter name="param" value="testval"/>
</map:call>
</map:match>
function test(param) {
if (param == "testval") { /* THIS TEST FAILS! */ }
if ("" + param == "testval") { /* THIS TEST SUCCEEDS! */ }
}
MHO is that sitemap parameters should be converted to strings before
being passed to the flow. What do you think?
Ugo
--
Ugo Cei - http://www.beblogging.com/blog/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]