diff options
Diffstat (limited to 'sandbox/rfeng/tuscany-provisioning/src/main/webapp')
-rw-r--r-- | sandbox/rfeng/tuscany-provisioning/src/main/webapp/WEB-INF/web.xml | 22 | ||||
-rw-r--r-- | sandbox/rfeng/tuscany-provisioning/src/main/webapp/index.html | 41 |
2 files changed, 63 insertions, 0 deletions
diff --git a/sandbox/rfeng/tuscany-provisioning/src/main/webapp/WEB-INF/web.xml b/sandbox/rfeng/tuscany-provisioning/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..e64bb913cd --- /dev/null +++ b/sandbox/rfeng/tuscany-provisioning/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> + <display-name>tuscany-provisioning-webapp</display-name> + <welcome-file-list> + <welcome-file>index.html</welcome-file> + <welcome-file>index.htm</welcome-file> + <welcome-file>index.jsp</welcome-file> + <welcome-file>default.html</welcome-file> + <welcome-file>default.htm</welcome-file> + <welcome-file>default.jsp</welcome-file> + </welcome-file-list> + <servlet> + <description></description> + <display-name>ExtensionListerServlet</display-name> + <servlet-name>ExtensionListerServlet</servlet-name> + <servlet-class>org.apache.tuscany.sca.provision.servlet.ExtensionListerServlet</servlet-class> + </servlet> + <servlet-mapping> + <servlet-name>ExtensionListerServlet</servlet-name> + <url-pattern>/extensions</url-pattern> + </servlet-mapping> +</web-app>
\ No newline at end of file diff --git a/sandbox/rfeng/tuscany-provisioning/src/main/webapp/index.html b/sandbox/rfeng/tuscany-provisioning/src/main/webapp/index.html new file mode 100644 index 0000000000..fcd25979a5 --- /dev/null +++ b/sandbox/rfeng/tuscany-provisioning/src/main/webapp/index.html @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Tuscany Extensions</title> + + +<link rel="stylesheet" type="text/css" + href="http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dijit/themes/tundra/tundra.css"> +<style type="text/css"> +body,html { + font-family: helvetica, arial, sans-serif; + font-size: 90%; +} +</style> +</head> + +<body class="tundra"> + +<h1>Tuscany Extensions</h1> + +<div dojoType="dojo.data.ItemFileReadStore" jsId="extensionStore" + url="extensions"> +</div> +<div dojoType="dijit.tree.ForestStoreModel" jsId="extensionModel" + store="extensionStore" childrenAttrs="types, artifacts" + rootId="extensionRoot" rootLabel="Extensions"> +</div> +<div dojoType="dijit.Tree" id="extensionTree" model="extensionModel" + showRoot="true"> +</div> +</body> + +<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js" + djConfig="parseOnLoad: true"></script> +<script type="text/javascript"> + dojo.require("dojo.data.ItemFileReadStore"); + dojo.require("dijit.tree.ForestStoreModel"); + dojo.require("dijit.Tree"); +</script> +</html>
\ No newline at end of file |