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
- Re: Problem passing parameter values from sitemap into... beyaNet Consultancy
- Re: Problem passing parameter values from sitemap... Alex Romayev
- Re: Problem passing parameter values from sit... beyaNet Consultancy
- Re: Problem passing parameter values from... Johannes Textor
- Re: Problem passing parameter values ... beyaNet Consultancy
- Re: Problem passing parameter va... beyaNet Consultancy
- Re: Problem passing paramete... Johannes Textor
- Re: Problem passing para... Upayavira
- Re: Problem passing para... Johannes Textor
- Re: Problem passing para... beyaNet Consultancy
- Re: Problem passing parameter values from sitemap... Johannes Textor
