13 removed files
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N aidaPlot.jsp
--- aidaPlot.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,33 +0,0 @@
-<%@taglib prefix="aida" uri="http://aida.freehep.org/jsp20" %>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@page import="hep.aida.*" %>
-
-<%
- IAnalysisFactory af = IAnalysisFactory.create();
- ITree tree = af.createTreeFactory().create();
- IDataPointSetFactory dpsf = af.createDataPointSetFactory(tree);
-
- // Create a two dimensional IDataPointSet.
- IDataPointSet dps2D = dpsf.create("dps2D","Two Dimensional IDataPointSet",2);
- // Fill the two dimensional IDataPointSet
- double[] yVals2D = { 0.12, 0.22, 0.35, 0.42, 0.54 , 0.61 };
- double[] yErrP2D = { 0.01, 0.02, 0.03, 0.03, 0.04 , 0.04 };
- double[] yErrM2D = { 0.02, 0.02, 0.02, 0.04, 0.06 , 0.05 };
- double[] xVals2D = { 1.5, 2.6, 3.4, 4.6, 5.5 , 6.4 };
- double[] xErrP2D = { 0.5, 0.5, 0.4, 0.4, 0.5 , 0.5 };
- for ( int i = 0; i<yVals2D.length; i++ ) {
- dps2D.addPoint();
- dps2D.point(i).coordinate(0).setValue( xVals2D[i] );
- dps2D.point(i).coordinate(0).setErrorPlus( xErrP2D[i] );
- dps2D.point(i).coordinate(1).setValue( yVals2D[i] );
- dps2D.point(i).coordinate(1).setErrorPlus( yErrP2D[i] );
- dps2D.point(i).coordinate(1).setErrorMinus( yErrM2D[i] );
- }
- pageContext.setAttribute("dps2D",dps2D,PageContext.REQUEST_SCOPE);
-%>
-
-<aida:plotter>
- <aida:region>
- <aida:plot var="${dps2D}"/>
- </aida:region>
-</aida:plotter>
\ No newline at end of file
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N form.jsp
--- form.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="utils" uri="http://glast-ground.slac.stanford.edu/utils" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>JSP Page</title>
- </head>
- <body>
-
- <c:if test="${ ! empty param.intNumber }">
- <c:set var="intNumber" value="${param.intNumber}" scope="session" />
- </c:if>
-
-
- <form>
- <table>
- <tr>
- <td valign="top">
- Insert a text:
- </td>
- <td valign="top">
- <utils:inputWithHistory name="preferences" property="textInput" size="50" value="${textInput}"/>
- </td>
- </tr>
- <tr>
- <td valign="top">
- Insert an Integer:
- </td>
- <td valign="top">
- <input type="text" name="intNumber" value="${empty intNumber ? preferences.intNumber : intNumber }">
- </td>
- </tr>
- </table>
- </form>
-
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N index.jsp
--- index.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,26 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="http://glast-ground.slac.stanford.edu/Commons/css/glastCommons.jsp" rel="stylesheet" type="text/css">
- <title>JSP Page</title>
- </head>
- <body>
- <div class="pageBody">
-
- Welcome to this sample application. Please select one of the examples from the list below or from the navigation menu on the top right of your screen.
- <ul>
- <li><a href="aidaPlot.jsp">AIDA Plot</a></li>
- <li><a href="table.jsp">Table</a></li>
- <li><a href="tabs.jsp">Tabs</a></li>
- <li><a href="tree.jsp">Tree</a></li>
- <li><a href="pickers.jsp">Date/Time Pickers</a></li>
- <li><a href="plotFrames.jsp">Frame example</a></li>
- <li><a href="form.jsp">Use of Preferences</a></li>
- </ul>
-
- </div>
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N nonAvailable.jsp
--- nonAvailable.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-
-<!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=UTF-8">
- <title>Tabs</title>
- </head>
- <body>
-
- <h2>Application non available due to: ${nonAvailableReason}.</h2>
-
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N pickers.jsp
--- pickers.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,62 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="utils" uri="http://glast-ground.slac.stanford.edu/utils" %>
-
-<html>
- <head>
- <title>Pickers</title>
- <script language="JavaScript" src="http://glast-ground.slac.stanford.edu/Commons/scripts/FSdateSelect.jsp"></script>
- </head>
- <body>
-
- <c:if test="${empty date}">
- <c:set var="date" value="None" scope="session"/>
- </c:if>
- <c:if test="${! empty param.date}">
- <c:set var="date" value="${param.date}" scope="session"/>
- </c:if>
- <form name="DateForm">
- <table cellpadding="5" cellspacing="5" class="filterTable">
- <tr>
- <th>Choose a Date</th>
- <td>
- <script language="JavaScript">
- FSfncWriteFieldHTML("DateForm","date","${empty date ? 'None' : date}",100,
- "http://glast-ground.slac.stanford.edu/Commons/images/FSdateSelector/","US",false,true)
- </script></td>
- <th><input type="submit" value="Submit" name="filter"></th>
- </tr>
- </table>
- </form>
- <br>
- The selected Date is : <b>${date}</b>
- <br>
-
-
- <c:set var="format" value="%b/%d/%Y %H:%M:%S"/>
- <c:set var="timezone" value="UTC"/>
-
- <c:if test="${empty time}">
- <c:set var="time" value="None" scope="session"/>
- </c:if>
- <c:if test="${! empty param.time}">
- <c:set var="time" value="${param.time}" scope="session"/>
- </c:if>
- <form>
- <table cellpadding="5" cellspacing="5" class="filterTable">
- <tr>
- <th>Choose a Time</th>
- <td>
- <utils:dateTimePicker size="20" name="time" timezone="${timezone}" showtime="true" format="${format}"/>
- <td>
- <th><input type="submit" value="Submit" name="filter"></th>
- </tr>
- </table>
- </form>
- <br>
- The selected Time is : <b>${utils:toTime(time,format,timezone)}</b>
- <br>
-
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N plotFrames.jsp
--- plotFrames.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>PlotFrames</title>
- </head>
- <frameset rows="110,*">
- <frame src="<c:url value="/plotHeader.jsp"/>" frameborder="0" name="plotHeader"/>
- <frameset cols="20%, 80%">
- <frame src="<c:url value="/plotTree.jsp"/>" name="plotTree"/>
- <frame src="<c:url value="/plotMain.jsp"/>" name="plotMain"/>
- </frameset>
- </frameset>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N plotHeader.jsp
--- plotHeader.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>PlotHeader</title>
- </head>
- <body>
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N plotMain.jsp
--- plotMain.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,45 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="aida" uri="http://aida.freehep.org/jsp20" %>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
-<%@taglib prefix="tree" uri="http://java.freehep.org/tree-taglib" %>
-<%@taglib prefix="utils" uri="http://glast-ground.slac.stanford.edu/utils" %>
-
-<html>
-
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>PlotMain</title>
- </head>
- <body>
-
- <c:if test="${! empty param.leafSelectedPath }">
- <c:set var="selectedPath" value="${param.leafSelectedPath}" scope="session"/>
- <c:set var="selectedFolder" value="" scope="session"/>
- </c:if>
- <c:if test="${! empty param.folderSelectedPath }">
- <c:set var="selectedFolder" value="${param.folderSelectedPath}" scope="session"/>
- <c:set var="selectedPath" value="" scope="session"/>
- </c:if>
-
- <c:choose>
- <c:when test="${ empty selectedFolder && empty selectedPath }">
- Please select a folder or a leaf from the navigation tree.
- </c:when>
- <c:when test="${ ! empty selectedPath }" >
- The selected path is : <b>${selectedPath}</b>
- </c:when>
- <c:otherwise>
- The selected folder is : <b>${selectedFolder}</b><br>
- It contains the following leaves:<br>
- <c:set var="nodes" value="${tree:nodesForPath(selectedFolder,root,true)}" />
- <c:forEach items="${nodes}" var="node">
- <b>${node.path}</b><br>
- </c:forEach>
-
- </c:otherwise>
- </c:choose>
-
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N plotTree.jsp
--- plotTree.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="tree" tagdir="/WEB-INF/tags/tree" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>PlotTree</title>
- <base target="plotMain">
- </head>
- <body>
- <tree:tree folderHref="plotMain.jsp?folderSelectedPath=%p" leafHref="plotMain.jsp?leafSelectedPath=%p"/>
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N preferences.jsp
--- preferences.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1 +0,0 @@
-<%@ page contentType="text/html" %>
<%@ page import="java.util.*" %>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="utils" uri="http://glast-ground.slac.stanford.edu/utils" %>
<html>
<head>
<title>Preferences</title>
</head>
<body>
<utils:preferences name="preferences">
<utils:preference name="intNumber" size="7" title="Integer Numbre: " />
</utils:preferences>
<utils:manageHistory name="preferences" property="textInput"/>
</body>
</html>
\ No newline at end of file
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N table.jsp
--- table.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,29 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="display" uri="http://displaytag.sf.net" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>JSP Page</title>
- </head>
- <body>
-
- <%
- org.glast.web.base.table.TestTable table = new org.glast.web.base.table.TestTable();
- session.setAttribute("table", table);
- %>
-
-
-
- <display:table class="datatable" name="${table}" defaultorder="ascending" sort="list" id="tableId" >
- <display:column property="id" title="ID" sortable="true" />
- <display:column property="name" sortable="true" />
- <display:column property="email" sortable="true" />
- </display:table>
-
-
-
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N tabs.jsp
--- tabs.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,35 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="tab" uri="http://java.freehep.org/tabs-taglib" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>JSP Page</title>
- </head>
- <body>
-
- <tab:tabs name="basic" param="basicTab">
- <tab:tab name="tab1" value="1" >
- <br>
- <p align="center">
- <b>body</b> of tab tab1
- </p>
- </tab:tab>
- <tab:tab name="ciao" value="2">body of tab ciao</tab:tab>
- </tab:tabs>
-
-
- <br>
-
- <tab:tabs name="test">
- <c:forEach var="i" begin="1" end="10">
- <tab:tab name="Tab ${i}">Content of tab ${i}</tab:tab>
- </c:forEach>
- </tab:tabs>
-
-
-
- </body>
-</html>
SlicDiagWeb/org-glast-web-base-application/src/webapp
diff -N tree.jsp
--- tree.jsp 21 Sep 2007 23:34:03 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="tree" tagdir="/WEB-INF/tags/tree" %>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>JSP Page</title>
- </head>
- <body>
-
- <tree:tree/>
-
- </body>
-</html>
CVSspam 0.2.8