Kevin Brown wrote:
A far more appropriate solution is probably to enhance the
content rewriter that Louis has written to support cajoling as
one of the rewriting options.
Where does that code live?
.../gadgets/rewrite/...
How would that option be specified?
I think gadgets should be flagged as cajolable externally. Anything else
would require spec changes or being non-standard.
What do you mean by "flagged as cajolable externally"?
In practice, it seems to me there are three scenarios:
1. Container allows gadgets to choose freely whether they are cajoled or
not (more likely a sandbox than a live server).
2. Container forces Caja on all gadgets.
3. Container forces Caja on all gadgets except a whitelist (and those
might choose to be Cajoled after all).
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html http://www.links.org/
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff