"Fossies" - the Fresh Open Source Software Archive

Member "psi-probe-psi-probe-3.4.2/web/src/main/webapp/WEB-INF/jsp/appattributes.jsp" (21 Nov 2019, 4353 Bytes) of package /linux/www/psi-probe-3.4.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JavaServer Pages source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "appattributes.jsp": 3.0.0_vs_3.1.0.

    1 <%--
    2 
    3     Licensed under the GPL License. You may not use this file except in compliance with the License.
    4     You may obtain a copy of the License at
    5 
    6       https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    7 
    8     THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
    9     WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
   10     PURPOSE.
   11 
   12 --%>
   13 <%@ page contentType="text/html;charset=UTF-8" language="java" session="false" %>
   14 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
   15 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
   16 <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
   17 
   18 <%-- Displays a list of servlet context attributes for a given application --%>
   19 
   20 <html>
   21 
   22     <head>
   23         <title>
   24             <spring:message htmlEscape="true" code="probe.jsp.title.app.attributes" arguments="${param.webapp}"/>
   25         </title>
   26         <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}<spring:theme code='scroller.css'/>"/>
   27         <script type="text/javascript" src="<c:url value='/js/prototype.js'/>"></script>
   28         <script type="text/javascript" src="<c:url value='/js/behaviour.js'/>"></script>
   29         <script type="text/javascript" src="<c:url value='/js/scriptaculous/scriptaculous.js'/>"></script>
   30         <script type="text/javascript" src="<c:url value='/js/areascroller.js'/>"></script>
   31     </head>
   32 
   33     <%-- Make Tab #1 visually "active". --%>
   34     <c:set var="navTabApps" value="active" scope="request"/>
   35     <c:set var="use_decorator" value="application" scope="request"/>
   36     <c:set var="appTabAttributes" value="active" scope="request"/>
   37 
   38     <body>
   39 
   40         <div class="embeddedBlockContainer">
   41             <h3><spring:message code="probe.jsp.app.attributes.h3.attributes"/></h3>
   42 
   43             <c:choose>
   44                 <c:when test="${empty appAttributes}">
   45                     <div class="infoMessage">
   46                         <p>
   47                             <spring:message code="probe.jsp.app.attributes.noattributes"/>
   48                         </p>
   49                     </div>
   50                 </c:when>
   51                 <c:otherwise>
   52                     <table id="resultsTable" style="padding:0;border-spacing:0;border-collapse:separate;">
   53                         <tr>
   54                             <td id="left_scroller" class="scroller">&#160;</td>
   55                             <td id="separator" width="1%">&#160;</td>
   56                             <td>
   57                                 <div id="appAttrTblContainer" class="scrollable_content">
   58                                     <display:table htmlId="appAttrTbl" name="appAttributes" uid="attribute"
   59                                             class="genericTbl" style="padding:0;border-spacing:0;border-collapse:separate;"
   60                                             requestURI="" defaultsort="1">
   61                                         <display:column title="&#160;" style="width:20px;" class="leftMostIcon">
   62                                             <c:url value='/app/rmappattr.htm' var='rmappattr_url'>
   63                                                 <c:param name='webapp' value='${param.webapp}'/>
   64                                                 <c:param name='attr' value='${attribute.name}'/>
   65                                             </c:url>
   66                                             <a href="${rmappattr_url}" class="imglink">
   67                                                 <img class="lnk"
   68                                                         src="${pageContext.request.contextPath}<spring:theme code='remove.img'/>"
   69                                                         alt="<spring:message code='probe.jsp.app.attributes.col.delete'/>"
   70                                                         title="<spring:message code='probe.jsp.app.attributes.col.delete.title'/>"/>
   71                                             </a>
   72                                         </display:column>
   73                                         <display:column property="name" sortable="true" maxLength="40"
   74                                                 titleKey="probe.jsp.app.attributes.col.name"/>
   75                                         <display:column property="type" sortable="true" maxLength="40"
   76                                                 titleKey="probe.jsp.app.attributes.col.type"/>
   77                                         <display:column titleKey="probe.jsp.app.attributes.col.value">
   78                                             <c:choose>
   79                                                 <c:when test="${displayValues}">
   80                                                     <c:catch var="displayException">
   81                                                         <c:out value="${attribute.value}" escapeXml="true"/>
   82                                                     </c:catch>
   83                                                     <c:if test="${not empty displayException}">
   84                                                         <span class="errorValue">**************</span>
   85                                                         <c:remove var="displayException" />
   86                                                     </c:if>
   87                                                 </c:when>
   88                                                 <c:otherwise>
   89                                                     **************
   90                                                 </c:otherwise>
   91                                             </c:choose>
   92                                         </display:column>
   93                                     </display:table>
   94                                 </div>
   95                             </td>
   96                             <td id="right_scroller" class="scroller">&#160;</td>
   97                         </tr>
   98                     </table>
   99                     <script type="text/javascript">
  100                         setupScrollers('appAttrTblContainer');
  101                     </script>
  102                 </c:otherwise>
  103             </c:choose>
  104         </div>
  105     </body>
  106 </html>