This sample shows an application called "MiniStage". It is built using ExtJs and it consumes CenterStage services using our DWR bindings. It shows how to call the CenterStage ListService to execute queries and how to integrate those results into an ExtJs grid using the DataStore framework.
The sample can be built into a WAR file that should be deployed alongside CenterStagePro.war. Because this sample code is hosted in a separate web application from CenterStage (and DWR), it is important to disable HTTP sessions in CenterStage. If you do not disable sessions, DWR will reject service calls to protect against CSRF (Cross-Site Request Forgery) attacks.
To disable HTTP sessions in CenterStage, add the following to "magellan.properties" inside CenterStagePro.war:
magellan.config.disable_sessions=true
You can also disable DWR's CSRF protection by configuring the DWR servlet, but this is not recommended for production environments. See the DWR servlet configuration guide for more about this.
The sample was tested with CenterStage Pro 1.1 hosted on Tomcat 6.0.18. If you have issues with other application servers, post a comment.