Adding Caja to a Gadget

To add Caja capabilities into an OpenSocial gadget, we can leverage the feature to include abilities in the gadget XML specification. We do this by embedding a Require statement for the Caja feature within the ModulePrefs of an OpenSocial gadget.

<ModulePrefs>
 <Require feature="caja" />
</ModulePrefs>

This will include the Caja JavaScript libraries that provide the capability to cajole a gadget’s views.

Note

Caja is a standard feature available within Apache Shindig 1.1.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.111.179