hi,
it remains pretty simple :)
regards
Thomas
function intercept() {
var backgroundVariable = '#44ffFF';
var text = String(new Date());
cocoon.sendPage("generate.image", {
"background" : backgroundVariable,
"text" : text,
"size" : 55.3
});
}
pub
Ah...Beautiful! Thank you for providing a working sample! Awesome!
But what if I wanted to perform check against values in cocoon.session,
cocoon.context or perhaps business logic? What I'm thinking of is to
intercept the request in sitemap.xmap like this:
Then I would have a flowscr