tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin header.jsp tree-control-test.jsp
Date Fri, 09 Nov 2001 18:43:17 GMT
patrickl    01/11/09 10:43:17

  Modified:    webapps/admin header.jsp tree-control-test.jsp
  Log:
  Enhanced tree-control-test.jsp and related files so that the Tree Control is embedded in
a "frame-style" layout.
  
  Revision  Changes    Path
  1.2       +1 -0      jakarta-tomcat-4.0/webapps/admin/header.jsp
  
  Index: header.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/header.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- header.jsp	2001/10/25 16:36:06	1.1
  +++ header.jsp	2001/11/09 18:43:17	1.2
  @@ -6,6 +6,7 @@
   <head>
     <title><bean:message key="application.title"/></title>
     <html:base/>
  +  <link rel="stylesheet" type="text/css" href="tree-control-test.css">
   </head>
   
   <body bgcolor="white">
  
  
  
  1.2       +86 -16    jakarta-tomcat-4.0/webapps/admin/tree-control-test.jsp
  
  Index: tree-control-test.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/tree-control-test.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tree-control-test.jsp	2001/11/06 20:40:13	1.1
  +++ tree-control-test.jsp	2001/11/09 18:43:17	1.2
  @@ -1,18 +1,88 @@
  +<!-- Standard Struts Entries -->
  +
  +<%@ page language="java" %>
  +<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  +<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
   <%@ taglib uri="/WEB-INF/tree-control.tld" prefix="tree" %>
  -<html>
  -<head>
  -<title>Tree Control Test</title>
  -<link rel="stylesheet" type="text/css" href="tree-control-test.css">
  -</head>
  -<body bgcolor="white">
  -This is the current state of the tree control:
  -<hr>
  -<tree:render tree="treeControlTest"
  -           action="treeControlTest.do?tree=${name}"
  -            style="tree-control"
  -    styleSelected="tree-control-selected"
  -  styleUnselected="tree-control-unselected"
  -/>
  -<hr>
  +
  +<html:html locale="true">
  +
  +<!-- Standard Content -->
  +
  +<%@ include file="header.jsp" %>
  +
  +<!-- Body -->
  +
  +<table border="1" cellpadding="0" cellspacing="0" width="100%">
  +
  +  <!-- Application Header -->
  +  <tr>
  +    <td align="center" colspan="2">
  +      <h2>
  +        <bean:message key="index.success"/>
  +        <br>
  +        <bean:message key="index.logout"/>
  +        <html:link page="/logOut.do">
  +          <bean:message key="index.here"/>
  +        </html:link>
  +      </h2>
  +    </td>
  +  </tr>
  +
  +  <tr valign="top">
  +    <!-- Tree Component -->
  +    <td width="200">
  +      <tree:render tree="treeControlTest"
  +                 action="treeControlTest.do?tree=${name}"
  +                  style="tree-control"
  +          styleSelected="tree-control-selected"
  +        styleUnselected="tree-control-unselected"
  +      />
  +    </td>
  +    <!-- Input Form -->
  +    <td>
  +      <html:errors/>
  +      <html:form method="POST" action="/sample" focus="someText">
  +        <table border="0" cellspacing="5">
  +          <tr>
  +            <th align="right">
  +              <bean:message key="prompt.someText"/>
  +            </th>
  +            <td align="left">
  +              <html:text property="someText" size="16" maxlength="16"/>
  +            </td>
  +          </tr>
  +          <tr>
  +            <th align="right">
  +              <bean:message key="prompt.moreText"/>
  +            </th>
  +            <td align="left">
  +              <html:text property="moreText" size="16" maxlength="16"/>
  +            </td>
  +          </tr>
  +          <tr>
  +            <td align="right">
  +              <html:submit>
  +                <bean:message key="button.save"/>
  +              </html:submit>
  +            </td>
  +            <td align="left">
  +              <html:reset>
  +                <bean:message key="button.reset"/>
  +              </html:reset>
  +            </td>
  +          </tr>
  +        </table>
  +      </html:form>
  +    </td>
  +  </tr>
  +</table>
  +
  +<!-- Standard Footer -->
  +
  +<%@ include file="footer.jsp" %>
  +
   </body>
  -</html>
  +
  +</html:html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message