diff --git a/README.md b/README.md index 0c4da4f..05f10a2 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,12 @@ Helenos is a web based GUI Cassandra client that helps you to explore data and m ## Installation -* Download war package and deploy to your servlet container (tested with Jetty 8, Tomcat 6) +* Make sure that a user account which your application server runs as, has write permission to home directory +* Download war package and deploy to your servlet container (tested with Jetty 8, Tomcat 6, Resin 4) +* When running on Resin, additionally make sure that fileServlet is enabled and configured (see web.xml or Resin manual) * Start app -* Make sure your browser supports Flash 10 -* Run and open your web browser to http://localhost:8080/{yourdeploypath}/index.html +* Make sure your web browser supports Flash 10 +* Open your web browser to http://localhost:8080/{yourdeploypath}/index.html * Edit your connections by clicking icon in upper right corner * After editing click button 'Connect to' diff --git a/src/main/frontend/source/class/helenos/Application.js b/src/main/frontend/source/class/helenos/Application.js index f906f1e..711337f 100644 --- a/src/main/frontend/source/class/helenos/Application.js +++ b/src/main/frontend/source/class/helenos/Application.js @@ -33,6 +33,12 @@ qx.Class.define("helenos.Application", { // Call super class this.base(arguments); + + // set default locale + qx.locale.Manager.getInstance().setLocale("en"); + + // apply some required mixin to TreeVirtual to enable context menu + qx.Class.include(qx.ui.treevirtual.TreeVirtual, qx.ui.table.MTableContextMenu); // Enable logging in debug variant if (qx.core.Environment.get("qx.debug")) @@ -43,8 +49,7 @@ qx.Class.define("helenos.Application", qx.log.appender.Console; } - qx.locale.Manager.getInstance().setLocale("en"); - qx.Class.include(qx.ui.treevirtual.TreeVirtual, qx.ui.table.MTableContextMenu); + // add main component this.getRoot().add(new helenos.components.TopComposite(), { edge : 0 }); diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 78e1cab..dd2eafa 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -52,13 +52,14 @@ org.h2.server.web.DbStarter - +