geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r393787 [5/22] - in /geronimo/trunk/applications: ./ console/ console/console-core/ console/console-core/src/ console/console-core/src/java/ console/console-core/src/java/org/ console/console-core/src/java/org/apache/ console/console-core/s...
Date Thu, 13 Apr 2006 11:36:26 GMT
Added: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt Thu Apr 13 04:34:08 2006
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Apache_License-2.0.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt Thu Apr 13 04:34:08 2006
@@ -0,0 +1,38 @@
+Copyright 1999-2004 (C) Intalio Inc., and others. All Rights Reserved.
+
+  Redistribution and use of this software and associated documentation
+  ("Software"), with or without modification, are permitted provided
+  that the following conditions are met:
+
+  1. Redistributions of source code must retain copyright statements
+     and notices. Redistributions must also contain a copy of this
+     document.
+
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+
+  3. The name "ExoLab" must not be used to endorse or promote products
+     derived from this Software without prior written permission of
+     Intalio Inc. For written permission, please contact info@exolab.org.
+
+  4. Products derived from this Software may not be called "Castor"
+     nor may "Castor" appear in their names without prior written
+     permission of Intalio Inc. Exolab, Castor and Intalio are
+     trademarks of Intalio Inc.
+
+  5. Due credit should be given to the ExoLab Project
+     (http://www.exolab.org/).
+
+  THIS SOFTWARE IS PROVIDED BY INTALIO AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+  PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTALIO OR ITS
+  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+  OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+  DAMAGE.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/Castor_License.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt Thu Apr 13 04:34:08 2006
@@ -0,0 +1,8 @@
+ Copyright (c) 2004, Bull S. A., All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/HOWL_License.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt Thu Apr 13 04:34:08 2006
@@ -0,0 +1,11 @@
+ Redistribution and use of this software and associated documentation ("Software"), with or without modification, are permitted provided that the following conditions are met:
+
+   1. Redistributions of source code must retain copyright statements and notices. Redistributions must also contain a copy of this document.
+   2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+   3. The name "DOM4J" must not be used to endorse or promote products derived from this Software without prior written permission of MetaStuff, Ltd. For written permission, please contact dom4j-info@metastuff.com.
+   4. Products derived from this Software may not be called "DOM4J" nor may "DOM4J" appear in their names without prior written permission of MetaStuff, Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
+   5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
+
+THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/dom4j_License.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt Thu Apr 13 04:34:08 2006
@@ -0,0 +1,46 @@
+/**
+ * JDBM LICENSE v1.00
+ *
+ * Redistribution and use of this software and associated documentation
+ * ("Software"), with or without modification, are permitted provided
+ * that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright
+ *    statements and notices.  Redistributions must also contain a
+ *    copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the
+ *    above copyright notice, this list of conditions and the
+ *    following disclaimer in the documentation and/or other
+ *    materials provided with the distribution.
+ *
+ * 3. The name "JDBM" must not be used to endorse or promote
+ *    products derived from this Software without prior written
+ *    permission of Cees de Groot.  For written permission,
+ *    please contact cg@cdegroot.com.
+ *
+ * 4. Products derived from this Software may not be called "JDBM"
+ *    nor may "JDBM" appear in their names without prior written
+ *    permission of Cees de Groot.
+ *
+ * 5. Due credit should be given to the JDBM Project
+ *    (http://jdbm.sourceforge.net/).
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE JDBM PROJECT AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * CEES DE GROOT OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Copyright 2000 (C) Cees de Groot. All Rights Reserved.
+ * Contributions are Copyright (C) 2000 by their associated contributors.
+ *
+ * $Id: jdbm_License.txt 356097 2005-12-12 01:29:03Z jsisson $
+ */

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/doc/license/jdbm_License.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,4 @@
+<%@ page language="java" %>
+<%
+	response.sendRedirect("./portal/welcome");
+%>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/index.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js Thu Apr 13 04:34:08 2006
@@ -0,0 +1,34 @@
+function textElementsNotEmpty(formName, elementNameArray){
+    var obj;
+    for(i in elementNameArray){
+        var elem = elementNameArray[i];
+        obj = eval("document." + formName + "." + elem); 
+        if(isEmptyString(obj.value)){
+            alert(elem + " must not be empty.");
+            obj.focus(); 
+            return false;             
+        }
+    }
+    return true;
+}
+function isEmptyString(value){
+    return value.length < 1;
+}
+function checkIntegral(formName, elementName){
+    var obj = eval("document." + formName + "." + elementName); 
+    if(isIntegral(obj.value)) return true;
+    else{
+        alert(elementName + " must be an integer.");
+        obj.focus();
+        return false;
+    }
+}
+
+function isIntegral(value){
+    var ints = "1234567890";
+    for(i = 0; i < value.length; i++){
+        if(ints.indexOf(value.charAt(i)) < 0) return false;
+    }
+    return true;
+}
+    
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/js/forms.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,141 @@
+<html>
+<head>
+<title>Geronimo Console Login</title>
+<link href="<%=request.getContextPath()%>/main.css" rel="stylesheet" type="text/css">
+<link rel="SHORTCUT ICON" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon"/>
+</head>
+
+<body onload="document.login.j_username.focus()" leftmargin="0" topmargin="0" rightmargin="0">
+
+<form name="login" action="j_security_check" method="POST">
+  <%--  Top table is the banner --%>
+      <TABLE width="100%" HEIGHT="86" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+        <TR>
+          <td height="86" class="LoginLogo" border="0"></td>
+          <td height="86" class="Top" border="0">&nbsp; </TD>
+          <td height="86" class="Top" border="0" width="40">
+<a href="<%=request.getContextPath()%>/about.jsp"><img border="0" src="<%=request.getContextPath()%>/images/head_about_51x86.gif"></a>
+          </td>
+        </TR>
+        <TR>
+          <td>&nbsp;</td>
+          <td>&nbsp;</td>
+        </TR>
+        <TR>
+          <td>&nbsp;</td>
+          <td>&nbsp;</td>
+        </TR>
+      </TABLE>
+
+  <%--  Main body --%>
+  <table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+    <TR CLASS="Content">
+      <td width="30%" >&nbsp;</td>
+
+      <td class="Body" align="CENTER" height="300" valign="top">
+      <TABLE border>
+      <TR>
+      <TD>
+      <table width="550" cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="ReallyDarkBackground"><strong>&nbsp;Log In to the Geronimo Console</td>
+        </tr>
+        <tr>
+          <td class="MediumBackground">&nbsp;</td>
+        </tr>
+        <tr>
+          <td>
+          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
+              <tr>
+                <td width="25%" class="MediumBackground">&nbsp;</td> 
+                <td align="right" class="MediumBackground">&nbsp;</td>
+                <td width="6" class="MediumBackground">&nbsp;</td>
+                <td width="1" class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td width="25%" class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground" ROWSPAN=3 ALIGN="center" ><img border="0" align="center" src="<%=request.getContextPath()%>/images/login_lock_64x55.gif"></td> 
+                <td align="right" class="MediumBackground"><strong>Username</strong></td>
+                <td class="MediumBackground"><strong>:</strong></td>
+                <td width="1" class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground"><input name="j_username" type="text" class="InputField" value="" size="20px" maxlength="25"/></td>
+                <td width="17" class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td align="right" class="MediumBackground"><strong>Password</strong></td>
+                <td class="MediumBackground"><strong>:</strong></td>
+                <td width="1" class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground"><input name="j_password" type="password" class="InputField" value="" size="20px" maxlength="25"/></td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground">&nbsp;</td>
+                <td colspan="4" align="center" class="MediumBackground"><input name="submit" type="submit" value="Login"/></td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+          </table>
+          </td>
+        </tr>
+
+        <tr>
+          <td><font size="1"><STRONG>Welcome to the Geronimo&#8482; Console</FONT></td>
+        </TR>
+        <tr>
+          <TD>
+          <table width="100%"  border="0" cellspacing="1" cellpadding="5">
+            <tr>
+              <td width="5">&nbsp;</td>
+              <td> <strong>GERONIMO&#8482;</strong> is a Java-certified, production-grade platform designed to allow developers to rapidly deploy and manage their applications. The result is an integrated, highly functional application platform that leverages the latest innovations from the open source community and simplifies application deployment and maintenance. </td>
+              <td width="5">&nbsp;</td>
+            </tr>
+
+            <tr>
+              <td>&nbsp;</td>
+              <td>&nbsp;</td>
+              <td>&nbsp;</td>
+            </tr>
+
+            <tr>
+              <td>&nbsp;</td>
+              <td> <strong>Geronimo&#8482;</strong> has integrated the following components:<BR/>
+                &nbsp;&nbsp;&#149;&nbsp; Application server (Apache Geronimo)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Web server and servlet engine (Tomcat)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Web server and servlet engine (Jetty)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; JSP compiler (Jasper)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Relational database (Apache Derby)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Messaging (ActiveMQ)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; User management services<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Centralized administration console<br/>
+              <td>&nbsp;</td>
+            </tr>
+          </table>
+          </TD>
+        </TR>
+      </table>
+      </TD>
+      </TR>
+      </TABLE>
+      </td>
+
+      <td width="30%" >&nbsp;</td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/login.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,6 @@
+<HTML>
+<HEAD><TITLE>Login Successful</TITLE></HEAD>
+<BODY>
+Login Successfull. <a href="<%=request.getContextPath()%>/portal/test"> Click here to return to the portal tests.</A>
+</BODY>
+</HTML>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/login_success.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,141 @@
+<html>
+<head>
+<title>Geronimo Console Login</title>
+<link href="<%=request.getContextPath()%>/main.css" rel="stylesheet" type="text/css">
+<link rel="SHORTCUT ICON" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon"/>
+</head>
+
+<body onload="document.login.j_username.focus()" leftmargin="0" topmargin="0" rightmargin="0">
+
+<form name="login" action="j_security_check" method="POST">
+  <%--  Top table is the banner --%>
+      <TABLE width="100%" HEIGHT="86" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+        <TR>
+          <td height="86" class="LoginLogo" border="0"></td>
+          <td height="86" class="Top" border="0">&nbsp; </TD>
+          <td height="86" class="Top" border="0" width="40">
+<a href="<%=request.getContextPath()%>/about.jsp"><img border="0" src="<%=request.getContextPath()%>/images/head_about_51x86.gif"></a>
+          </td>
+        </TR>
+        <TR>
+          <td>&nbsp;</td>
+          <td>&nbsp;</td>
+        </TR>
+        <TR>
+          <td>&nbsp;</td>
+          <td>&nbsp;</td>
+        </TR>
+      </TABLE>
+
+  <%--  Main body --%>
+  <table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+    <TR CLASS="Content">
+      <td width="30%" >&nbsp;</td>
+
+      <td class="Body" align="CENTER" height="300" valign="top">
+      <TABLE border>
+      <TR>
+      <TD>
+      <table width="550" cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="ReallyDarkBackground"><strong>&nbsp;Log In to the Geronimo Console</td>
+        </tr>
+        <tr>
+          <td class="MediumBackground" align="center"><font color="red"><b><i>Invalid Username and/or Password!</i></b></font></td>
+        </tr>
+        <tr>
+          <td>
+          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
+              <tr>
+                <td width="25%" class="MediumBackground">&nbsp;</td> 
+                <td align="right" class="MediumBackground">&nbsp;</td>
+                <td width="6" class="MediumBackground">&nbsp;</td>
+                <td width="1" class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td width="25%" class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground" ROWSPAN=3 ALIGN="center" ><img border="0" align="center" src="<%=request.getContextPath()%>/images/login_lock_64x55.gif"></td> 
+                <td align="right" class="MediumBackground"><strong>Username</strong></td>
+                <td class="MediumBackground"><strong>:</strong></td>
+                <td width="1" class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground"><input name="j_username" type="text" class="InputField" value="" size="20px" maxlength="25"/></td>
+                <td width="17" class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td align="right" class="MediumBackground"><strong>Password</strong></td>
+                <td class="MediumBackground"><strong>:</strong></td>
+                <td width="1" class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground"><input name="j_password" type="password" class="InputField" value="" size="20px" maxlength="25"/></td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground">&nbsp;</td>
+                <td colspan="4" align="center" class="MediumBackground"><input name="submit" type="submit" value="Login"/></td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+              <tr>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+                <td class="MediumBackground">&nbsp;</td>
+              </tr>
+          </table>
+          </td>
+        </tr>
+
+        <tr>
+          <td><font size="1"><STRONG>Welcome to the Geronimo&#8482; Console</FONT></td>
+        </TR>
+        <tr>
+          <TD>
+          <table width="100%"  border="0" cellspacing="1" cellpadding="5">
+            <tr>
+              <td width="5">&nbsp;</td>
+              <td> <strong>GERONIMO&#8482;</strong> is a Java-certified, production-grade platform designed to allow developers to rapidly deploy and manage their applications. The result is an integrated, highly functional application platform that leverages the latest innovations from the open source community and simplifies application deployment and maintenance. </td>
+              <td width="5">&nbsp;</td>
+            </tr>
+
+            <tr>
+              <td>&nbsp;</td>
+              <td>&nbsp;</td>
+              <td>&nbsp;</td>
+            </tr>
+
+            <tr>
+              <td>&nbsp;</td>
+              <td> <strong>Geronimo&#8482;</strong> has integrated the following components:<BR/>
+                &nbsp;&nbsp;&#149;&nbsp; Application server (Apache Geronimo)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Web server and servlet engine (Tomcat)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Web server and servlet engine (Jetty)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; JSP compiler (Jasper)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Relational database (Apache Derby)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Messaging (ActiveMQ)<br/>
+                &nbsp;&nbsp;&#149;&nbsp; User management services<br/>
+                &nbsp;&nbsp;&#149;&nbsp; Centralized administration console<br/>
+              <td>&nbsp;</td>
+            </tr>
+          </table>
+          </TD>
+        </TR>
+      </table>
+      </TD>
+      </TR>
+      </TABLE>
+
+      <td width="30%" >&nbsp;</td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>
+

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/loginerror.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,5 @@
+<%@ page language="java" %>
+<%
+    request.getSession().invalidate();
+	response.sendRedirect("./portal/welcome");
+%>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/logout.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-framework/src/webapp/main.css
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/main.css?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/main.css (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/main.css Thu Apr 13 04:34:08 2006
@@ -0,0 +1,484 @@
+body 
+{
+	/*background-color: #FFFFFF;*/
+}
+
+.BrightTitle
+{
+	color: #FFFFFF;
+	background-color: #5FA3D6;
+	font-size: 11px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+}
+
+.BrightTitle a:hover
+{
+	color: #5FA3D6;
+}
+
+.BrightBox
+{
+	border: thin solid #5FA3D6;
+}
+
+td
+{
+	font-size: 11px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+}
+
+a:link, a:visited
+{
+	color: #204486;
+}
+
+a:hover 
+{
+	/*color: #5FA3D6;*/
+	color: #CF820A;
+}
+
+.Logo
+{
+	background-image:url("images/head_left_754x86.gif");
+	background-repeat: no-repeat;
+	width: 570px;
+	height: 86px;
+	font-size: 35px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	text-align: right;
+	vertical-align: bottom; 
+	line-height: 30px;
+	font-weight: bold;
+}
+
+.LoginLogo
+{
+	background-image:url("images/head_left_login_586x86.gif");
+	background-repeat: no-repeat;
+	width: 570px;
+	height: 86px;
+	font-size: 35px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	text-align: right;
+	vertical-align: bottom; 
+	line-height: 30px;
+	font-weight: bold;
+}
+
+.Top
+{
+	background-image:url("images/head_bgstretch_1x86.gif");
+	background-repeat: repeat-x;
+	height: 86px;
+	font-size: 11px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	text-align: right;
+	vertical-align: bottom;
+	font-weight: bold;
+}
+
+.Top a:link, .Top a:visited, .Top a:hover
+{
+        color: #FFFFFF;
+        font-size: 11px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+        text-decoration: underline;
+        text-align: left;
+        vertical-align: bottom;
+        line-height: 30px;
+        font-weight: bold;
+}
+
+.TopSpacer
+{
+	height: 20px;
+}
+
+.Hidden
+{
+	visibility: hidden;
+	height: 0px;
+	line-height: 0px;
+	display: none;
+}
+
+.Menu .Selection
+{
+        background-color: #F2F2F2;
+	font-size: 12px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+}
+
+.Menu .Selection .CollapsedLeft
+{
+	width: 12px;
+	height: 12px;
+	color: #000000;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .Indent
+{
+	width: 2px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .CollapsedRight
+{
+	width: 8px;
+	height: 12px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .TopLeft
+{
+	width: 8px;
+	height: 16px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .TopMiddle
+{
+	color: #000000;
+	text-decoration: none;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .TopMiddle a:link, 
+.Menu .Selection .TopMiddle a:visited, 
+{
+	color: #000000;
+	line-height: 20px;
+	font-size: 12px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .TopMiddle a:hover
+{
+	color: #5FA3D6;
+}
+
+.Menu .Selection .TopRight
+{
+	width: 8px;
+	height: 16px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Selection .Spacer
+{
+	height: 5px;
+}
+
+.Menu .Hidden
+{
+	visibility: hidden;
+	height: 0px;
+	display: none;
+}
+
+.Menu .Subselection .Left
+{
+	width: 12px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Subselection .Indent
+{
+	width: 2px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Subselection .Middle
+{
+	font-size: 12px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+        background-color: #F2F2F2;
+	color:#000000;
+}
+
+.Menu .Subselection .Middle a:link, 
+.Menu .Subselection .Middle a:visited, 
+{
+	line-height: 20px;
+	color: #000000;
+}
+
+.Menu .Subselection .Middle a:hover
+{
+	color: #5FA3D6;
+}
+
+.Menu .Subselection .Right
+{
+	width: 8px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Subselection .BottomLeft
+{
+	width: 8px;
+	height: 8px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Subselection .BottomMiddle
+{
+	height: 8px;
+        background-color: #F2F2F2;
+}
+
+.Menu .Subselection .BottomRight
+{
+	width: 8px;
+	height: 8px;
+        background-color: #F2F2F2;
+}
+
+.Gutter
+{
+	width: 5px;
+}
+
+.Content .TopLeft
+{
+	width: 18px;
+	height: 18px;
+	line-height: 18px;
+        background-color: #000000;
+}
+
+.Content .Title
+{
+	font-size: 12px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	background-color: #000000;
+	color: #FFFFFF;
+	height: 18px;
+	line-height: 18px;
+}
+
+.Content .Title a:link, .Content .Title a:hover, .Content .Title a:visited
+{
+	font-size: 12px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	background-color: #000000;
+	color: #FFFFFF;
+	height: 18px;
+	line-height: 18px;
+}
+
+.Content .Title .Indent
+{
+	width: 20px;
+}
+
+.Content .TopRight
+{
+	width: 18px;
+	height: 18px;
+        background-color:#000000;
+}
+
+.Content .CollapsedLeft
+{
+	width: 18px;
+	height: 18px;
+        background-color:#000000;
+}
+
+.Content .CollapsedRight
+{
+	width: 18px;
+	height: 18px;
+        background-color:#000000;
+}
+
+.Content .Left
+{
+	width: 18px;
+	background-color: #FFFFFF;
+}
+
+.Content .Body, .Content .Body td
+{
+	font-size: 12px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	background-color: #FFFFFF;
+	color: #1E1E52;
+}
+
+.Content .Body strong
+{
+	font-weight: bold;  
+	font-size: 12px;
+}
+
+.Content .Body th
+{
+	font-weight: bold;  
+	font-size: 12px;
+}
+
+.Content .Body .LightBackground
+{
+        background-color: #FFFFFF;
+	color:#000000;
+}
+
+.Content .Body .LightBackground .InputField
+{
+  width: 150px;
+}
+
+.Content .Body .MediumBackground
+{
+	background-color: #F2F2F2;
+	color:#000000;
+}
+
+.Content .Body .DarkBackground, 
+.Content .Body .DarkBackground a:link, 
+.Content .Body .DarkBackground a:visited,
+.Content .Body .DarkBackground a:hover
+{
+	background-color: #2581C7;
+	color:#FFFFFF;
+	font-size: 15px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+}
+
+.Content .Body .reallyDarkBackground,
+.Content .ReallyDarkBackground,
+.ReallyDarkBackground
+{
+	color: #FFFFFF;
+	background-color: #000000;
+	font-size: 15px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+}
+
+.Content .Body .IndentedTitle
+{
+	background-color: #919FBC;
+	color:#FFFFFF;
+}
+
+.Content .Body .LightIndentedBG
+{
+	background-color: #FFFFFF;
+	color:#000000;
+}
+
+.Content .Body .MediumIndentedBG
+{
+	background-color: #DDDDDD;
+	color:#000000;
+}
+
+
+.Content .Body a:link,
+.Content .Body a:visited,
+{
+	font-size: 10px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	text-decoration: underline;
+	color: #546BC7;
+	font-weight: bold;
+}
+
+.Content .Body a:hover
+{
+	color: #5FA3D6;
+}
+
+.Content .Buttons {
+	border-top-width: thin;
+	border-right-width: thin;
+	border-bottom-width: thin;
+	border-left-width: thin;
+	border-top-style: solid;
+	border-right-style: solid;
+	border-bottom-style: solid;
+	border-left-style: solid;
+	border-top-color: #7B7BAE;
+	border-right-color: #7B7BAE;
+	border-bottom-color: #141336;
+	border-left-color: #141336;
+	background-color: #23224C;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	font-size: 12px;
+  text-decoration: underline;
+	color: #5FA3D6;
+}
+
+.Content .Right
+{
+	width: 18px;
+	background-color: #FFFFFF;
+}
+
+.Content .BottomLeft
+{
+	width: 18px;
+	height: 12px;
+	line-height: 12px;
+	background-color:#333366;
+}
+
+.Content .Footer
+{
+	line-height: 12px;
+	height: 12px;
+	font-size: 9px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	background-color:#333366;
+	color:#000000;
+}
+
+.Content .Footer a:link,
+.Content .Footer a:visited,
+.Content .Footer a:hover
+{
+	color: #5FA3D6;
+}
+
+.Content .BottomRight
+{
+	width: 18px;
+	line-height: 12px;
+	height: 12px;
+	background-color:#333366;
+}
+
+.Content .Spacer
+{
+	height: 10px;
+}
+
+.BottomSpacer
+{
+}
+
+.Footer
+{
+	font-size: 9px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	height: 20px;
+	background-color: #5FA3D6;
+}
+
+.Footer a:link, 
+.Footer a:visited, 
+.Footer a:hover
+{
+	color: #5FA3D6;
+	text-decoration: underline;	
+}
+
+.Box
+{
+	border: thin solid #000000;
+}

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/main.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/main.css
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/main.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css (added)
+++ geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css Thu Apr 13 04:34:08 2006
@@ -0,0 +1,31 @@
+BODY, P, TH, TD {
+    font-family: arial, helvetica, sans-serif;
+    text-align: left;
+}
+
+.BODY, .P, .TD {
+    font-size: 12px;
+}
+
+TABLE {
+    width: 100%;
+    padding: 2px 3px;
+    border-collapse:collapse;
+    border-spacing: 3px 3px;
+}
+
+
+.banner, .banner TD, .banner A:link, .banner A:visited, .banner A:hover {
+    background-color: #DDDDDD;
+    color: #36a;
+}
+
+.nav, .nav TD, .nav A:link, .nav A:visited, .nav A:hover {
+    background-color: #DDDDDD;
+    color: #36a;
+}
+
+.small {
+    font-size: -1;
+}
+

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-framework/src/webapp/pluto_style.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: geronimo/trunk/applications/console/console-standard/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/pom.xml?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/pom.xml (added)
+++ geronimo/trunk/applications/console/console-standard/pom.xml Thu Apr 13 04:34:08 2006
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  
+    Copyright 2006 The Apache Software Foundation
+    
+    Licensed 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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project>
+  <parent>
+    <groupId>org.apache.geronimo.applications.console</groupId>
+    <artifactId>console-parent</artifactId>
+    <version>1.2-SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>geronimo-console-standard</artifactId>
+  <packaging>war</packaging>
+  <version>1.2-SNAPSHOT</version>
+  <name>Geronimo :: Console :: Standard Portlets</name>
+
+  <dependencies>
+    
+
+
+    <dependency>
+      <groupId>org.apache.geronimo.applications.console</groupId>
+      <artifactId>geronimo-console-core</artifactId>
+      <version>${geronimoVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>castor</groupId>
+      <artifactId>castor</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>tomcat</groupId>
+      <artifactId>jasper-runtime</artifactId>
+      <version>${jasperVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>tomcat</groupId>
+      <artifactId>jasper-compiler</artifactId>
+      <version>${jasperVersion}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.geronimo.modules</groupId>
+      <artifactId>geronimo-jetty</artifactId>
+      <version>${geronimoVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.modules</groupId>
+      <artifactId>geronimo-converter</artifactId>
+      <version>${geronimoVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.modules</groupId>
+      <artifactId>geronimo-derby</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.modules</groupId>
+      <artifactId>geronimo-deploy-jsr88</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>commons-digester</groupId>
+      <artifactId>commons-digester</artifactId>
+      <version>${commonsDigesterVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-fileupload</groupId>
+      <artifactId>commons-fileupload</artifactId>
+      <version>${commonsFileuploadVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>${commonsIoVersion}</version>
+    </dependency>
+
+    <!-- JMS dependencies -->
+    <dependency>
+      <groupId>activemq</groupId>
+      <artifactId>activemq-core</artifactId>
+      <version>${activeMqVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+
+
+    <!-- Used to pre compile JSPs -->
+    <dependency>
+      <groupId>taglibs</groupId>
+      <artifactId>standard</artifactId>
+      <version>${standardTaglibsVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jstl</artifactId>
+      <version>${jstlVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>dwr</groupId>
+      <artifactId>dwr</artifactId>
+      <version>${dwrVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-el</groupId>
+      <artifactId>commons-el</artifactId>
+      <version>${commonsElVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.pluto</groupId>
+      <artifactId>pluto</artifactId>
+      <version>${plutoVersion}</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>${basedir}/src/conf</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+
+    <plugins>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>process-resources</id>
+            <phase>process-test-resources</phase>
+            <configuration>
+              <tasks>
+                <echo message="classpath=${project.compileClasspathElements}" file="classpath.properties"/>
+                <ant antfile="${basedir}/src/precompileJSP.xml" inheritRefs="true">
+                  <property name="pom.artifactId" value="${pom.artifactId}"/>
+                  <property name="outDir"  value="${basedir}/target/${pom.artifactId}-${pom.version}/WEB-INF/work"/>
+                  <property name="maven.compile.optimize" value="${maven.compile.optimize}"/>
+                  <property name="maven.compile.deprecation" value="${maven.compile.deprecation}"/>
+                </ant>
+                <delete file="classpath.properties" failonerror="false" />
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Propchange: geronimo/trunk/applications/console/console-standard/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties (added)
+++ geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties Thu Apr 13 04:34:08 2006
@@ -0,0 +1,3 @@
+provider.activemq.name=ActiveMQ
+provider.activemq.rar=activemq/activemq-ra/${activeMqVersion}/rar
+provider.activemq.dependency=geronimo/activemq-broker/${geronimoVersion}/car

Propchange: geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/conf/jms-resource-providers.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java (added)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java Thu Apr 13 04:34:08 2006
@@ -0,0 +1,112 @@
+/**
+ *
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.geronimo.console;
+
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletRequest;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import org.apache.geronimo.console.util.PortletManager;
+import org.apache.geronimo.management.geronimo.WebContainer;
+
+/**
+ * Superclass with some generic functionality for console portlets
+ *
+ * @version $Rev$ $Date$
+ */
+public class BasePortlet extends GenericPortlet {
+    private final static Log log = LogFactory.getLog(BasePortlet.class);
+    protected final static String WEB_SERVER_JETTY = "jetty";
+    protected final static String WEB_SERVER_TOMCAT = "tomcat";
+    protected final static String WEB_SERVER_GENERIC = "generic";
+
+    protected final static String getWebServerType(Class cls) {
+        Class[] intfs = cls.getInterfaces();
+        for (int i = 0; i < intfs.length; i++) {
+            Class intf = intfs[i];
+            if(intf.getName().indexOf("Jetty") > -1) {
+                return WEB_SERVER_JETTY;
+            } else if(intf.getName().indexOf("Tomcat") > -1) {
+                return WEB_SERVER_TOMCAT;
+            }
+        }
+        return WEB_SERVER_GENERIC;
+    }
+
+    public final static void setProperty(Object target, String name, Object value) {
+        boolean found = false;
+        Class cls = target.getClass();
+        String setter = "set"+Character.toUpperCase(name.charAt(0))+name.substring(1);
+        Method[] list = cls.getMethods();
+        for (int i = 0; i < list.length; i++) {
+            Method method = list[i];
+            if(method.getName().equals(setter) && method.getParameterTypes().length == 1 && Modifier.isPublic(method.getModifiers()) &&
+                    !Modifier.isStatic(method.getModifiers())) {
+                found = true;
+                try {
+                    method.invoke(target, new Object[]{value});
+                } catch (Exception e) {
+                    log.error("Unable to set property "+name+" on "+target.getClass().getName());
+                }
+                break;
+            }
+        }
+        if(!found) {
+            throw new IllegalArgumentException("No such method found ("+setter+" on "+target.getClass().getName()+")");
+        }
+    }
+
+    public final static Object getProperty(Object target, String name) {
+        Class cls = target.getClass();
+        String getter = "get"+Character.toUpperCase(name.charAt(0))+name.substring(1);
+        Method[] list = cls.getMethods();
+        for (int i = 0; i < list.length; i++) {
+            Method method = list[i];
+            if(method.getName().equals(getter) && method.getParameterTypes().length == 0 && Modifier.isPublic(method.getModifiers()) &&
+                    !Modifier.isStatic(method.getModifiers())) {
+                try {
+                    return method.invoke(target, new Object[0]);
+                } catch (Exception e) {
+                    log.error("Unable to get property "+name+" on "+target.getClass().getName());
+                }
+                break;
+            }
+        }
+        throw new IllegalArgumentException("No such method found ("+getter+" on "+target.getClass().getName()+")");
+    }
+
+    public final static Object callOperation(Object target, String operation, Object[] args) {
+        Class cls = target.getClass();
+        Method[] list = cls.getMethods();
+        for (int i = 0; i < list.length; i++) {
+            Method method = list[i];
+            if(method.getName().equals(operation) && ((args == null && method.getParameterTypes().length == 0) || (args != null && args.length == method.getParameterTypes().length))
+                    && Modifier.isPublic(method.getModifiers()) && !Modifier.isStatic(method.getModifiers())) {
+                try {
+                    return method.invoke(target, args);
+                } catch (Exception e) {
+                    log.error("Unable to invoke "+operation+" on "+target.getClass().getName());
+                }
+                break;
+            }
+        }
+        throw new IllegalArgumentException("No such method found ("+operation+" on "+target.getClass().getName()+")");
+    }
+}

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/BasePortlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java (added)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java Thu Apr 13 04:34:08 2006
@@ -0,0 +1,34 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */
+package org.apache.geronimo.console;
+
+import java.io.IOException;
+import javax.portlet.GenericPortlet;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.PortletException;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class EmptyPortlet extends GenericPortlet {
+    protected void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException {
+        renderResponse.setContentType("text/html");
+        renderResponse.getWriter().println("<p>This portlet is not yet implemented</p>");
+        renderResponse.getWriter().println("<p>I am currently using <tt>"+getClass().getName()+"</tt></p>");
+    }
+}

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/EmptyPortlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java (added)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java Thu Apr 13 04:34:08 2006
@@ -0,0 +1,9 @@
+package org.apache.geronimo.console;
+
+/**
+ */
+public final class GeronimoVersion {
+
+    public final static String GERONIMO_VERSION = "1.2-SNAPSHOT";
+
+}

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/GeronimoVersion.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java (added)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java Thu Apr 13 04:34:08 2006
@@ -0,0 +1,91 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */
+package org.apache.geronimo.console;
+
+import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletException;
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.enterprise.deploy.spi.status.ProgressObject;
+import java.io.IOException;
+
+/**
+ * ReplaceMe
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class MultiPageAbstractHandler {
+    protected final static String BEFORE_ACTION="-before";
+    protected final static String AFTER_ACTION="-after";
+    protected PortletRequestDispatcher view;
+    private final String mode;
+    private final String viewName;
+
+    protected MultiPageAbstractHandler(String mode, String viewName) {
+        this.mode = mode;
+        this.viewName = viewName;
+    }
+
+    public String getMode() {
+        return mode;
+    }
+
+    public void init(PortletConfig portletConfig) throws PortletException {
+        if(viewName != null) {
+            view = portletConfig.getPortletContext().getRequestDispatcher(viewName);
+        }
+    }
+
+    public void destroy() {
+        view = null;
+    }
+
+    public PortletRequestDispatcher getView() {
+        return view;
+    }
+
+    protected static boolean isEmpty(String s) {
+        return s == null || s.trim().equals("");
+    }
+
+    /**
+     * Returns the mode for the next screen to render (usually this one)
+     */
+    public abstract String actionBeforeView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException;
+
+    public abstract void renderView(RenderRequest request, RenderResponse response, MultiPageModel model) throws PortletException, IOException;
+
+    /**
+     * Returns the mode for the next screen to render (usually the one after this in the sequence)
+     */
+    public abstract String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException;
+
+
+    protected static void waitForProgress(ProgressObject po) {
+        while(po.getDeploymentStatus().isRunning()) {
+            try {
+                Thread.sleep(100);
+            } catch (InterruptedException e) {
+                e.printStackTrace();
+            }
+        }
+    }
+
+}

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageAbstractHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java (added)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java Thu Apr 13 04:34:08 2006
@@ -0,0 +1,28 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */
+package org.apache.geronimo.console;
+
+import javax.portlet.ActionResponse;
+
+/**
+ * Interface for models for multi-page portlets.
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MultiPageModel {
+    public void save(ActionResponse response);
+}

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPageModel.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java (added)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java Thu Apr 13 04:34:08 2006
@@ -0,0 +1,130 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */
+package org.apache.geronimo.console;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
+import javax.portlet.PortletException;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+import javax.portlet.WindowState;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletRequest;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.io.IOException;
+
+/**
+ * A base class for porlets consisting on multiple JSPs with before and after
+ * actions (e.g. for load and validation/save) and the ability for an "after"
+ * action to set the next page to load.
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class MultiPagePortlet extends BasePortlet {
+    private final static Log log = LogFactory.getLog(MultiPagePortlet.class);
+    protected static final String MODE_KEY = "mode";
+    protected Map helpers = new HashMap();
+
+    public void destroy() {
+        for (Iterator it = helpers.values().iterator(); it.hasNext();) {
+            MultiPageAbstractHandler handler = (MultiPageAbstractHandler) it.next();
+            handler.destroy();
+        }
+        helpers.clear();
+        super.destroy();
+    }
+
+    public void processAction(ActionRequest actionRequest,
+                              ActionResponse actionResponse) throws PortletException, IOException {
+        String mode = actionRequest.getParameter(MODE_KEY);
+        MultiPageModel model = getModel(actionRequest);
+        while(true) {
+            if(mode == null) {
+                break;
+            }
+            int pos = mode.lastIndexOf('-');
+            if(pos == -1) { // Assume it's a render request
+                break;
+            } else {
+                String type = mode.substring(pos+1);
+                mode = mode.substring(0, pos);
+                MultiPageAbstractHandler handler = (MultiPageAbstractHandler) helpers.get(mode);
+                if(handler == null) {
+                    log.error("No handler for action mode '"+mode+"'");
+                    break;
+                }
+                log.debug("Using action handler '"+handler.getClass().getName()+"'");
+                if(type.equals("before")) {
+                    mode = handler.actionBeforeView(actionRequest, actionResponse, model);
+                } else if(type.equals("after")) {
+                    mode = handler.actionAfterView(actionRequest, actionResponse, model);
+                } else {
+                    log.error("Unrecognized portlet action '"+mode+"'");
+                    mode = null;
+                }
+            }
+        }
+        if(mode != null) {
+            actionResponse.setRenderParameter(MODE_KEY, mode);
+        }
+        model.save(actionResponse);
+    }
+
+    protected void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException {
+        if (WindowState.MINIMIZED.equals(renderRequest.getWindowState())) {
+            return;
+        }
+        String mode = renderRequest.getParameter(MODE_KEY);
+        MultiPageModel model = getModel(renderRequest);
+        if(mode == null || mode.equals("")) {
+            mode = getDefaultMode();
+        }
+        MultiPageAbstractHandler handler = (MultiPageAbstractHandler) helpers.get(mode);
+        try {
+            if(handler == null) {
+                log.error("No handler for render mode '"+mode+"'");
+            } else {
+                log.debug("Using render handler '"+handler.getClass().getName()+"'");
+                handler.renderView(renderRequest, renderResponse, model);
+            }
+        } catch (Throwable e) {
+            log.error("Unable to render portlet", e);
+        }
+        renderRequest.setAttribute("data", model);
+        if(handler != null) {
+            handler.getView().include(renderRequest, renderResponse);
+        }
+    }
+
+    protected void addHelper(MultiPageAbstractHandler handler, PortletConfig config) throws PortletException {
+        handler.init(config);
+        helpers.put(handler.getMode(), handler);
+    }
+
+    protected String getDefaultMode() {
+        if(helpers.containsKey("list")) return "list";
+        if(helpers.containsKey("index")) return "index";
+        return null;
+    }
+
+    protected abstract MultiPageModel getModel(PortletRequest request);
+}

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/MultiPagePortlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message