Re: Streaming buffered image using Cocoon

2011-05-24 Thread Thomas Markus
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

Re: Streaming buffered image using Cocoon

2011-05-24 Thread JeVeoy
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