diff options
| author | Stephen D. Huston <shuston@apache.org> | 2011-10-20 18:42:46 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2011-10-20 18:42:46 +0000 |
| commit | 5eb354b338bb8d8fcd35b6ac3fb33f8103e757c3 (patch) | |
| tree | f24776684c025fbed6a0431bf3d6811f0a1aae7a /java/management/client/console/wsdm_properties_perspective.jsp | |
| parent | 718ff5b34dd1e87eb79fa4c61fec668d1dc33103 (diff) | |
| download | qpid-python-5eb354b338bb8d8fcd35b6ac3fb33f8103e757c3.tar.gz | |
Merge trunk to QPID-2519 branch
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-2519@1186990 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/management/client/console/wsdm_properties_perspective.jsp')
| -rw-r--r-- | java/management/client/console/wsdm_properties_perspective.jsp | 218 |
1 files changed, 0 insertions, 218 deletions
diff --git a/java/management/client/console/wsdm_properties_perspective.jsp b/java/management/client/console/wsdm_properties_perspective.jsp deleted file mode 100644 index 7769abc71c..0000000000 --- a/java/management/client/console/wsdm_properties_perspective.jsp +++ /dev/null @@ -1,218 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.List"%> -<%@page import="java.util.*"%> - -<% - Map<String,String> java2Xml = new HashMap<String,String>(); -java2Xml.put(UUID.class.getName(),"qman:uuid"); -java2Xml.put(Long.class.getName(),"xsd:long"); -java2Xml.put(long.class.getName(),"xsd:long"); -java2Xml.put(Boolean.class.getName(),"xsd:boolean"); -java2Xml.put(boolean.class.getName(),"xsd:boolean"); -java2Xml.put(Double.class.getName(),"xsd:double"); -java2Xml.put(double.class.getName(),"xsd:double"); -java2Xml.put(Float.class.getName(),"xsd:float"); -java2Xml.put(float.class.getName(),"xsd:float"); -java2Xml.put(Integer.class.getName(),"xsd:integer"); -java2Xml.put(int.class.getName(),"xsd:integer"); -java2Xml.put(Short.class.getName(),"xsd:short"); -java2Xml.put(short.class.getName(),"xsd:short"); -java2Xml.put(String.class.getName(),"xsd:string"); -java2Xml.put(URI.class.getName(),"xsd:anyURI"); -java2Xml.put(Date.class.getName(),"xsd:dateTime"); -java2Xml.put(QName.class.getName(),"xsd:QName"); -java2Xml.put(Element.class.getName(),"xsd:element"); -java2Xml.put(byte[].class.getName(),"xsd:base64Binary"); -java2Xml.put(Long[].class.getName(),"qman:arrayOfLong"); -java2Xml.put(long[].class.getName(),"qman:arrayOfLong"); -java2Xml.put(Boolean[].class.getName(),"qman:arrayOfBoolean"); -java2Xml.put(boolean[].class.getName(),"qman:arrayOfBoolean"); -java2Xml.put(Double[].class.getName(),"qman:arrayOfDouble"); -java2Xml.put(double[].class.getName(),"qman:arrayOfDouble"); -java2Xml.put(Float[].class.getName(),"qman:arrayOfFloat"); -java2Xml.put(float[].class.getName(),"qman:arrayOfFloat"); -java2Xml.put(Integer[].class.getName(),"qman:arrayOfInteger"); -java2Xml.put(int[].class.getName(),"qman:arrayOfInteger"); -java2Xml.put(Short[].class.getName(),"qman:arrayOfShort"); -java2Xml.put(short[].class.getName(),"qman:arrayOfShort"); -java2Xml.put(String[].class.getName(),"qman:arrayOfString"); -java2Xml.put(URI[].class.getName(),"qman:arrayOfURI"); -java2Xml.put(Date[].class.getName(),"qman:arrayOfDate"); -java2Xml.put(Map.class.getName(),"qman:map"); -java2Xml.put(HashMap.class.getName(),"qman:map"); - -pageContext.setAttribute("types",java2Xml); -%> -<%@page import="java.net.URI"%> -<%@page import="javax.xml.namespace.QName"%> -<%@page import="org.w3c.dom.Element"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resource Management - WS-DM Properties Perspective"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <li><a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=${resourceId}"><span>JMX</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>WS-DM</span></a></li> - </ul> - </div> - <br /> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top" colspan="2"> - <fieldset> - <legend>Resource ID</legend> - <ul> - <c:forEach var="property" items="${nameAttributes}"> - <li> - <c:out value="${property}"/> - </li> - </c:forEach> - </ul> - </fieldset> - </td> - </tr> - <tr> - <td valign="top"> - <div id="wsdmmenu" align="left" style="font-size: small;"> - <ul> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>Properties</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_operations_perspective?resourceId=${resourceId}""><span>Operations</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_wsdl_perspective?resourceId=${resourceId}""><span>WSDL</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_rmd_perspective?resourceId=${resourceId}""><span>RDM</span></a></li> - </ul> - </div> - </td> - </tr> - <tr> - <td valign="top"> - <fieldset> - <legend>Attributes</legend> - <table width="100%" cellspacing="1"> - <tr> - <th nowrap="nowrap" align="center">Name</th> - <th nowrap="nowrap" align="center" >Type</th> - <th nowrap="nowrap" align="center">Value</th> - <th nowrap="nowrap" align="center">Mutable</th> - <th nowrap="nowrap" align="center">Access</th> - <th nowrap="nowrap" align="center">Valid Values</th> - <th nowrap="nowrap" align="center">Static Values</th> - <th nowrap="nowrap" align="center">Initial Values</th> - </tr> - <c:forEach var="attribute" items="${metadata.attributes}" varStatus="rowCounter"> - <c:choose> - <c:when test="${rowCounter.count % 2 == 0}"> - <c:set var="bgcolor" scope="page" value="EAEAEA"/> - </c:when> - <c:otherwise> - <c:set var="bgcolor" scope="page" value="FFFFFF"/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${attribute.writable}"> - <c:set var="access" scope="page" value="RW"/> - </c:when> - <c:otherwise> - <c:set var="access" scope="page" value="RO"/> - </c:otherwise> - </c:choose> - <tr> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attribute.name}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${types[attribute.type]}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attributes[attribute.name]}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - √ - <%-- - <c:out value="${attribute.mutable}"/> - --%> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${access}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - N.A. -<%-- - <ul> - <c:forEach var="value" items="${attribute.validValues}"> - <li> - <c:out value="${value}"/> - </li> - </c:forEach> - </ul> ---%> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - N.A. -<%-- - <ul> - <c:forEach var="value" items="${attribute.staticValues}"> - <li> - <c:out value="${value}"/> - </li> - </c:forEach> - </ul> ---%> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - N.A. -<%-- - <ul> - <c:forEach var="value" items="${attribute.initialValues}"> - <li> - <c:out value="${value}"/> - </li> - </c:forEach> - </ul> ---%> - </td> - </tr> - </c:forEach> - </table> - </fieldset> - </td> - </tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> |
