tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amy...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/admin/host host.jsp
Date Wed, 21 Aug 2002 08:19:17 GMT
amyroh      2002/08/21 01:19:17

  Modified:    webapps/admin/WEB-INF/classes/org/apache/webapp/admin
                        ApplicationResources_en.properties
                        ApplicationResources_es.properties
               webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host
                        AddHostAction.java EditHostAction.java
                        HostForm.java SaveHostAction.java
               webapps/admin/host host.jsp
  Log:
  Add xmlNamespaceAware and xmlValidation properties to Host admin page.
  
  Revision  Changes    Path
  1.4       +2 -0      jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties
  
  Index: ApplicationResources_en.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApplicationResources_en.properties	16 Aug 2002 19:00:35 -0000	1.3
  +++ ApplicationResources_en.properties	21 Aug 2002 08:19:17 -0000	1.4
  @@ -128,6 +128,8 @@
   host.wars=Unpack WARs
   host.aliases=Aliases
   host.alias.name=Alias Name
  +host.xmlNamespaceAware=XML Namespace Aware
  +host.xmlValidation=XML Validation
   error.aliasName.exists=<li>Alias already exists</li>
   error.aliasName.required=<li>Alias name is required</li>
   context.properties=Context Properties
  
  
  
  1.4       +8 -6      jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties
  
  Index: ApplicationResources_es.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApplicationResources_es.properties	16 Aug 2002 19:00:35 -0000	1.3
  +++ ApplicationResources_es.properties	21 Aug 2002 08:19:17 -0000	1.4
  @@ -129,6 +129,8 @@
   host.wars=Desempaquetar WARs
   host.aliases=Aliases
   host.alias.name=Alias Nombre
  +host.xmlNamespaceAware=XML Namespace Aware
  +host.xmlValidation=XML Validation
   error.aliasName.exists=<li>Alias ya existe</li>
   error.aliasName.required=<li>Alias nombre requiredo</li>
   context.properties=Propiedades del contexto
  @@ -257,7 +259,7 @@
   error.rolePattern.required=<li>Se requiere el modelo de la busqueda del papel.</li>
   error.userPassword.required=<li>Se requiere la palabra de paso del utilizador.</li>
   error.userPattern.required=<li>Se requiere el patr=n del usuario.</li>
  -error.userSearch.required=<li>Se requiere la b·squeda del usuario.</li>
  +error.userSearch.required=<li>Se requiere la b+squeda del usuario.</li>
   error.userPattern.userSearch.defined=<li>UserPattern o userSearch se deben especificar
no ambos.</li>
   error.contextFactory.required=<li>Se requiere la factory del contexto.</li>
   error.connPassword.required=<li>Se requiere la palabra de paso de la conexion.</li>
  @@ -312,16 +314,16 @@
   resources.error.entryType.notimpl=<li>Validaci=n para este tipo no puesto en ejecucio'n
