Table of Contents
OpenAjaxGadgets
A demonstration of qooxdoo applications that can be used as gadgets in mashup applications implementing OpenAjax Alliance standards such as the OpenAjax Hub and the OpenAjax Widget Metadata Specification.
Contains a publisher gadget that sends messages over the Hub and a receiver gadget that displays them.
These gadgets have been tested using the OpenAjax Alliance Reference Implementation.
Installation
This section assumes that you've successfully set up and configured the OpenAjax Reference Implementation (AKA the Sample Mashup Application).
- Use qooxdoo's
create-application.pybuild script to prepare a new skeleton. Useqxpubas the application name. - Copy the contents of
qxpubfrom your OpenAjaxGadgets SVN checkout into your application directory, overwriting any files already present. - Run
generate.py buildto create the deployment version ofqxpub. - Copy
qxpub_oam.xmlinto your application's newly createdbuilddirectory - Create a symbolic link to your
qxpub/build applicationdirectory in the Sample Mashup App's gadgets directory (e.g./var/www/openajax-svn/gadgets/trunk/samples/gadgets) usingqxpubas the link name. (You could of course just create a new directory and copy the contents of the build directory, but you'd have to do it again each time you made any changes to the application.) - Run your OpenAjax Widget Repository's install script again to make sure the new application is added to the widget database.
- Repeat steps 1-6, substituting
qxrecforqxpub.
If all went well, you should be able to add the two new gadgets to a mashup in the Sample Mashup Application and send messages from one to the other.
