<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
##
#set ($siteTitle = "Apache Geronimo GShell")
#set ($quickLinksPage = "Quick Links")
#set ($sideNavPagePrefix = "SideNav")
#set ($images = "http://geronimo.apache.org/images")
#set ($homeUri = "http://cwiki.apache.org/GSHELL")
#set ($pageContentHeaderEnabled = false)
##
#macro (sideNavSections)
    #sideNavSection("Overview")
    #sideNavSection("Features")
    #sideNavSection("Commands")
    #sideNavSection("Support")
    #sideNavSection("Developers")
    #sideNavSection("Related Projects")
#end
##
#macro (spacer $width $height)
    <img src="$images/spacer.gif" width="$width" height="$height" border="0">
#end
##
#macro (renderPage $title)
    #set($globalHelper = $action.getGlobalHelper())
    #set($renderer = $globalHelper.getWikiStyleRenderer())
    
    ##
    ## FIXME: Must be a more efficient way to find a page...
    ##
    
            #set ($child = $pageManager.getPage($page.space.key,$title))
            #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
            
            ##
            ## HACK: Remove the leading <P> and trailing </P>
            ##
            
            #set ($content = $content.substring(3, $content.length()))
            #set ($end = $content.length() - 4)
            #set ($content = $content.substring(0, $end))
            
            $content
#end
##
#macro (topNav)
    <table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="$images/header_bg_1x86.gif">
        <tr>
            <td valing="top" align="left">
                <a href="$homeUri"><img src="$images/topleft_logo_437x64.gif" border="0"></a>
            </td>
            
            <td width="100%">
                &nbsp;
            </td>
            
            <td valign="top" align="right">
                <img src="$images/subnav_angle_15x18.gif" width="15" height="18" alt="" border="0">
            </td>
            
            <td valign="top" align="right" nowrap="true">
                <div class="quicklinks" style="background-color: #5D9ACD">
                    #spacer(1 14)
                    <font color="#003366" face="Verdana, Helvetica, Arial">
                        #renderPage($quickLinksPage)
                    </font>
                    #spacer(4 1)    
                </div>
            </td>
        </tr>
    </table>
#end
##
#macro (pageControls)
    <div align="right" style="padding: 2px 10px; margin: 0px;">
        <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
            <img src="$images/icons/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
    </div>
#end
##
#macro (tabs)
    <table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="$images/menu_bgstretch_1x22.gif">
        <tr align="left">
            <td width="100%" align="right">
                #pageControls()
            </td>
        </tr>
    </table>
#end
##
#macro (breadCrumbs)
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
        <tr class="topBar">
            <td align="left" valign="middle" class="topBarDiv" align="left" nowrap="true">
                &nbsp;$autoexport.breadcrumbs($page)
            </td>
        </tr>
    </table>
#end
##
#macro (sideNav)
    <div class="sideNav">
        #sideNavSections()
    </div>
#end
##
#macro (sideNavSection $title)
    #set ($pagename = "$sideNavPagePrefix $title")
    
    <table class="sideNavSection" bgcolor="#5FA3D6" border="0" cellspacing="1" cellpadding="0">
        <tr>
            <td>
                <table border="0" cellspacing="0" cellpadding="4">
                    <tr>
                        <td class="sideNavSectionTitle" bgcolor="#5FA3D6" width="175">
                            <font color="#FFFFFF" style="font-size:12px" face="Verdana, Helvetica, Arial">
                                <strong>&nbsp; $title</strong>
                            </font>
                        </td>
                    </tr>
                    
                    <tr>
                        <td bgcolor="#F3F4F5" width="200">
                            <table>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td class="sideNavSectionContent" align="left">#renderPage($pagename)</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    
    #spacer(175 2)
#end
##
#macro (pageContent)
    <div id="PageContent">
        #if ($pageContentHeaderEnabled)
            <div class="pageheader" style="padding: 6px 0px 0px 0px;">
                <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
                <div style="margin: 0px 10px 8px 10px" class="pagetitle">$page.title</div>
            </div>
        #end
        
        <div class="pagecontent">
            <div class="wiki-content">
                $body
            </div>
        </div>
    </div>