todavfa.</li>
   resources.error.url.required=<li>Se requiere el URL de Datasource.</li>
   resources.error.driverClass.required=<li>Se requiere la clase del conductor de JDBC.</li>
  -resources.error.active.required=<li>Se requieren las conexiones activas m¯ximas.</li>
  -resources.error.idle.required=<li>Se requieren las conexiones ociosas m¯ximas.</li>
  -resources.error.wait.required=<li>La espera m¯xima para una conexi=n se requiere.</li>
  +resources.error.active.required=<li>Se requieren las conexiones activas m»ximas.</li>
  +resources.error.idle.required=<li>Se requieren las conexiones ociosas m»ximas.</li>
  +resources.error.wait.required=<li>La espera m»xima para una conexi=n se requiere.</li>
   resources.error.mailhost.required=<li>mail.smtp.host is required.</li>
  -resources.integer.error=<li>Error inv¯lido del n+mero entero.</li>
  +resources.integer.error=<li>Error inv»lido del n+mero entero.</li>
   resources.actions.userdb.create=Cree La Nueva Base de datos Del Usuario
   resources.actions.userdb.edit=Corrija La Base de datos Del Usuario
   resources.actions.userdb.delete=Bases de datos Del Usuario De la Cancelaci=n
   resources.userdb.location=Localizaci=n
  -resources.userdb.factory=F¯brica
  +resources.userdb.factory=F»brica
   resources.treeBuilder.userdbs=Bases de datos Del Usuario
   resources.error.path.required=<li>Path requerido</li>
   resources.error.jndiName.required=<li>JNDI Nombre requerido</li>
  
  
  
  1.2       +18 -16    jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddHostAction.java
  
  Index: AddHostAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddHostAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AddHostAction.java	18 Jul 2002 16:48:25 -0000	1.1
  +++ AddHostAction.java	21 Aug 2002 08:19:17 -0000	1.2
  @@ -85,15 +85,15 @@
    */
   
   public class AddHostAction extends Action {
  -    
  +
       /**
        * The MessageResources we will be retrieving messages from.
        */
       private MessageResources resources = null;
  -    
  -    
  +
  +
       // --------------------------------------------------------- Public Methods
  -    
  +
       /**
        * Process the specified HTTP request, and create the corresponding HTTP
        * response (or forward to another web component that will create it).
  @@ -114,18 +114,18 @@
       HttpServletRequest request,
       HttpServletResponse response)
       throws IOException, ServletException {
  -        
  +
           // Acquire the resources that we need
           HttpSession session = request.getSession();
           Locale locale = (Locale) session.getAttribute(Action.LOCALE_KEY);
           if (resources == null) {
               resources = getServlet().getResources();
           }
  -        
  +
           // the service Name is needed to retrieve the engine mBean to
           // which the new host mBean will be added.
           String serviceName = request.getParameter("serviceName");
  -        
  +
           // Fill in the form values for display and editing
           HostForm hostFm = new HostForm();
           session.setAttribute("hostForm", hostFm);
  @@ -136,13 +136,15 @@
           hostFm.setServiceName(serviceName);
           hostFm.setAppBase("");
           hostFm.setUnpackWARs("false");
  +        hostFm.setXmlNamespaceAware("false");
  +        hostFm.setXmlValidation("false");
           hostFm.setDebugLvlVals(Lists.getDebugLevels());
  -        hostFm.setBooleanVals(Lists.getBooleanValues());        
  -        
  +        hostFm.setBooleanVals(Lists.getBooleanValues());
  +
           // Forward to the host display page
           return (mapping.findForward("Host"));
  -        
  +
       }
  -    
  -    
  +
  +
   }
  
  
  
  1.2       +24 -18    jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/EditHostAction.java
  
  Index: EditHostAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/EditHostAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EditHostAction.java	18 Jul 2002 16:48:25 -0000	1.1
  +++ EditHostAction.java	21 Aug 2002 08:19:17 -0000	1.2
  @@ -96,21 +96,21 @@
    */
   
   public class EditHostAction extends Action {
  -    
  +
       /**
        * The MBeanServer we will be interacting with.
        */
       private MBeanServer mBServer = null;
  -    
  +
   
       /**
        * The MessageResources we will be retrieving messages from.
        */
       private MessageResources resources = null;
  -    
  +
   
       // --------------------------------------------------------- Public Methods
  -    
  +
       /**
        * Process the specified HTTP request, and create the corresponding HTTP
        * response (or forward to another web component that will create it).
  @@ -131,14 +131,14 @@
                                    HttpServletRequest request,
                                    HttpServletResponse response)
           throws IOException, ServletException {
  -        
  +
           // Acquire the resources that we need
           HttpSession session = request.getSession();
           Locale locale = (Locale) session.getAttribute(Action.LOCALE_KEY);
           if (resources == null) {
               resources = getServlet().getResources();
           }
  -        
  +
           // Acquire a reference to the MBeanServer containing our MBeans
           try {
               mBServer = ((ApplicationServlet) getServlet()).getServer();
  @@ -146,7 +146,7 @@
               throw new ServletException
               ("Cannot acquire MBeanServer reference", t);
           }
  -        
  +
           // Set up the object names of the MBeans we are manipulating
           ObjectName hname = null;
           StringBuffer sb = null;
  @@ -160,7 +160,7 @@
               response.sendError(HttpServletResponse.SC_BAD_REQUEST, message);
               return (null);
           }
  -        
  +
           // Fill in the form values for display and editing
           HostForm hostFm = new HostForm();
           session.setAttribute("hostForm", hostFm);
  @@ -172,7 +172,7 @@
           hostFm.setNodeLabel(sb.toString());
           hostFm.setDebugLvlVals(Lists.getDebugLevels());
           hostFm.setBooleanVals(Lists.getBooleanValues());
  -        
  +
           String attribute = null;
           try {
   
  @@ -189,6 +189,12 @@
               attribute = "unpackWARs";
               hostFm.setUnpackWARs
                   (((Boolean) mBServer.getAttribute(hname, attribute)).toString());
  +            attribute = "xmlNamespaceAware";
  +            hostFm.setXmlNamespaceAware
  +                (((Boolean) mBServer.getAttribute(hname, attribute)).toString());
  +            attribute = "xmlValidation";
  +            hostFm.setXmlValidation
  +                (((Boolean) mBServer.getAttribute(hname, attribute)).toString());
   
           } catch (Throwable t) {
               getServlet().log
  @@ -205,9 +211,9 @@
           String operation = null;
           try {
               operation = "findAliases";
  -            String aliases[] = 
  +            String aliases[] =
                   (String[]) mBServer.invoke(hname, operation, null, null);
  -            
  +
               hostFm.setAliasVals(new ArrayList(Arrays.asList(aliases)));
   
           } catch (Throwable t) {
  @@ -218,11 +224,11 @@
                   (HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                   resources.getMessage(locale, "users.error.invoke",
                                        operation));
  -            return (null);            
  +            return (null);
           }
  -                
  +
           // Forward to the host display page
           return (mapping.findForward("Host"));
  -        
  +
       }
   }
  
  
  
  1.2       +135 -87   jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/HostForm.java
  
  Index: HostForm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/HostForm.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HostForm.java	18 Jul 2002 16:48:25 -0000	1.1
  +++ HostForm.java	21 Aug 2002 08:19:17 -0000	1.2
  @@ -77,9 +77,9 @@
    */
   
   public final class HostForm extends ActionForm {
  -    
  +
       // ----------------------------------------------------- Instance Variables
  -        
  +
       /**
        * The administrative action represented by this form.
        */
  @@ -95,52 +95,62 @@
        * and is picked up from the node of the tree that is clicked on.
        */
       private String nodeLabel = null;
  -    
  +
       /**
        * The text for the hostName.
        */
       private String hostName = null;
  -    
  +
       /**
        * The name of the service this host belongs to.
        */
       private String serviceName = null;
  -    
  +
       /**
        * The directory for the appBase.
        */
       private String appBase = null;
  -    
  +
       /**
        * The text for the debug level.
        */
       private String debugLvl = "0";
  -    
  +
       /**
        * Boolean for unpack WARs.
        */
       private String unpackWARs = "false";
  -    
  +
       /**
        * The text for the port. -- TBD
        */
       private String findAliases = null;
  -    
  +
       /**
        * Set of valid values for debug level.
        */
       private List debugLvlVals = null;
  -    
  +
       /*
        * Represent boolean (true, false) values for unpackWARs etc.
        */
       private List booleanVals = null;
  -    
  +
       /*
        * Represent aliases as a List.
  -     */    
  +     */
       private List aliasVals = null;
  -   
  +
  +    /**
  +     * Boolean for xmlNamespaceAware.
  +     */
  +    private String xmlNamespaceAware = "false";
  +
  +    /**
  +     * Boolean for xmlValidation.
  +     */
  +    private String xmlValidation = "false";
  +
       // ------------------------------------------------------------- Properties
   
       /**
  @@ -181,7 +191,7 @@
   
       }
   
  -    
  +
       /**
        * Return the object name of the service this host belongs to.
        */
  @@ -200,158 +210,196 @@
           this.serviceName = serviceName;
   
       }
  -    
  +
       /**
        * Return the label of the node that was clicked.
        */
       public String getNodeLabel() {
  -        
  +
           return this.nodeLabel;
  -        
  +
       }
  -    
  +
       /**
        * Set the node label.
        */
       public void setNodeLabel(String nodeLabel) {
  -        
  +
           this.nodeLabel = nodeLabel;
  -        
  +
       }
  -    
  +
       /**
        * Return the host name.
        */
       public String getHostName() {
  -        
  +
           return this.hostName;
  -        
  +
       }
  -    
  +
       /**
        * Set the host name.
        */
       public void setHostName(String hostName) {
  -        
  +
           this.hostName = hostName;
  -        
  +
       }
  -    
  +
       /**
        * Return the appBase.
        */
       public String getAppBase() {
  -        
  +
           return this.appBase;
  -        
  +
       }
  -    
  -    
  +
  +
       /**
        * Set the appBase.
        */
  -    
  +
       public void setAppBase(String appBase) {
  -        
  +
           this.appBase = appBase;
  -        
  +
       }
  -    
  +
       /**
        * Return the unpackWARs.
        */
       public String getUnpackWARs() {
  -        
  +
           return this.unpackWARs;
  -        
  +
       }
  -    
  +
       /**
        * Set the unpackWARs.
        */
  -    
  +
       public void setUnpackWARs(String unpackWARs) {
  -        
  +
           this.unpackWARs = unpackWARs;
  -        
  +
       }
  -    
  +
       /**
        * Return the debugVals.
        */
       public List getDebugLvlVals() {
  -        
  +
           return this.debugLvlVals;
  -        
  +
       }
  -    
  +
       /**
        * Set the debugVals.
        */
       public void setDebugLvlVals(List debugLvlVals) {
  -        
  +
           this.debugLvlVals = debugLvlVals;
  -        
  +
       }
  -    
  -    
  +
  +
       /**
        * Return the Debug Level Text.
        */
  -    
  +
       public String getDebugLvl() {
  -        
  +
           return this.debugLvl;
  -        
  +
       }
  -    
  +
       /**
        * Set the Debug Level Text.
        */
       public void setDebugLvl(String debugLvl) {
  -        
  +
           this.debugLvl = debugLvl;
  -        
  +
       }
  -    
  +
       /**
        * Return the booleanVals.
        */
       public List getBooleanVals() {
  -        
  +
           return this.booleanVals;
  -        
  +
       }
  -    
  +
       /**
        * Set the booleanVals.
        */
       public void setBooleanVals(List booleanVals) {
  -        
  +
           this.booleanVals = booleanVals;
  -        
  +
       }
  -    
  +
       /**
        * Return the List of alias Vals.
        */
       public List getAliasVals() {
  -        
  +
           return this.aliasVals;
  -        
  +
       }
  -    
  +
       /**
        * Set the alias Vals.
        */
       public void setAliasVals(List aliasVals) {
  -        
  +
           this.aliasVals = aliasVals;
  -        
  +
  +    }
  +
  +    /**
  +     * Return the xmlNamespaceAware.
  +     */
  +    public String getXmlNamespaceAware() {
  +
  +        return this.xmlNamespaceAware;
  +
  +    }
  +
  +    /**
  +     * Set the xmlNamespaceAware.
  +     */
  +
  +    public void setXmlNamespaceAware(String xmlNamespaceAware) {
  +
  +        this.xmlNamespaceAware = xmlNamespaceAware;
  +
  +    }
  +
  +    /**
  +     * Return the xmlValidation.
  +     */
  +    public String getXmlValidation() {
  +
  +        return this.xmlValidation;
  +
  +    }
  +
  +    /**
  +     * Set the xmlValidation.
  +     */
  +
  +    public void setXmlValidation(String xmlValidation) {
  +
  +        this.xmlValidation = xmlValidation;
  +
       }
  -    
  +
       // --------------------------------------------------------- Public Methods
  -    
  +
       /**
        * Reset all properties to their default values.
        *
  @@ -359,16 +407,16 @@
        * @param request The servlet request we are processing
        */
       public void reset(ActionMapping mapping, HttpServletRequest request) {
  -        
  -        this.objectName = null;        
  +
  +        this.objectName = null;
           this.serviceName = null;
           this.hostName = null;
           this.appBase = null;
           this.debugLvl = "0";
           this.unpackWARs = "false";
  -        
  +
       }
  -    
  +
        /**
        * Render this object as a String.
        */
  @@ -403,30 +451,30 @@
        * @param mapping The mapping used to select this instance
        * @param request The servlet request we are processing
        */
  -    
  +
       public ActionErrors validate(ActionMapping mapping,
       HttpServletRequest request) {
  -        
  +
           ActionErrors errors = new ActionErrors();
  -        
  +
           String submit = request.getParameter("submit");
  -        
  +
           // front end validation when save is clicked.
           if (submit != null) {
  -            
  +
               // hostName cannot be null
               if ((hostName== null) || (hostName.length() < 1)) {
                   errors.add("hostName", new ActionError("error.hostName.required"));
               }
  -            
  +
               // appBase cannot be null
               if ((appBase == null) || (appBase.length() < 1)) {
                   errors.add("appBase", new ActionError("error.appBase.required"));
               }
  -            
  -        }        
  +
  +        }
           return errors;
  -        
  +
       }
  -    
  +
   }
  
  
  
  1.2       +46 -21    jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/SaveHostAction.java
  
  Index: SaveHostAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/SaveHostAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SaveHostAction.java	18 Jul 2002 16:48:25 -0000	1.1
  +++ SaveHostAction.java	21 Aug 2002 08:19:17 -0000	1.2
  @@ -113,13 +113,15 @@
         "java.lang.String",     // name
         "java.lang.String",     // appBase
         "boolean",              // unpackWARs
  +      "boolean",              // xmlNamespaceAware
  +      "boolean",              // xmlValidation
       };
   
       /**
        * The MBeanServer we will be interacting with.
        */
       private MBeanServer mBServer = null;
  -    
  +
   
       /**
        * The MessageResources we will be retrieving messages from.
  @@ -128,8 +130,8 @@
   
   
       // --------------------------------------------------------- Public Methods
  -    
  -    
  +
  +
       /**
        * Process the specified HTTP request, and create the corresponding HTTP
        * response (or forward to another web component that will create it).
  @@ -150,14 +152,14 @@
                                    HttpServletRequest request,
                                    HttpServletResponse response)
           throws IOException, ServletException {
  -        
  +
           // Acquire the resources that we need
           HttpSession session = request.getSession();
           Locale locale = (Locale) session.getAttribute(Action.LOCALE_KEY);
           if (resources == null) {
               resources = getServlet().getResources();
           }
  -        
  +
           // Acquire a reference to the MBeanServer containing our MBeans
           try {
               mBServer = ((ApplicationServlet) getServlet()).getServer();
  @@ -165,7 +167,7 @@
               throw new ServletException
               ("Cannot acquire MBeanServer reference", t);
           }
  -        
  +
           // Identify the requested action
           HostForm hform = (HostForm) form;
           String adminAction = hform.getAdminAction();
  @@ -176,9 +178,9 @@
   
               String operation = null;
               Object values[] = null;
  -            
  +
               try {
  -                
  +
                   String serviceName = hform.getServiceName();
   
                   // Ensure that the requested host name is unique
  @@ -193,19 +195,22 @@
                       saveErrors(request, errors);
                       return (new ActionForward(mapping.getInput()));
                   }
  -                
  +
                   // Look up our MBeanFactory MBean
                   ObjectName fname =
                       new ObjectName(TomcatTreeBuilder.FACTORY_TYPE);
   
                   // Create a new StandardHost object
  -                values = new Object[4];
  -                values[0] = 
  +                values = new Object[6];
  +                values[0] =
                       TomcatTreeBuilder.ENGINE_TYPE + ",service=" + serviceName;
                   values[1] = hform.getHostName();
                   values[2] = hform.getAppBase();
                   values[3] = new Boolean(hform.getUnpackWARs());
  -                
  +                values[4] = new Boolean(hform.getXmlNamespaceAware());
  +                values[5] = new Boolean(hform.getXmlValidation());
  +
  +
                   operation = "createStandardHost";
                   hObjectName = (String)
                       mBServer.invoke(fname, operation,
  @@ -215,7 +220,7 @@
                   TreeControl control = (TreeControl)
                       session.getAttribute("treeControlTest");
                   if (control != null) {
  -                    String parentName = 
  +                    String parentName =
                             TomcatTreeBuilder.SERVICE_TYPE + ",name=" + serviceName;
                       TreeControlNode parentNode = control.findNode(parentName);
                       if (parentNode != null) {
  @@ -281,7 +286,7 @@
               }
               mBServer.setAttribute(honame,
                                     new Attribute("appBase", appBase));
  -            
  +
               attribute = "unpackWARs";
               String unpackWARs = "false";
               try {
  @@ -292,6 +297,26 @@
               mBServer.setAttribute(honame,
                                     new Attribute("unpackWARs", new Boolean(unpackWARs)));
   
  +            attribute = "xmlNamespaceAware";
  +            String xmlNamespaceAware = "false";
  +            try {
  +                xmlNamespaceAware = hform.getXmlNamespaceAware();
  +            } catch (Throwable t) {
  +                xmlNamespaceAware = "false";
  +            }
  +            mBServer.setAttribute(honame,
  +                                  new Attribute("xmlNamespaceAware", new Boolean(xmlNamespaceAware)));
  +
  +            attribute = "xmlValidation";
  +            String xmlValidation = "false";
  +            try {
  +                xmlValidation = hform.getXmlValidation();
  +            } catch (Throwable t) {
  +                xmlValidation = "false";
  +            }
  +            mBServer.setAttribute(honame,
  +                                  new Attribute("xmlValidation", new Boolean(xmlValidation)));
  +
           } catch (Exception e) {
   
               getServlet().log
  @@ -303,11 +328,11 @@
                                         attribute));
               return (null);
           }
  -        
  +
           // Forward to the success reporting page
           session.removeAttribute(mapping.getAttribute());
           return (mapping.findForward("Save Successful"));
  -        
  +
       }
  -    
  +
   }
  
  
  
  1.4       +22 -0     jakarta-tomcat-catalina/webapps/admin/host/host.jsp
  
  Index: host.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/host/host.jsp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- host.jsp	14 Aug 2002 13:44:43 -0000	1.3
  +++ host.jsp	21 Aug 2002 08:19:17 -0000	1.4
  @@ -184,6 +184,28 @@
                   </html:select>
               </controls:data>
           </controls:row>
  +
  +       <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
  +            <controls:label><bean:message key="host.xmlNamespaceAware"/>:</controls:label>
  +            <controls:data>
  +               <html:select property="xmlNamespaceAware">
  +                     <bean:define id="booleanVals" name="hostForm" property="booleanVals"/>
  +                     <html:options collection="booleanVals" property="value"
  +                   labelProperty="label"/>
  +                </html:select>
  +            </controls:data>
  +        </controls:row>
  +
  +       <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
  +            <controls:label><bean:message key="host.xmlValidation"/>:</controls:label>
  +            <controls:data>
  +               <html:select property="xmlValidation">
  +                     <bean:define id="booleanVals" name="hostForm" property="booleanVals"/>
  +                     <html:options collection="booleanVals" property="value"
  +                   labelProperty="label"/>
  +                </html:select>
  +            </controls:data>
  +        </controls:row>
         </controls:table>
   
         </td>
  
  
  

--
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