I'm experimenting with the Canvas feature, and embedding it in a Visualforce page, from where I hoped I would have some control over the canvas.
Now, the apex:canvasApp has a property called parameters and it's description says that they're parameters passed to the canvas app.
When I don't use the parameters attribute the canvas page draws normally, and using firebug I can see the call to the ip address of the canvas app. But for it to be useful to me I need to pass some parameters to the canvas page and when I do use the parameters attribute the canvas simply does not show, and in firebug it does not show any call to the ip of the canvas.
How are these parameters passed or how can one catch them? Using firebug, in the call to the ip of the canvas app, I can't see any of the parameters that I'm trying to pass.
Here's the simple code I'm experimenting with:
<apex:page >
<apex:canvasApp applicationName="Test Canvas" height="400px" width="750px" parameters="{vst_cli: '1293'}" />
</apex:page>
Inside the parameters attribute I've tried some different things:
"{vst_cli: '1293'}"
"{vst_cli: 1293}"
"{'vst_cli': '1293'}"
All of which had the same effect.
Any help or pointers will be welcome.
Thanks in advance.