#end
##
#macro (footer)
    <!-- footer -->
    <table border="0" cellpadding="2" cellspacing="0" width="100%"">
        <tr>
          <td align="left" valign="middle" class="footer">
            &nbsp;&nbsp;
            <img src="http://static.delicious.com/img/delicious.small.gif" height="10" width="10" alt="Delicious" />
            <a href="http://delicious.com/save" onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=550,height=550'); return false;">Bookmark this on Delicious</a>
            &nbsp;&nbsp;
            <img src="http://digg.com/img/badges/16x16-digg-guy.gif" width="16" height="16" alt="Digg!" />
            <a href="" onclick="window.open('http://digg.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;topic=programming');">Digg this</a>
            <!-- Slicker, but no text
            <script type="text/javascript">
              digg_skin = 'icon';
              digg_window = 'new';
              digg_title = '$siteTitle : $page.title';
              digg_topic = 'programming';
            </script>
            <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
            -->
            &nbsp;&nbsp;
          </td>
          <td align="right" valign="middle" class="footer">
            <a href="http://cwiki.apache.org/GMOxPMGT/geronimo-privacy-policy.html">Privacy Policy</a>&nbsp;&nbsp;-&nbsp;&nbsp;
            Copyright &#169; 2003-2009, The Apache Software Foundation, Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">ASL 2.0.</a>&nbsp;&nbsp;
          </td>
        </tr>
    </table> 
#end
##
#macro (rss)
    <div>
    #spacer(25 15)
    </div>

    <table border="0" cellspacing="4px">
    <tr>
      <td align="right">
        <a href="http://cwiki.apache.org/confluence/spaces/rss.action?key=GSHELL&newPages=false"><img src="http://openejb.apache.org/images/rss.gif" border="0"></a><br/>
      </td>
      <td align="left">
        <a href="http://cwiki.apache.org/confluence/spaces/rss.action?key=GSHELL&newPages=false">Site</a>
      </td>
    </tr>
    <tr>
      <td align="right">
        <a href="http://cwiki.apache.org/confluence/spaces/blogrss.action?key=GSHELL"><img src="http://openejb.apache.org/images/rss.gif" border="0"></a>
      </td>
      <td align="left">
        <a href="http://cwiki.apache.org/confluence/spaces/blogrss.action?key=GSHELL">News</a>
      </td>
    </tr>
    </table>
#end
##
<html lang="en">
  <head>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <link type="text/css" rel="stylesheet" href="http://geronimo.apache.org/style/default.css">
    <LINK rel="SHORTCUT ICON" href="http://geronimo.apache.org/images/favicon.ico">
    <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
    <META name="Description" content="$page.title" />
    <META name="Keywords" content="$siteTitle $page.title" />
    <META name="Owner" content="dev@geronimo.apache.org" />
    <META name="Robots" content="index, follow" />
    <META name="Security" content="Public" />
    <META name="Source" content="wiki template" />
    <META name="DC.Date" scheme="iso8601" content="2009-01-06" />
    <META name="DC.Language" scheme="rfc1766" content="en" />
    <META name="DC.Rights" content="Copyright © 2003-2009, The Apache Software Foundation" />
    <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>

    <script src="http://geronimo.apache.org/functions.js" type="text/javascript"></script>

#if($page.hasCode)
  <link href='http://geronimo.apache.org/resources/highlighter/styles/shCoreGeronimo.css' rel='stylesheet' type='text/css' />
  <link href='http://geronimo.apache.org/resources/highlighter/styles/shThemeGeronimo.css' rel='stylesheet' type='text/css' />
  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
#foreach ($hscript in $page.CodeScripts)
  <script src='http://geronimo.apache.org/resources/highlighter/scripts/$hscript' type='text/javascript'></script>
#end
  
  <script type="text/javascript">
  SyntaxHighlighter.defaults['toolbar'] = false;
  SyntaxHighlighter.all();
  </script>
#end

    <title>$siteTitle : $page.title</title>

  </head>
    
    <body onload="init()">
        
        #topNav()

        #tabs()

        #breadCrumbs()

        <table border="0" cellpadding="4" width="100%" bgcolor="#FFFFFF">
            <tr>
                <td valign="top" nowrap="true">
                    #sideNav()
                    
                    <div class="gfxbyepiq">
                        <a href="http://www.epiqtech.com">Graphics by Epiq</a>
                    </div>

                    #rss()
                </td>
                <td align="left" valign="top" width="100%">
                    #pageContent()
                </td>
            </tr>
        </table>

        #footer()
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4380560-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
    </body>
</html>