|
Struts example source code file (page-header.ftl)
The Struts page-header.ftl source code<#-- /* * $Id: page-header.ftl 620320 2008-02-10 20:38:29Z wesw $ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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. */ --> <!DOCTYPE html PUBLIC "-//Tigris//DTD XHTML 1.0 Transitional//EN" "${request.contextPath}/template-tigris/css/tigris_transitional.dtd"> <html> <head> <title>${pageTitle} <meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" /> <#include "/config-browser/config-styles.css" parse="y"> <body class="composite" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0"> <div id="breadcrumbs"> <table border="0" cellspacing="0" cellpadding="4" width="100%"> <tr> <td> Struts Configuration Browser > ${pageTitle} </td> </tr> </table> </div> <table border="0" cellspacing="0" cellpadding="4" width="100%" id="main"> <tr valign="top"> <#if !hideNav?exists> |
<div id="navcolumn">
<#-- Quick hack to show menu features :)
--> <#-- This should be done via contribution from the actions
--> <#-- themselves. E.g via a collection of MenuItems with url and name
--> <div class="toolgroup">
<div class="label">Configuration
<div class="body">
<div><@s.url id="constantsLink" action="showConstants" includeParams="none" />
<a href="${constantsLink}">Constants
</div>
<div><@s.url id="beansLink" action="showBeans" includeParams="none" />
<a href="${beansLink}">Beans
</div>
<div><@s.url id="jarsLink" action="showJars" includeParams="none" />
<a href="${jarsLink}">Jars (requires Maven 2 data)
</div>
</div>
</div>
<div id="projecttools" class="toolgroup">
<#if namespaces?exists> Namespaces
<div class="body">
<#foreach namespace in namespaces> <@s.url id="namespaceLink" action="actionNames" includeParams="none"><@s.param name="namespace">${namespace}<#if namespace == ""> default <#else> ${namespace}
</#foreach>
</#if>
<div class="toolgroup">
<#if actionNames?exists> Actions in <#if namespace == ""> default <#else> ${namespace}
<#foreach name in actionNames> <@s.url id="actionLink" action="showConfig" includeParams="none"><@s.param name="namespace">${namespace}<@s.param name="actionName">${name}${name}
</#foreach>
</div>
</td>
</#if> |
<div id="bodycol">
<div id="apphead">
<h2>${pageTitle}
</div>
<div id="content" class="app">
Other Struts examples (source code examples)Here is a short list of links related to this Struts page-header.ftl source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.