Hi,
I have a sitemap pipe:

<map:match pattern="**artistImage/*/*/*/*.jpg">
<map:call function="svg">
<map:parameter name="imageNum" value="1"/>
<map:parameter name="artistID" value="45"/>
<map:parameter name="svgWidth" value="100"/>
<map:parameter name="svgHeight" value="100"/>
</map:call>
</map:match>

which, as can be seen, makes a flowscript function call. within the function i read in the values as:

function svg() {
var svgWidth = cocoon.request.get("svgWidth");
var svgHeight = cocoon.request.get("svgHeight");
var imageNum = cocoon.request.get("imageNum");
var artistID = cocoon.request.get("artistID");

.....................


cocoon.sendPage("generateSVG", {"svgWidth":parseInt(svgWidth), "svgHeight":parseInt(svgHeight), "base64":base64, "imgWidth":imgWidth, "imgHeight":imgHeight});
}

The problem I am having is that all the values read into flowscript are null! What am I doing wrong here??

Peter

Reply via email to