incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r392982 [23/25] - in /incubator/lokahi/lokahi/trunk: ./ conf/ database/ docs/ lib/ src/ src/java/ src/java/lokahi/ src/java/lokahi/core/ src/java/lokahi/core/agent/ src/java/lokahi/core/agent/callable/ src/java/lokahi/core/agent/callable/co...
Date Mon, 10 Apr 2006 16:20:11 GMT
Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/addToProject.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/addToProject.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/addToProject.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/addToProject.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,265 @@
+##
+## 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.
+##
+## $Id: addToProject.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/UserTop.vm")
+#set ($pageSelected = "Groups")
+#parse("/layout/header.vm")
+
+#if ($request.getParameter("project"))
+#set ($projectId = $request.getParameter("project"))
+#end
+
+#if ($request.getParameter("seluser"))
+#set ($selUserId = $request.getParameter("seluser"))
+#end
+
+#if ($request.getParameter("env"))
+#set ($envname = $request.getParameter("env"))
+#end
+
+#if ($request.getParameter("tryuser"))
+#set ($tryuser = $request.getParameter("tryuser"))
+#set ($user = $User.getUser($tryuser))
+#set ($selUserId = $user.getPk())
+
+#end
+
+
+<SCRIPT LANGUAGE=javascript>
+<!--
+function OnChange(dropdown)
+{
+        var myindex  = dropdown.selectedIndex;
+        var SelValue = dropdown.options[myindex].value;
+        var baseURL  = "$appRoot/Core/User/addToProject.vm?project=" + SelValue;
+        top.location.href = baseURL;
+
+        return true;
+}
+
+function OnClickUser()
+{
+        //var myindex  = dropdown.selectedIndex;
+        //var SelValue = dropdown.options[myindex].value;
+        var isid = document.Form.userId.value;
+        var baseURL = "";
+
+        var baseURL = "$appRoot/Core/User/addToProject.vm?project=$projectId&tryuser=" + isid;
+
+
+        top.location.href = baseURL;
+
+        return true;
+}
+
+function OnChangeEnv(dropdown)
+{
+        var myindex  = dropdown.selectedIndex;
+        var SelValue = dropdown.options[myindex].value;
+        var baseURL  = "$appRoot/Core/User/addToProject.vm?project=$projectId&tryuser=$tryuser&seluser=$!{selUserId}&env=" + SelValue;
+        top.location.href = baseURL;
+
+        return true;
+}
+
+function handleEnter (field, event) {
+                var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
+                if (keyCode == 13) {
+                        var i;
+                        for (i = 0; i < field.form.elements.length; i++)
+                                if (field == field.form.elements[i])
+                                        break;
+                        i = (i + 1) % field.form.elements.length;
+                        field.form.elements[i].focus();
+                        return false;
+                }
+                else
+                return true;
+        }
+
+//-->
+</SCRIPT>
+
+<div id="bigright">
+<div class="messagebox">
+<form name="Form" method="post" action='$link.setAction("User/AddUserToProjectAction")'>
+<input type="hidden" name="methodToCall" value="AddUserToProject">
+#if ($projectId)
+#set ($project = $User.getProject($projectId))
+ <input type="hidden" name="projectId" value="$projectId">Project: $project.getName() <br>
+#else
+Project:
+<select name=projectId onchange='OnChange(this);'>
+<option value="">Select one
+ #foreach($project in $User.getAdministratableProjects().orderByName().values())
+  <option value="$project.getPk()">$project.getName()
+ #end
+</select><br>
+#end
+<BR>
+
+
+#if ($projectId)
+
+
+
+        #if($tryuser)
+        $tryuser
+        <input type=hidden name="userName" value="$tryuser">
+        #set($user = $User.getUser($tryuser))
+                #if ($user)
+                        <input type=hidden name="selUserId" value="$user.getPk()">
+                #end
+        #else
+                User ID:&nbsp;<input type="text" name="userId" size="11"  onkeypress="return handleEnter(this, event)">
+                <br><input type=button value="Add User" onClick='OnClickUser()'>
+
+        #end
+#end
+
+<br>
+
+#if($projectId && ($selUserId || $tryuser) && ! $envname)
+Environment:
+        <select name=env onchange='OnChangeEnv(this)'>
+        <option value="">Select one
+          <option value="all">All
+         #foreach($entry in $view.getEnvironments())
+          <option value="$entry.getName()">$entry.getName()
+         #end
+        </select><br>
+#end
+
+<br>
+#if ($selUserId && $envname)
+
+#if($User.isAllowed("AddUserToProject",$projectId))
+<!-- Individual Stuff -->
+#if ($User.isAllowed("AddUserToProject"))
+        <table>
+        #if ($projectId)
+        #set ($project = $User.getProject($projectId))
+        <tr class=info>$envname Contexts
+        #foreach($context in $project.getTomcatContexts())
+        <TR>
+
+        #if ($!{context.getEnv().getName()} == $envname || $envname == 'all')
+        <TD><b> $context.getName() - $!{context.getEnv().getName()}</b></td><td>&nbsp;</td>
+        #set ($availFunctions = "")
+        #set ($availFunctions = $User.getContextFunctions($projectId,$context))
+        #set ($count = 1)
+        <td align="right">
+        #foreach($function in $availFunctions)
+                #if($user && $user.isAllowed($function, $project, $context))
+                $function.getName()&nbsp;<input type=checkbox name=contextFunction value="$context.getPk(),$function.getPk()" checked> <br>
+                #else
+                $function.getName()&nbsp;<input type=checkbox name=contextFunction value="$context.getPk(),$function.getPk()"> <br>
+                #end
+                #if(($count % 3) == 0)
+                </TD>
+                <td align="right">
+                #end
+                #set ($count = $math.add($count, 1))
+        #end
+        </td>
+
+        #end ## end of env selection
+        </tr>
+
+</TR>
+        #end
+</table>
+#end
+<BR><BR>
+        <table>
+        #if ($projectId)
+        <tr class=info>$envname Virtualhosts
+        #foreach($vhost in $project.getVirtualHosts())
+        <TR>
+
+        #if ($!{vhost.getEnv().getName()} == $envname || $envname == 'all')
+        <TD><b> $vhost.getName() - $!{vhost.getEnv().getName()}</b></td><td>&nbsp;</td>
+        #set ($availFuntions = "")
+        #set ($availFunctions = $User.getVhostFunctions($projectId,$vhost))
+        #set ($count = 1)
+        <td align="right">
+        #foreach($function in $availFunctions)
+                #if($user && $user.isAllowed($function, $project, $vhost))
+                $function.getName()&nbsp;<input type=checkbox name=vhostFunctions value="$vhost.getPk(),$function.getPk()" checked> <br>
+                #else
+                $function.getName()&nbsp;<input type=checkbox name=vhostFunctions value="$vhost.getPk(),$function.getPk()"> <br>
+                #end
+                #if(($count % 3) == 0)
+                </TD>
+                <td align="right">
+                #end
+                #set ($count = $math.add($count, 1))
+        #end
+        </td>
+
+        #end ## end of env selection
+        </tr>
+
+</TR>
+        #end
+</table>
+<input type="submit" value="Submit">
+
+#end
+#else
+
+<table>
+<tr><td colspan=3>Project Functions</td></tr>
+#set ($userFunctions1 = $User.getAllowedFunctions($project))
+<tr>
+<td width="45%" align="center">
+<br> Assigned <br><br>
+<select name="ExistProjectFunctions" size=7 scrolling="auto" multiple style="width:220px">
+</select>
+</td>
+
+<td width="10%" align=center>
+<br> Changes take place immediately.<br><br>
+<input type="Submit" name="DeleteFromUser" value="DeleteFromUser -->" class="button" onblur="this.blur()" onfocus="this.blur()"><br><br>
+<input type="Submit" name="AddToUser" value="<-- AddToUser" class="button" onblur="this.blur()" onfocus="this.blur()">
+</td>
+<td width="45%" align=center >
+<b> Available </b> <br>
+<select name="ProjectFunctions" size=7 scrolling="auto" multiple style="width:220px">
+
+#foreach($func1 in $userFunctions1)
+<option value=$func1.getName()>$func1.getName()
+#end
+</select>
+</td>
+</tr>
+
+</table>
+#end
+
+
+
+
+#end ##end If for Is allowed toproject
+
+#end
+
+</form>
+</div>
+</div>
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/confirm.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/confirm.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/confirm.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/confirm.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,27 @@
+##
+## 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.
+##
+## $Id: confirm.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#if ($User.isAllowed($function) && $methodToCall && $actionLink)
+<form name="Form" method="post" action='$link.setAction($actionLink)'>
+<input type=hidden name="methodToCall" value="$methodToCall" >
+<input type="submit" value="$buttonName"><BR>
+$methodToCall
+<input type=hidden name=id value="$individual.getPk()" >&nbsp;&nbsp;
+$individual.getName()
+</form>
+#end
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/delete.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/delete.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/delete.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/delete.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,24 @@
+##
+## 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.
+##
+## $Id: delete.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set($actionLink = "administration/User/Delete")
+#set($methodToCall = "DeleteUser")
+#set($buttonName = "Delete")
+#set ($function = "DeleteUser")
+#parse("Core/User/list.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/details.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/details.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/details.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/details.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,60 @@
+##
+## 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.
+##
+## $Id: details.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/UserTop.vm")
+#set ($pageSelected = "User")
+#parse("/layout/header.vm")
+<div id="center">
+<div class="messagebox">
+#set ($id = $request.getParameter("id"))
+
+#if($id)
+#set ($methodToCall = "UpdateUser")
+#set ($u = $view.getUserById($id))
+
+#if ($User.isAllowed("ViewUser"))
+User Name: $!{u.getName()}<br>
+First Name: $!{u.getFirstName()}<br>
+Last Name: $!{u.getLastName()}<br>
+Email Address: $!{u.getEmail()}<br>
+Job Title: $!{u.getJobTitle()}<br>
+Comments: $!{u.getComments()}<br>
+#end
+<BR><BR>
+
+
+#if ($User.isAllowed("UpdateUser") && $methodToCall == "UpdateUser")
+<BR>
+<a href="$appRoot/administration/User/update.vm?id=$id">Update this User</a> &nbsp;<BR><BR>
+<BR>
+#end
+
+#if ($User.isAllowed("DeleteUser"))
+  <form name="Form" method="post" action='$appRoot/administration/User/Delete.do'>
+  <input type=hidden name="methodToCall" value="delete" >
+  <input type=hidden name=id value="$id">
+  <input type="submit" value="Delete">
+  </form>
+#end
+#else
+ 	<BR>	Invalid Id. Could not find the User. <BR>
+#end
+
+</div>
+</div>
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/index.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/index.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/index.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/index.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,50 @@
+##
+## 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.
+##
+## $Id: index.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/UserTop.vm")
+#set ( $pageSelected = "User" )
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+<table width="700" border="0" cellspacing="0" cellpadding="0" >
+<tr valign="top" class="info">
+	<td valign="top" height="25" align="center"> User Access </td>
+</tr>
+<tr valign="top" class="body">
+	<td align="center" valign="top" style="border-right-color:#666666;border-right-style:solid;border-right-width:1px;"><br />
+  #if($User.isAllowed("AddUserToProject"))
+    <a href="$appRoot/Core/User/addToProject.vm">&nbsp;Add user to Project&nbsp;</a><br />
+  #end
+  #if($User.isAllowed("AddUserToProject"))
+    <a href="$appRoot/Core/User/addAdmin.vm">&nbsp;Add Admin&nbsp;</a><br />
+  #end
+	
+		
+	<A href="$appRoot/Core/User/add.vm">Add User</a><br />
+	<A href="$appRoot/Core/User/list.vm">List Users</a>
+	</td>
+</tr>
+
+</table>
+
+</form>
+
+<br />
+</div>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/list.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/list.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/list.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/list.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,43 @@
+##
+## 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.
+##
+## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#if (!$collection)
+#set ($menu = "/layout/menu/UserTop.vm")
+#set ($pageSelected = "User")
+#parse("/layout/header.vm")
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getUserById($id))
+#set ($indivPage = "/Core/User/confirm.vm")
+#else
+#set ($collection = $User.getAllUsers())
+#end
+#end
+#set ($entity = "User")
+#set ($usesEnv = "false")
+#set ($path = "Core/User")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/Core/User/list.vm")
+#end
+
+#parse("/layout/list2.vm")
+#if ($plf)
+#parse("/layout/footer.vm")
+#end
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/global.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/global.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/global.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/global.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,26 @@
+##
+## 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.
+##
+## $Id: global.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+<select name=methodToCall onchange='OnChange(this);'>
+<option value="" selected>Select Action
+<option value="$appRoot/Core/User/details.vm">&nbsp;Details&nbsp;</option>
+<option value="$appRoot/Core/User/add.vm">&nbsp;Add&nbsp;</option>
+<option value="$appRoot/Core/User/update.vm">&nbsp;Update&nbsp;</option>
+<option value="$appRoot/Core/User/delete.vm">&nbsp;Delete&nbsp;</option>
+<option value="$appRoot/Core/User/addToProject.vm">&nbsp;Add User to Project&nbsp;</option>
+</select>
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/indiv.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/indiv.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/indiv.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/menu/indiv.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,24 @@
+##
+## 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.
+##
+## $Id: indiv.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+<select name=methodToCall onchange='OnChange(this);'>
+<option value="" selected>Select Action
+<option value="$appRoot/Core/User/details.vm?id=$!{ent.getPk()}">&nbsp;Details&nbsp;</option>
+<option value="$appRoot/Core/User/update.vm?id=$!{ent.getPk()}">&nbsp;Update&nbsp;</option>
+<option value="$appRoot/Core/User/delete.vm?id=$!{ent.getPk()}">&nbsp;Delete&nbsp;</option>
+</select>
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/User/update.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/User/update.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/User/update.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/User/update.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,54 @@
+##
+## 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.
+##
+## $Id: update.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/UserTop.vm")
+#set ($pageSelected = "User")
+#parse("/layout/header.vm")
+<div id="center">
+<div class="messagebox">
+
+#set ($id = $request.getParameter("id"))
+
+#if($id)
+
+#set ($methodToCall = "UpdateUser")
+#set ($u = $view.getUserById($id))
+
+#if ($User.isAllowed("UpdateUser") && $methodToCall == "UpdateUser")
+<form name="Form" method="post" action='$link.setAction("administration/UserAction")'>
+<input type="hidden" id="userId" name="userId" value="$!{id}">
+<input type="hidden" id="methodToCall" name="methodToCall" value="$methodToCall">
+User Name: <input type="text" name="userName" value="$!{u.getName()}"><br>
+First Name: <input type="text" id="firstName" name="firstName" value="$!{u.getFirstName()}"><br>
+Last Name: <input type="text" id="lastName" name="lastName" value="$!{u.getLastName()}"><br>
+Email Address: <input type="text" id="email" name="email" value="$!{u.getEmail()}"><br>
+Job Title: <input type="text" id="jobTitle" name="jobTitle" value="$!{u.getJobTitle()}"><br>
+Comments: <input type="text" id="comments" name="comments" value="$!{u.getComments()}"><br>
+<BR>
+<input type="submit" value="Update">
+</form>
+#end
+
+#else
+ 	<BR>	Invalid Id. Could not find the User. <BR>
+#end
+
+</div>
+</div>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/Worker/search.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/Worker/search.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/Worker/search.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/Worker/search.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,106 @@
+##
+## 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.
+##
+## $Id: search.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/PoolTop.vm")
+#set ($pageSelected = "Worker")
+#set($focus = "Form1.name.focus();")
+#parse("/layout/header.vm")
+
+
+<div align="center" class="contentbox">
+<br /><br />
+<div class="projectbox">
+<table width="100%" border="0" cellspacing="0" cellpadding="1">
+<tr class="info" valign="top">
+<td colspan=3>Infrastructure - Worker - <b>Search</b></td>
+<td colspan="2" align="right"><a class="info" href="$appRoot/Apache/Worker/list.vm">View Apache</a> &nbsp; <a class="info" href="$appRoot/Tomcat/Worker/list.vm">View Tomcat</a></td>
+</tr>
+</table>
+<br />
+#if ($name && $type != "")
+<div class="messagebox" width="75%" align="center">
+<br />
+<form name="Form1" method="post" action='$appRoot/Core/Worker/search.vm'>
+
+Component <select name=type>
+<option value="">Select one</option>
+<option value="ApacheWorker">ApacheWorker</option>
+<option value="TomcatWorker">TomcatWorker</option>
+</select>
+<input type="text" id="name" name="name" value="$!{name}"><br />
+
+<input type="submit" value="Search">
+</form>
+<br />
+</div>
+<br />
+#if ($type == "HostingPool")
+#set($collection = $view.searchHostingPools($name))
+#set($path = "Core/Pool")
+#elseif ($type == "ApachePool")
+#set($collection = $view.searchApachePools($name))
+#set($path = "Apache/Pool")
+#elseif ($type == "TomcatPool")
+#set($collection = $view.searchTomcatPools($name))
+#set($path = "Tomcat/Pool")
+#elseif ($type == "ApacheWorker")
+#set($collection = $view.searchApacheWorkers($name))
+#set($path = "Apache/Worker")
+#elseif ($type == "TomcatWorker")
+#set($collection = $view.searchTomcatWorkers($name))
+#set($path = "Tomcat/Worker")
+#elseif ($type == "Hardware")
+#set($path = "Core/Server")
+#set($collection = $view.searchHardwares($name))
+#elseif ($type == "Apache")
+#set($path = "Apache/Server")
+#set($collection = $view.searchApaches($name))
+#elseif ($type == "Tomcat")
+#set($collection = $view.searchTomcats($name))
+#set($path = "Tomcat/Server")
+#elseif ($type == "Virtualhost")
+#set($path = "Apache/Entity")
+#set($collection = $view.searchVirtualHosts($name))
+#elseif ($type == "Context")
+#set($path = "Tomcat/Entity")
+#set($collection = $view.searchContexts($name))
+#end
+#parse("$path/list.vm")
+#end
+<div class="messagebox" width="75%" align="center">
+<br />
+#if ($name && $type != "")
+<form name="Form2" method="post" action='$appRoot/Core/Worker/search.vm'>
+#else
+<form name="Form1" method="post" action='$appRoot/Core/Worker/search.vm'>
+#end
+Component <select name=type>
+<option value="">Select one</option>
+<option value="ApacheWorker">ApacheWorker</option>
+<option value="TomcatWorker">TomcatWorker</option>
+</select> <input type="text" id="name" name="name" value="$!{name}"><br />
+
+<input type="submit" value="Search">
+</form>
+<br />
+</div>
+
+<br />
+</div>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Core/infrastructure.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Core/infrastructure.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/infrastructure.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/infrastructure.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,121 @@
+##
+## 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.
+##
+## $Id: infrastructure.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/PoolTop.vm")
+#set($focus = "Form1.name.focus();")
+#parse("/layout/header.vm")
+
+
+<div align="center" class="contentbox">
+<br /><br />
+<div class="projectbox">
+<table width="100%" border="0" cellspacing="0" cellpadding="1">
+<tr class="info" valign="top">
+<td colspan=3>Infrastructure - <b>Search</b></td>
+<td colspan="2" align="right"> </td>
+</tr>
+</table>
+<br />
+#if ($name && $type != "")
+<div class="messagebox" width="75%" align="center">
+<br />
+<form name="Form1" method="post" action='$appRoot/Core/infrastructure.vm'>
+
+Component <select name=type>
+<option value="">Select one</option>
+<option value="HostingPool">Hosting Pool</option>
+<option value="ApachePool">Apache Pool</option>
+<option value="TomcatPool">Tomcat Pool</option>
+<option value="ApacheWorker">ApacheWorker</option>
+<option value="TomcatWorker">TomcatWorker</option>
+<option value="Hardware">Hardware</option>
+<option value="Apache">Apache</option>
+<option value="Tomcat">Tomcat</option>
+<option value="Virtualhost">Virtualhost</option>
+<option value="Context">Context</option>
+</select>
+<input type="text" id="name" name="name" value="$!{name}"><br />
+
+<input type="submit" value="Search">
+</form>
+<br />
+</div>
+<br />
+#if ($type == "HostingPool")
+#set($collection = $view.searchHostingPools($name))
+#set($path = "Core/Pool")
+#elseif ($type == "ApachePool")
+#set($collection = $view.searchApachePools($name))
+#set($path = "Apache/Pool")
+#elseif ($type == "TomcatPool")
+#set($collection = $view.searchTomcatPools($name))
+#set($path = "Tomcat/Pool")
+#elseif ($type == "ApacheWorker")
+#set($collection = $view.searchApacheWorkers($name))
+#set($path = "Apache/Worker")
+#elseif ($type == "TomcatWorker")
+#set($collection = $view.searchTomcatWorkers($name))
+#set($path = "Tomcat/Worker")
+#elseif ($type == "Hardware")
+#set($path = "Core/Server")
+#set($collection = $view.searchHardwares($name))
+#elseif ($type == "Apache")
+#set($path = "Apache/Server")
+#set($collection = $view.searchApaches($name))
+#elseif ($type == "Tomcat")
+#set($collection = $view.searchTomcats($name))
+#set($path = "Tomcat/Server")
+#elseif ($type == "Virtualhost")
+#set($path = "Apache/Entity")
+#set($collection = $view.searchVirtualHosts($name))
+#elseif ($type == "Context")
+#set($path = "Tomcat/Entity")
+#set($collection = $view.searchContexts($name))
+#end
+#parse("$path/list.vm")
+#end
+<div class="messagebox" width="75%" align="center">
+<br />
+#if ($name && $type != "")
+<form name="Form2" method="post" action='$appRoot/Core/infrastructure.vm'>
+#else
+<form name="Form1" method="post" action='$appRoot/Core/infrastructure.vm'>
+#end
+Component <select name=type>
+<option value="">Select one</option>
+<option value="HostingPool">Hosting Pool</option>
+<option value="ApachePool">Apache Pool</option>
+<option value="TomcatPool">Tomcat Pool</option>
+<option value="ApacheWorker">ApacheWorker</option>
+<option value="TomcatWorker">TomcatWorker</option>
+<option value="Hardware">Hardware</option>
+<option value="Apache">Apache</option>
+<option value="Tomcat">Tomcat</option>
+<option value="Virtualhost">Virtualhost</option>
+<option value="Context">Context</option>
+</select> <input type="text" id="name" name="name" value="$!{name}"><br />
+
+<input type="submit" value="Search">
+</form>
+<br />
+</div>
+
+<br />
+</div>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Help/add.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Help/add.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Help/add.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Help/add.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,111 @@
+##
+## 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.
+##
+## $Id: add.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/HelpTop.vm")
+#set ($pageSelected = "/help.vm")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+<div align=center>
+<div class="messagebox">
+<form name="Form" method="post" action='$link.setAction("help/HelpItemAction")'>
+<table>
+<tr>
+<td>
+Title:
+</td>
+<td>
+<input type="text" id="hiTitle" name="hiTitle" value="$!{hiTitle}">
+</td>
+</tr>
+<tr>
+<td>
+Topic:
+</td>
+<td>
+<input type="text" id="topic" name="topic" value="$!{topic}">
+</td>
+</tr>
+<tr>
+<td>
+Subtopic:
+</td>
+<td>
+<input type="text" id="subtopic" name="subtopic" value="$!{subtopic}">
+</td>
+</tr>
+<tr>
+<td>
+Summary:
+</td>
+<td>
+<input type="text" id="summary" name="summary" value="$!{summary}">
+</td>
+</tr>
+<tr>
+<td>
+Keywords:
+</td>
+<td>
+<input type="text" id="keywords" name="keywords" value="$!{keywords}">
+</td>
+</tr>
+<tr>
+<td>
+Content:
+</td>
+<td>
+<textarea id="content" name="content">$!{content}</textarea>
+</td>
+</tr>
+<tr>
+<td>
+Function:
+</td>
+<td>
+<select name=functionIdString>
+            <option value="0"> No Function Limitation
+            #foreach( $f in $User.getAllMyFunctions())
+			      <option value="$f.getPk()">$f.getName()
+			      #end
+			      </select>
+</td>
+</tr>
+<tr>
+<td>
+Valid:
+</td>
+<td>
+<input type="checkbox" id="valid" name="valid" value="true">
+</td>
+</tr>
+</table>
+<input type="hidden" name="methodToCall" value="AddHelpItem">
+<input type="submit" value="submit">
+</form>
+
+
+
+
+
+
+</div>
+</div>
+<br />
+</div>
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Help/index.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Help/index.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Help/index.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Help/index.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,28 @@
+##
+## 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.
+##
+## $Id: index.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/HelpTop.vm")
+#set ($pageSelected = "/help.vm")
+#parse("/layout/header.vm")
+<br><br>
+<div align=center>
+
+
+
+</div>
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Help/update.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Help/update.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Help/update.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Help/update.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,156 @@
+##
+## 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.
+##
+## $Id: update.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/HelpTop.vm")
+#set ($pageSelected = "/help.vm")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+
+<SCRIPT LANGUAGE=javascript>
+<!--
+function OnChange(dropdown)
+{
+	var myindex  = dropdown.selectedIndex;
+	var SelValue = dropdown.options[myindex].value;
+	var baseURL  = "$appRoot/Help/update.vm?id=" + SelValue;
+	top.location.href = baseURL;
+
+	return true;
+}
+//-->
+</SCRIPT>
+
+#set ($id = $request.getParameter("id"))
+
+
+
+#if ($id)
+#set($helpItem = $helpHelper.getHelpItem($id))
+$id
+$helpItem
+
+<div align=center>
+<div class="messagebox">
+<form name="Form" method="post" action='$link.setAction("help/HelpItemAction")'>
+<table>
+<tr>
+<td>
+Title:
+</td>
+<td>
+<input type="hidden" id="id" name="id" value="$hi.getPk()">
+</td>
+<td>
+<input type="text" id="hiTitle" name="hiTitle" value="$!{helpItem.getTitle()}">
+</td>
+</tr>
+<tr>
+<td>
+Topic:
+</td>
+<td>
+<input type="text" id="topic" name="topic" value="$!{helpItem.getTopic()}">
+</td>
+</tr>
+<tr>
+<td>
+Subtopic:
+</td>
+<td>
+<input type="text" id="subtopic" name="subtopic" value="$!{helpItem.getSubtopic()}">
+</td>
+</tr>
+<tr>
+<td>
+Summary:
+</td>
+<td>
+<input type="text" id="summary" name="summary" value="$!{helpItem.getSummary()}">
+</td>
+</tr>
+<tr>
+<td>
+Keywords:
+</td>
+<td>
+<input type="text" id="keywords" name="keywords" value="$!{helpItem.getKeywordsForWeb()}">
+</td>
+</tr>
+<tr>
+<td>
+Content:
+</td>
+<td>
+<textarea id="content" name="content">$!{helpItem.getContent()}</textarea>
+</td>
+</tr>
+<tr>
+<td>
+Function:
+</td>
+<td>
+<select name=functionIdString>
+            <option value="0"> No Function Limitation
+            #foreach( $f in $User.getAllMyFunctions())
+            #if ($f.getPk() == $helpItem.getFunctionId())
+			      <option value="$f.getPk()" selected>$f.getName()
+            #else
+			      <option value="$f.getPk()">$f.getName()
+            #end
+			      #end
+			      </select>
+</td>
+</tr>
+<tr>
+<td>
+Valid:
+</td>
+<td>
+#if ($helpItem.isValid())
+<input type="checkbox" id="valid" name="valid" value="true" checked>
+#else
+<input type="checkbox" id="valid" name="valid" value="true">
+#end
+</td>
+</tr>
+</table>
+<input type="hidden" name="methodToCall" value="UpdateHelpItem">
+<input type="submit" value="submit">
+</form>
+#else
+Help Item:  <!--TODO make this actually display help ITEMS -->
+#set ($helpitems = $helpHelper.getHelpItems())
+               <select name=id onchange='OnChange(this);'>
+                          <option value="">Select one
+                       #foreach ($hi in $helpitems)
+                       <option value="$hi.getPk()">$hi.getName()
+                       #end
+                       </select><BR>
+#end
+
+
+
+
+
+</div>
+</div>
+
+<br />
+</div>
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Template/addInternetProject.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Template/addInternetProject.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Template/addInternetProject.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Template/addInternetProject.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,106 @@
+##
+## 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.
+##
+## $Id: addInternetProject.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/ProjectTop.vm")
+#set ($letter = "Add")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+#parse("/administration/project/availtemplates.vm")
+<div id="bigright">
+<div class="messagebox" align="left">
+#if ($request.getParameter("hostingPoolId"))
+#set ($hostingPoolId = $request.getParameter("hostingPoolId"))
+#end
+#if ($request.getParameter("tcontexts"))
+#set($numberOfContexts = $math.toInteger($request.getParameter("tcontexts")))
+#else
+#set($numberOfContexts = 0)
+#end
+<SCRIPT LANGUAGE=javascript>
+<!--
+function ToChange(dropdown)
+{
+	var myindex  = dropdown.selectedIndex;
+	var SelValue = dropdown.options[myindex].value;
+	var baseURL  = "$appRoot/Template/addInternetProject.vm?tcontexts=$numberOfContexts&hostingPoolId=" + SelValue;
+	top.location.href = baseURL;
+
+	return true;
+}
+//-->
+</SCRIPT>
+
+<form name="Form" method="post" action='$link.setAction("templating/AddInternetSiteAction")'>
+Project Name: <input type="text" id="projectName" name="projectName" value="$!{projectName}" /><br />
+Site Name: <input type="text" id="vhostName" name="vhostName" value="$!{vhostName}" /><br />
+Hosting Pool:
+#set ($hps = $view.getHostingPools())
+               <select name=hostingPoolId onchange='ToChange(this);'>
+                          #if($hostingPoolId)
+                          <option value="$hostingPoolId">$view.getHostingPool($hostingPoolId).getName()</option>
+                          #if($hps.remove($view.getHostingPool($hostingPoolId)))
+
+                          #end
+                          #else
+                          <option value="">Select one</option>
+                          #end
+              			      #foreach ($hp in $hps)
+              			      <option value="$hp.getPk()">$hp.getName()</option>
+              			      #end
+              			      </select><br />
+Contexts:
+#if($hostingPoolId)
+<a href="addInternetProject.vm?tcontexts=$math.add($numberOfContexts, 1)&hostingPoolId=$hostingPoolId">Add another</a><br />
+#else
+<a href="addInternetProject.vm?tcontexts=$math.add($numberOfContexts, 1)">Add another</a><br />
+#end
+#if ($numberOfContexts > 0)
+#foreach($context in [1..$numberOfContexts])
+Context Name: <input type="text" id="contextName" name="contextName" value="$!{contextName}" /><br />
+DocBase: <input type="text" id="docBase" name="docBase" value="$!{docBase}" /> <br />
+#end
+#end
+#if($hostingPoolId)
+#set ($hp = $view.getHostingPool($hostingPoolId))
+#set ($ap = $hp.getApachePool())
+#set($hardware = $ap.getHardwares())
+Ips for $hp.getName():<br />
+Servername:  IP:<br />
+#foreach ($h in $hardware)
+$h.getName() <select name=ipId>
+#foreach ($ip in $h.getIps())
+ <option value="$ip.getPk()">$ip.getName()</option>
+#end
+</select><br />
+
+#end
+#end
+
+
+
+
+<input type="hidden" name="methodToCall" value="AddInternetProject" />
+<input type="submit" value="submit" />
+</form>
+</div>
+</div>
+<br />
+</div>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Template/addVhost.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Template/addVhost.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Template/addVhost.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Template/addVhost.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,145 @@
+##
+## 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.
+##
+## $Id: addVhost.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/ProjectTop.vm")
+#set ($letter = "Add")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+#parse("/Core/Project/availtemplates.vm")
+<div id="bigright">
+<div class="messagebox" align="left">
+#if ($request.getParameter("project"))
+  #set ($projectId = $request.getParameter("project"))
+#end
+#if ($request.getParameter("hostingPoolId"))
+  #set ($hostingPoolId = $request.getParameter("hostingPoolId"))
+#end
+#if ($request.getParameter("tcontexts"))
+  #set($numberOfContexts = $math.toInteger($request.getParameter("tcontexts")))
+#else
+  #set($numberOfContexts = 0)
+#end
+<h4> Add a VirtualHost to Project
+#if ($projectId)
+#set ($project = $User.getProject($projectId))
+ - $project.getName()</h4>
+#else
+</h4>
+#end
+
+<SCRIPT LANGUAGE=javascript>
+<!--
+
+function switchCheckBoxes() {
+		if (document.Form.nameVirtualHost.checked) {
+			document.Form.catchAll.disabled = false;
+			document.Form.catchAll.checked = false;
+		} else {
+			document.Form.catchAll.checked = true;
+			document.Form.catchAll.disabled = true; }
+
+	} // end of function
+
+function ToChange(dropdown)
+{
+	var myindex  = dropdown.selectedIndex;
+	var SelValue = dropdown.options[myindex].value;
+	var baseURL  = "$appRoot/Template/addVhost.vm?project=$projectId&tcontexts=$numberOfContexts&hostingPoolId=" + SelValue;
+	top.location.href = baseURL;
+
+	return true;
+}
+
+//-->
+</SCRIPT>
+
+
+
+
+<form name="Form" method="post" action='$link.setAction("templating/AddVirtualHostAction")'>
+<input type="hidden" id="methodToCall" name="methodToCall" value="AddVirtualHostToProject" />
+Project Name:
+#if ($projectId)
+<input type="hidden" id="projectId" name="projectId" value="$!{project.getPk()}" /> $!{project.getName()}<br />
+#else
+<input type="text" id="projectName" name="projectName" value="$!{projectName}" /><br />
+#end
+Hosting Pool:
+#set ($hps = $view.getHostingPools())
+               <select name=hostingPoolId onchange='ToChange(this);'>
+                          #if($hostingPoolId)
+                          <option value="$hostingPoolId">$view.getHostingPool($hostingPoolId).getName()</option>
+                          #if($hps.remove($view.getHostingPool($hostingPoolId)))
+
+                          #end
+                          #else
+                          <option value="">Select one
+                          #end
+              			      #foreach ($hp in $hps)
+              			      <option value="$hp.getPk()">$hp.getName()</option>
+              			      #end
+              			      </select><br />
+Server Name: <input type="text" id="vhostName" name="vhostName" value="$!{vhostName}" /><br />
+Entry:
+<textarea id="entry" name="entry" cols="70" rows="7">$!{entry}</textarea><br />
+NameVirtualHost: <input type=checkbox name=nameVirtualHost value=true checked onClick="switchCheckBoxes()"><br />
+Catch All: <input type=checkbox name=catchAll value=true /><br />
+<br />
+Contexts:
+#if($hostingPoolId && $projectId)
+<a href="addVhost.vm?project=$projectId&tcontexts=$math.add($numberOfContexts, 1)&hostingPoolId=$hostingPoolId">Add another</a><br />
+#elseif($hostingPoolId)
+<a href="addVhost.vm?tcontexts=$math.add($numberOfContexts, 1)&hostingPoolId=$hostingPoolId">Add another</a><br />
+#elseif($projectId)
+<a href="addVhost.vm?tcontexts=$math.add($numberOfContexts, 1)&project=$projectId">Add another</a><br />
+#else
+<A href="addVhost.vm?tcontexts=$math.add($numberOfContexts, 1)">Add another</a><br>
+#end
+#if ($numberOfContexts > 0)
+#foreach($context in [1..$numberOfContexts])
+Context Name: <input type="text" id="contextName" name="contextName" value="$!{contextName}" /><br />
+DocBase: <input type="text" id="docBase" name="docBase" value="$!{docBase}" /><br />
+#end
+#end
+#if($hostingPoolId)
+<!-- $hostingPoolId -->
+#set ($hp = $view.getHostingPool($hostingPoolId))
+#set ($ap = $hp.getApachePool())
+#set($hardware = $ap.getHardwares())
+Ips for $hp.getName():<br />
+Servername:  IP:<br />
+#foreach ($h in $hardware)
+$h.getName() <select name=ipId />
+
+#foreach ($ip in $h.getIps())
+<option value="$ip.getPk()">$ip.getName()</option>
+#end
+</select><br />
+
+#end
+#end
+
+<input type="submit" value="submit" />
+</form>
+</div>
+</div>
+<br />
+</div>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Template/addsite.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Template/addsite.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Template/addsite.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Template/addsite.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,111 @@
+##
+## 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.
+##
+## $Id: addsite.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/ProjectTop.vm")
+#set ($letter = "Add")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+#parse("/Core/Project/availtemplates.vm")
+#set ($data = $dataList.getPartitions())
+#set ($vobs = $dataList.getVobs())
+<div id="bigright">
+<div class="messagebox" align="left">
+<!-- <script language="javaScript">
+function hideMybutton(){
+var myForm = document.AddForm;
+myForm.mySubmitbutton.value="Please Wait...";
+myForm.mySubmitbutton.disabled="true";
+}
+</script>
+-->
+<form name="AddForm" method="post" action='$link.setAction("administration/AddIntranetSiteAction")' onSubmit="hideMybutton();">
+<input type="hidden" name="methodToCall" value="AddIntranetSite" />
+<table>
+<tr>
+<td align=right>Virtual Host Name: </td>
+<td colspan=2><input type="text" name="vhostName" /></td>
+</tr>
+<tr>
+<td align=right>Context Name: </td>
+<td colspan=2><input type="text" name="contextName" /></td>
+</tr>
+<tr>
+<td align=right>DocBase: </td>
+<td colspan=2><input type="text" name="docBase" /></td>
+</tr>
+
+#set($envs = $view.getEnvironments())
+#set ($hps = $view.getHostingPools())
+
+#foreach($env in $envs)
+<tr>
+<td align="right">$env.getName() <input type=checkbox id="environment" name="environment" value="$env.getPk()" /></td>
+<td>
+Hosting Pool:
+               <select name="hostingPoolId">
+                          <option value="">Select one</option>
+              			      #foreach ($hp in $hps)
+              			      <option value="$env.getPk(),$hp.getPk()">$hp.getName()</option>
+              			      #end
+              			      </select>
+</td>
+<td>WPM Required<input type=checkbox id="wpm" name="wpm" value="$env.getName()" />Yes </td>
+</tr>
+
+#end
+
+<tr>
+<td align=right>Metrics <input type=checkbox name=metrics value=yes /></td>
+<td align=center>Migration Site <input type=checkbox name=migration value=yes /></td>
+<td>Dynamic Site <input type=checkbox name=dynamic value=yes /></td>
+</tr>
+
+<tr>
+<td>Data Partition 
+               <select name=data-partition>
+                          <option value="">Select one</option>
+              			      #foreach ($dp in $data)
+              			      <option value="$dp.getPartitionName()">$dp.getDataUsed()</option>
+              			      #end
+              			      </select>
+</td>
+<td align=center>Clearcase VOB
+               <select name=vob>
+                          <option value="">Select one</option>
+              			      #foreach ($v in $vobs)
+              			      <option value="$v">$v</option>
+              			      #end
+              			      </select>
+</td>
+</tr>
+
+</table>
+
+
+<input type="submit" value="submit" name="mySubmitbutton" />
+<form>
+
+</div>
+</div>
+<br />
+</div>
+
+
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Template/deploy.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Template/deploy.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Template/deploy.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Template/deploy.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,60 @@
+##
+## 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.
+##
+## $Id: deploy.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/ProjectTop.vm")
+#set ($letter = "Add")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+#parse("/Core/Project/availtemplates.vm")
+#set ($command = $request.getParameter("command"))
+<div id="bigright">
+<div class="messagebox" align="left">
+<!-- <script language="javaScript">
+function hideMybutton(){
+var myForm = document.AddForm;
+myForm.mySubmitbutton.value="Please Wait...";
+myForm.mySubmitbutton.disabled="true";
+}
+</script>
+-->
+<form name="GetForm" method="post" action="deploy.vm">
+<input type="hidden" name="methodToCall" value="RemoteCMD">
+<table>
+<tr>
+<td align=right>Command to Run</td>
+<td colspan=2><input type=text size=70 name=command></td>
+</tr>
+#if ($command)
+<tr>
+<td align=right>Result: </td>
+<td colspan=2><textarea cols=75 rows=30 scrollable name=result>$aTool.remoteCMD($command)</textarea></td>
+</tr>
+#end
+</table>
+<input type="submit" value="submit" name="mySubmitbutton">
+<form>
+
+</div>
+</div>
+<br />
+</div>
+
+
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/add.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/add.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/add.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/add.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,129 @@
+##
+## 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.
+##
+## $Id: add.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/PoolTop.vm")
+#set ($pageSelected = "Entity")
+#parse("/layout/header.vm")
+#set ($id = $request.getParameter("id"))
+
+#if($id)
+#set ($virtualHost = $view.getVirtualHost($id))
+#end
+#set ($projectId = $request.getParameter("projectId"))
+<div align="center" class="contentbox">
+<br /><br />
+
+<div class="projectbox">
+<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="1">
+<TR CLASS="info" valign="top">
+	<TD colspan=3>Infrastructure - <b>Context</b>
+  </TD>
+</TR>
+</table>
+<br>
+
+<div class="messagebox">
+<form name="Form" method="post" action='$link.setAction("administration/ContextAction")'>
+<table>
+<tr>
+<td>
+VirtualHost:
+#if($virtualHost)
+$virtualHost.getName()
+</td>
+<td>
+<input type="hidden" id="vhostId" name="vhostId" value="$!{virtualHost.getPk()}">
+<input type="hidden" id="projectId" name="projectId" value="$!{projectId}">
+</td>
+</tr>
+<tr>
+<td>
+HostingPool:
+</td>
+<td>
+#set ($hps = $virtualHost.getPotentialHostingPools())
+               <select name=hpId>
+                          <option value="">Select one
+              			      #foreach ($hp in $hps)
+              			      <option value="$hp.getPk()">$hp.getName()
+              			      #end
+              			      </select><BR>
+</td>
+</tr>
+#else
+</td>
+<td>
+#set ($vhs = $view.getVirtualHosts())
+               <select name=vhostId onchange='OnChange(this);'>
+                          <option value="">Select one
+              			      #foreach ($vh in $vhs)
+              			      <option value="$appRoot/Tomcat/Entity/add.vm?projectId=$projectId&id=$vh.getPk()">$vh.getName()
+              			      #end
+              			      </select><BR>
+</td>
+</tr>
+#end
+<tr>
+<td>
+Name:
+</td>
+<td>
+<input type="text" id="contextName" name="contextName" value="$!{contextName}">
+</td>
+</tr>
+<tr>
+<td>
+Doc Base:
+</td>
+<td>
+<input type="text" id="docBase" name="docBase" value="$!{docBase}">
+</td>
+</tr>
+<tr>
+<td>
+State:
+</td>
+<td>
+Active
+<input type="hidden" id="stateId" name="stateId" value="8">
+</td>
+</tr>
+<tr>
+<td>
+Environment:
+</td>
+<td>
+#set ($envs = $view.getEnvironments())
+<select name=envId>
+			      #foreach ($env in $envs)
+			      <option value="$env.getPk()">$env.getName()
+			      #end
+			      </select>
+</td>
+</tr>
+</table>
+<input type="hidden" name="methodToCall" value="AddContext">
+<input type="submit" value="submit">
+</form>
+</div>
+<br />
+</div>
+<br />
+</div>
+#parse("/layout/footer.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/addExistingToVhost.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/addExistingToVhost.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/addExistingToVhost.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/addExistingToVhost.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,80 @@
+##
+## 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.
+##
+## $Id: addExistingToVhost.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/ProjectTop.vm")
+#set ($letter = "Add")
+#parse("/layout/header.vm")
+
+#if ($request.getParameter("p"))
+#set($pid = $request.getParameter("p"))
+#set($project = $User.getProject($pid))
+#end
+
+#if ($request.getParameter("v"))
+#set($vid = $request.getParameter("v"))
+#set($vhost = $view.getVirtualHost($vid))
+#end
+
+
+<div id="bigright">
+<div class="messagebox">
+
+
+<form name="Form" method="post" action='$link.setAction("templating/AddExistingContextVhostAction")'>
+<input type="hidden" id="vhostid" name="vhostid" value="$!{vid}">
+<input type="hidden" id="projectId" name="projectId" value="$!{pid}">
+
+
+<table>
+<tr>
+<td>
+Project:
+</td>
+<td>
+$!{project.getName()}
+</td>
+</tr>
+<tr>
+<td>
+VirtualHost:
+</td>
+<td>
+$!{vhost.getName()}
+</td>
+</tr>
+<tr>
+<td>
+Context:
+</td>
+<td>
+#set ($contexts = $view.getContexts())
+               <select name=contextId >
+                          <option value="">Select one
+              			      #foreach ($context in $contexts)
+              			      <option value="$context.getPk()">$context.getName() - $!{context.getTomcatPool().getName()}
+              			      #end
+              			      </select><BR>
+</td>
+</tr>
+</table>
+<input type="hidden" name="methodToCall" value="AddContext">
+<input type="submit" value="submit">
+</form>
+</div>
+</div>
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/confirm.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/confirm.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/confirm.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/confirm.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,68 @@
+##
+## 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.
+##
+## $Id: confirm.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/ProjectTop.vm")
+#parse("/layout/header.vm")
+
+<div class="contentbox" align="center">
+<div class="messagebox" width="75%" align="center">
+#set ($cid = $request.getParameter("c"))
+#set ($pid = $request.getParameter("p"))
+#set ($fid = $request.getParameter("f"))
+#set ($vid = $request.getParameter("v"))
+
+#if ($cid && $pid && $fid)
+  #set ($context = $view.getContext($cid))
+  #set ($project = $User.getProject($pid))
+  #set ($f = $view.getFunction($fid))
+  #if ($context && $project && $f)
+    #if ($User.isAllowed($f, $project, $context))
+    #set($tomcatPool = $context.getTomcatPool())
+    Please confirm:<BR>
+    Project: $project.getName()<BR>
+    Context: $context.getName() $!{context.getEnv().getName()}<br>
+    Action: $f.getName()<BR>
+    Pool: $!{tomcatPool.getName()}<br>
+    #if($f.getCommand() == "DeleteContext")
+  				    <form name="Form" method="post" action='$link.setAction("/administration/Context/Delete")'>
+    #else
+  				    <form name="Form" method="post" action='$link.setAction("Context/SubmitJobAction")'>
+    #end
+              <input type="hidden" id="id" name="id" value="$!{cid}">
+         #if($vid)
+              <input type="hidden" id="vhostId" name="vhostId" value="$!{vid}">
+         #end
+         #if ($f.getCommand() ==  "RemoveContextFromVhost")
+              Remove from project?  <input type="checkbox" name="removeFromProject" id="removeFromProject" value="true"><br>
+         #end
+              <input type="hidden" id="projectId" name="projectId" value="$!{pid}">
+              <input type="hidden" id="poolId" name="poolId" value="$!{tomcatPool.getPk()}">
+              <!-- $User.getContextFunctions($project.getPk(), $context) -->
+  	          <input type="hidden" name=methodToCall value="$f.getCommand()">
+              <!-- submit outstide -->
+              <input type="submit" value="Submit">
+              </form>
+    #end
+  #end
+#end
+</div>
+<BR><BR>
+</div>
+<BR><BR>
+
+#parse("/layout/footer.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/delete.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/delete.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/delete.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/delete.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,24 @@
+##
+## 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.
+##
+## $Id: delete.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set($actionLink = "administration/Context/Delete")
+#set($methodToCall = "DeleteContext")
+#set($buttonName = "Delete")
+#set ($function = "DeleteContext")
+#parse("administration/Context/list.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/details.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/details.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/details.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/details.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,79 @@
+##
+## 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.
+##
+## $Id: details.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#if(!$menu)
+#set ($menu = "/layout/menu/PoolTop.vm")
+#set ($pageSelected = "Entity")
+#end
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+
+<div class="projectbox">
+<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="1">
+<TR CLASS="info" valign="top">
+	<TD colspan=3>Infrastructure - <b>Context</b>
+  </TD>
+</TR>
+</table>
+<br>
+<div class="messagebox">
+
+#set ($id = $request.getParameter("id"))
+#set ($p = $request.getParameter("p"))
+#set ($methodToCall = "UpdateContext")
+#if($id)
+#set ($context = $view.getContext($id))
+
+
+<table>
+<tr>
+<td align="right">Name:</td><td> $!{context.getName()} </td></tr>
+<tr><td align="right">Doc Base:</td> <td>$!{context.getDocBase()} </td></tr>
+<tr><td align="right">State:</td><td>Active </td></tr>
+<tr><td align="right" valign="top">Environment:</td><td>
+#if ($context.getEnv())
+          $context.getEnv().getName()
+#end
+</td></tr>
+</table>
+#if ($User.isAllowed("UpdateContext") && $methodToCall == "UpdateContext")
+#if($p)
+ <a href="$appRoot/Tomcat/Entity/update.vm?id=$id&p=$p">Update this Context</a> &nbsp;<BR><BR>
+#else
+ <a href="$appRoot/Tomcat/Entity/update.vm?id=$id">Update this Context</a> &nbsp;<BR><BR>
+#end
+#end
+
+
+#else
+Context:
+#set ($contexts = $view.getContexts())
+               <select name=id onchange='OnChange(this);'>
+                          <option value="">Select one
+              			      #foreach ($context in $contexts)
+              			      <option value="$appRoot/Tomcat/Entity/details.vm?id=$context.getPk()">$context.getName()
+              			      #end
+              			      </select><BR>
+
+
+#end
+</div>
+</div>
+#parse("/layout/footer.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/list.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/list.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/list.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/list.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,44 @@
+##
+## 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.
+##
+## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#if (!$collection)
+#set ($menu = "/layout/menu/PoolTop.vm")
+#set ($pageSelected = "Entity")
+#parse("/layout/header.vm")
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getContext($id))
+#set ($indivPage = "/Tomcat/Entity/confirm.vm")
+#else
+#set ($collection = $view.getContexts())
+#end
+#end
+#set ($entity = "Context")
+#set ($usesEnv = "true")
+#set ($path = "Tomcat/Entity")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/$path/list.vm")
+#end
+
+
+#parse("/layout/list2.vm")
+#if($plf)
+#parse("/layout/footer.vm")
+#end
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/global.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/global.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/global.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/global.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,25 @@
+##
+## 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.
+##
+## $Id: global.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+<select name=methodToCall onchange='OnChange(this);'>
+<option value="" selected>Select Action
+<option value="$appRoot/Tomcat/Entity/details.vm">&nbsp;Details&nbsp;</option>
+<option value="$appRoot/Tomcat/Entity/add.vm">&nbsp;Add&nbsp;</option>
+<option value="$appRoot/Tomcat/Entity/update.vm">&nbsp;Update&nbsp;</option>
+<option value="$appRoot/Tomcat/Entity/delete.vm">&nbsp;Delete&nbsp;</option>
+</select>
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/indiv.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/indiv.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/indiv.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/menu/indiv.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,19 @@
+##
+## 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.
+##
+## $Id: indiv.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#contextDropBoxWOproject($User $ent)
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/update.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/update.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/update.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/update.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,92 @@
+##
+## 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.
+##
+## $Id: update.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/UtilTop.vm")
+#set ($pageSelected = "context")
+#parse("/layout/header.vm")
+<div id="center">
+<div class="messagebox">
+#set ($id = $request.getParameter("id"))
+#set ($projectId = $request.getParameter("p"))
+#set ($methodToCall = "UpdateContext")
+<SCRIPT LANGUAGE=javascript>
+<!--
+function OnChange(dropdown)
+{
+	var myindex  = dropdown.selectedIndex;
+	var SelValue = dropdown.options[myindex].value;
+	var baseURL  = "$appRoot/administration/Context/update.vm?id=" + SelValue;
+	top.location.href = baseURL;
+
+	return true;
+}
+//-->
+</SCRIPT>
+
+#if ($User.isAllowed("UpdateContext") && $methodToCall == "UpdateContext")
+#if($id)
+#set ($context = $view.getContext($id))
+<form name="Form" method="post" action='$link.setAction("administration/ContextAction")'>
+<input type="hidden" id="contextId" name="contextId" value="$!{id}">
+<input type="hidden" id="projectId" name="projectId" value="$!{projectId}">
+<input type="hidden" id="methodToCall" name="methodToCall" value="$methodToCall">
+
+JkMount: <input type="text" id="contextName" name="contextName" value="$!{context.getName()}"><BR>
+DocBase <input type="text" length="60" id="docBase" name="docBase" value="$!{context.getDocBase()}"><br>
+Xml: <textarea cols="60" rows="7" id="appxml" name="appxml" >$!{context.getApplicationXml()}</textarea><BR>
+State: <input type="text" readonly id="state" name="state" value="Active"><BR>
+<input type="hidden" id="stateId" name="stateId" value="8"><BR>
+Current TomcatPool: $!{context.getTomcatPool().getName()}<br>
+If migrating to new TomcatPool, select Pool below!<br>
+#set ($aps = $view.getTomcatPools())
+               <select name=poolId>
+                          <option value="">Select one
+              			      #foreach ($ap in $aps)
+              			      <option value="$ap.getPk()">$ap.getName()
+              			      #end
+              			      </select><BR>
+#set ($envs = $view.getEnvironments())
+<select name=envId>
+#if ($context.getEnv())
+#if ($envs.remove($context.getEnv()))
+
+#end
+#end
+            <option value="$!{context.getEnv().getPk()}">$!{context.getEnv().getName()}
+			      #foreach ($env in $envs)
+			      <option value="$env.getPk()">$env.getName()
+			      #end
+			      </select><BR>
+<input type="submit" value="Update">
+</form>
+#else
+Context:
+#set ($contexts = $view.getContexts())
+               <select name=id onchange='OnChange(this);'>
+                          <option value="">Select one
+              			      #foreach ($context in $contexts)
+              			      <option value="$context.getPk()">$context.getName()
+              			      #end
+              			      </select><BR>
+
+#end
+#end
+</div>
+</div>
+#parse("/layout/footer.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/view.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/view.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/view.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Entity/view.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,82 @@
+##
+## 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.
+##
+## $Id: view.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/ProjectTop.vm")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+
+<div class="projectbox">
+<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="1">
+<TR CLASS="info" valign="top">
+	<TD colspan=3>Infrastructure - <b>Context</b>
+  </TD>
+</TR>
+</table>
+<br><div class="messagebox">
+
+#set ($id = $request.getParameter("id"))
+#set ($p = $request.getParameter("p"))
+#set ($methodToCall = "UpdateContext")
+#if($id)
+#set ($context = $view.getContext($id))
+
+
+<table>
+<tr>
+<td align="right">Name:</td><td> $!{context.getName()} </td></tr>
+<tr><td align="right">Doc Base:</td> <td>$!{context.getDocBase()} </td></tr>
+<tr><td align="right">State:</td><td>Active </td></tr>
+<tr><td align="right" valign="top">Environment:</td><td>
+#if ($context.getEnv())
+          $context.getEnv().getName()
+#end
+</td></tr>
+</table>
+#if ($User.isAllowed("UpdateContext") && $methodToCall == "UpdateContext")
+#if($p)
+ <a href="$appRoot/Tomcat/Entity/update.vm?id=$id&p=$p">Update this Context</a> &nbsp;<BR><BR>
+#else
+ <a href="$appRoot/Tomcat/Entity/update.vm?id=$id">Update this Context</a> &nbsp;<BR><BR>
+#end
+#end
+
+#if ($User.isAllowed("DeleteContext"))
+  <form name="Form" method="post" action='$appRoot/administration/Context/Delete.do'>
+ <input type=hidden name="methodToCall" value="DeleteContext" >
+ <input type=hidden name=id value="$id" >
+ <input type="submit" value="Delete">
+ </form>
+#end
+
+#else
+Context:
+#set ($contexts = $view.getContexts())
+               <select name=id onchange='OnChange(this);'>
+                          <option value="">Select one
+              			      #foreach ($context in $contexts)
+              			      <option value="$appRoot/Tomcat/Entity/view.vm?id=$context.getPk()">$context.getName()
+              			      #end
+              			      </select><BR>
+
+
+#end
+</div>
+</div>
+#parse("/layout/footer.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/add.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/add.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/add.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/add.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,110 @@
+##
+## 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.
+##
+## $Id: add.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set ($menu = "/layout/menu/PoolTop.vm")
+#set ($pageSelected = "Pool")
+#parse("/layout/header.vm")
+<div align="center" class="contentbox">
+<br /><br />
+
+<div class="projectbox">
+<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="1">
+<TR CLASS="info" valign="top">
+	<TD colspan=3>Infrastructure - <b>Tomcat Pool</b>
+  </TD>
+</TR>
+</table>
+<br><div class="messagebox">
+#if ($request.getParameter("workers"))
+#set($numberOfWorkers = $math.toInteger($request.getParameter("workers")))
+#else
+#set($numberOfWorkers = 1)
+#end
+
+
+<form name="Form" method="post" action='$link.setAction("administration/TomcatPoolAction")'>
+<table>
+<tr>
+<td>
+Name:
+</td>
+<td>
+<input type="text" id="poolName" name="poolName" value="$!{poolName}">
+</td>
+</tr>
+<tr>
+<td>
+Environment:
+</td>
+<td>
+#set ($envs = $view.getEnvironments())
+<select name=envId>
+			      #foreach ($env in $envs)
+			      <option value="$env.getPk()">$env.getName()
+			      #end
+			      </select>
+</td>
+</tr>
+<tr>
+<td collspan="2">
+<A href="add.vm?workers=$math.add($numberOfWorkers, 1)"> Add another Tomcat Worker</A>
+</td>
+</tr>
+<tr>
+<td>
+Tomcat Containers:
+</td>
+<td>
+Hardware:
+</td>
+</tr>
+#set($tomcats = $view.getTomcats())
+#set($hardware = $view.getHardwares())
+#foreach($run in [1..$numberOfWorkers])
+<tr>
+<td>
+$run
+<select name=tomcatId>
+			      #foreach ($tomcat in $tomcats)
+			      <option value="$tomcat.getPk()">$tomcat.getName()
+			      #end
+			      </select>
+
+</td>
+<td>
+<select name=hardwareId>
+			      #foreach ($h in $hardware)
+			      <option value="$h.getPk()">$h.getName()
+			      #end
+			      </select>
+</td>
+</tr>
+#end
+<tr>
+<td>
+</table>
+<input type="hidden" name="methodToCall" value="AddTomcatPool">
+<input type="submit" value="submit">
+</form>
+</div>
+<br />
+</div>
+<br />
+</div>
+#parse("/layout/footer.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/buildconf.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/buildconf.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/buildconf.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/buildconf.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,24 @@
+##
+## 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.
+##
+## $Id: buildconf.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set($actionLink = "TomcatPool/SubmitJobAction")
+#set($methodToCall = "BuildConfig")
+#set($buttonName = "Build Config")
+#set ($function = "BuildTomcatConfig")
+#set ($currentPage = "$appRoot/Tomcat/Pool/buildconf.vm")
+#parse("/Tomcat/Pool/list.vm")
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/confirm.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/confirm.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/confirm.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/confirm.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,27 @@
+##
+## 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.
+##
+## $Id: confirm.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#if ($User.isAllowed($function) && $methodToCall && $actionLink)
+<form name="Form" method="post" action='$link.setAction($actionLink)'>
+<input type=hidden name="methodToCall" value="$methodToCall" >
+<input type="submit" value="$buttonName"><BR>
+$methodToCall
+<input type=hidden name=id value="$individual.getPk()" >&nbsp;&nbsp;
+$individual.getName()
+</form>
+#end
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/delete.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/delete.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/delete.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/delete.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,25 @@
+##
+## 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.
+##
+## $Id: delete.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set($actionLink = "administration/TomcatPool/Delete")
+#set($methodToCall = "DeleteTomcatPool")
+#set($buttonName = "Delete")
+#set ($function = "DeleteTomcatPool")
+#set ($currentPage = "$appRoot/Tomcat/Pool/delete.vm")
+#parse("/Tomcat/Pool/list.vm")
+
+

Added: incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/deployconf.vm
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/deployconf.vm?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/deployconf.vm (added)
+++ incubator/lokahi/lokahi/trunk/src/www/Tomcat/Pool/deployconf.vm Mon Apr 10 09:19:33 2006
@@ -0,0 +1,24 @@
+##
+## 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.
+##
+## $Id: deployconf.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
+##
+#set($actionLink = "TomcatPool/SubmitJobAction")
+#set($methodToCall = "DeployTomcatConfig")
+#set($buttonName = "Build and Deploy Config")
+#set ($function = "DeployTomcatConfig")
+#set ($currentPage = "$appRoot/Tomcat/Pool/deployconf.vm")
+#parse("/Tomcat/Pool/list.vm")
+



Mime
View raw message