[OFBiz] SVN: r7772 - in trunk/framework/webtools: webapp/webtools webapp/webtools/WEB-INF webapp/webtools/includes widget
jonesde@svn.ofbiz.org
jonesde at svn.ofbiz.org
Mon Jun 12 03:22:27 CDT 2006
Author: jonesde
Date: 2006-06-12 03:21:58 -0500 (Mon, 12 Jun 2006)
New Revision: 7772
Added:
trunk/framework/webtools/webapp/webtools/main.ftl
trunk/framework/webtools/widget/WebToolsMenus.xml
Removed:
trunk/framework/webtools/webapp/webtools/main.jsp
Modified:
trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
trunk/framework/webtools/webapp/webtools/includes/appheader.ftl
trunk/framework/webtools/widget/AvailableServicesScreens.xml
trunk/framework/webtools/widget/CommonScreens.xml
Log:
Applied patch from Hans Bakker to move toward more modernization of the WebTools webapp; the main page is now FTL; note that this commit includes a number of changes to clean up and complete this patch; Apache Jira #OFBIZ-19
Modified: trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
===================================================================
--- trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml 2006-06-12 08:21:58 UTC (rev 7772)
@@ -487,7 +487,7 @@
<!-- View Mappings -->
<view-map name="error" page="/error/error.jsp"/>
- <view-map name="main" type="region"/>
+ <view-map name="main" type="screen" page="component://webtools/widget/CommonScreens.xml#main"/>
<view-map name="login" type="jpublish" page="/login.ftl"/>
<view-map name="ping" type="ftl" page="/ping.ftl"/>
Modified: trunk/framework/webtools/webapp/webtools/includes/appheader.ftl
===================================================================
--- trunk/framework/webtools/webapp/webtools/includes/appheader.ftl 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/webapp/webtools/includes/appheader.ftl 2006-06-12 08:21:58 UTC (rev 7772)
@@ -36,8 +36,16 @@
<div class="apptitle">${uiLabelMap.FrameworkWebTools}</div>
<div class="row">
- <div class="col"><a href="<@ofbizUrl>main</@ofbizUrl>" class="headerButtonLeft">Main</a></div>
-
+ <div class="col"><a href="<@ofbizUrl>main</@ofbizUrl>" class="headerButtonLeft">Main</a></div>
+ <#--
+ <div class="col"><a href="<@ofbizUrl>FindUtilCache</@ofbizUrl>" class="headerButtonLeft">Cache</a></div>
+ <div class="col"><a href="<@ofbizUrl>entitymaint</@ofbizUrl>" class="headerButtonLeft">Entity</a></div>
+ <div class="col"><a href="<@ofbizUrl>availableServices</@ofbizUrl>" class="headerButtonLeft">Service</a></div>
+ <div class="col"><a href="<@ofbizUrl>workflowMonitor</@ofbizUrl>" class="headerButtonLeft">Workflow</a></div>
+ <div class="col"><a href="<@ofbizUrl>viewdatafile</@ofbizUrl>" class="headerButtonLeft">Data</a></div>
+ <div class="col"><a href="<@ofbizUrl>EditCustomTimePeriod</@ofbizUrl>" class="headerButtonLeft">Misc</a></div>
+ <div class="col"><a href="<@ofbizUrl>StatsSinceStart</@ofbizUrl>" class="headerButtonLeft">Statistics</a></div>
+ -->
<#if userLogin?has_content>
<div class="col-right"><a href="<@ofbizUrl>logout</@ofbizUrl>" class="headerButtonRight">Logout</a></div>
<#else>
Added: trunk/framework/webtools/webapp/webtools/main.ftl
===================================================================
--- trunk/framework/webtools/webapp/webtools/main.ftl 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/webapp/webtools/main.ftl 2006-06-12 08:21:58 UTC (rev 7772)
@@ -0,0 +1,125 @@
+<table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">
+ <tr>
+ <td width="100%">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
+ <tr>
+ <td align="left" width="90%" >
+ <div class="boxhead"> Web Tools Main Page</div>
+ </td>
+ <td align="right" width="10%"><div class="lightbuttontextdisabled">${delegator.getDelegatorName()}</div></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td width="100%">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxbottom">
+ <tr>
+ <td>
+ <#if !userLogin?has_content>
+ <div class="tabletext">For something interesting make sure you are logged in, try username:admin, password:ofbiz.</div>
+ <br/>
+ </#if>
+ <div class="tabletext">The purpose of this Web Tools administration package is to contain all of the
+ administration tools that directly relate to the various Core Tool Components. The Core Tool Component layer is
+ defined in the architecture documents as the container of all entity definitions shared by the vertical applications that
+ are built on top of these entity definitions and the tools surrounding them such as the entity, workflow, and rule engines,
+ content and knowledge management, data analysis, and so forth.</div>
+ <br/>
+ <div class="tabletext">This application is primarily intended for developers and system administrators.</div>
+ <#if userLogin?has_content>
+ <ul>
+ <li><div class="tabletext">Cache & Debug Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/FindUtilCache</@ofbizUrl>" class="linktext">Cache Maintenance</a>
+ <li><a href="<@ofbizUrl>/debuglevels</@ofbizUrl>" class="linktext">Adjust Debugging Levels</a>
+ </ul>
+ <#if security.hasPermission("ENTITY_MAINT", session)>
+ <li><div class="tabletext">Entity Engine Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/entitymaint</@ofbizUrl>" class="linktext">Entity Data Maintenance</a>
+ <li><a href="<@ofbizUrl>/view/entityref</@ofbizUrl>" class="linktext" target="_blank">Entity Reference</a> <a href="<@ofbizUrl>/view/entityref?forstatic=true</@ofbizUrl>" class="linktext" target="_blank">[Static Version]</a>
+ <li><a href="<@ofbizUrl>/EntitySQLProcessor</@ofbizUrl>" class="linktext">Entity SQL Processor</a>
+ <li><a href="<@ofbizUrl>/EntitySyncStatus</@ofbizUrl>" class="linktext">Entity Sync Status</a>
+ <li><a href="<@ofbizUrl>/view/ModelInduceFromDb</@ofbizUrl>" target="_blank" class="linktext">Induce Model XML from Database</a><br/>
+ <li><a href="<@ofbizUrl>/view/checkdb</@ofbizUrl>" class="linktext">Check/Update Database</a>
+
+ <!-- want to leave these out because they are only working so-so, and cause people more problems that they solve, IMHO
+ <ul>
+ <li><a href="<@ofbizUrl>/view/EditEntity</@ofbizUrl>" class="linktext" target="_blank">Edit Entity Definitions</a>
+ <li><a href="<@ofbizUrl>/ModelWriter</@ofbizUrl>" class="linktext" target="_blank">Generate Entity Model XML (all in one)</a>
+ <li><a href="<@ofbizUrl>/ModelWriter?savetofile=true</@ofbizUrl>" target="_blank" class="linktext">Save Entity Model XML to Files</a><br/>
+ -->
+ <!-- not working right now anyway
+ <li><a href="<@ofbizUrl>/ModelGroupWriter</@ofbizUrl>" target="_blank" class="linktext">Generate Entity Group XML</a><br/>
+ <li><a href="<@ofbizUrl>/ModelGroupWriter?savetofile=true</@ofbizUrl>" target="_blank" class="linktext">Save Entity Group XML to File</a><br/>
+ </ul>
+ -->
+ <!--
+ <li><a href="<@ofbizUrl>/view/tablesMySql</@ofbizUrl>" class="linktext">MySQL Table Creation SQL</a>
+ <li><a href="<@ofbizUrl>/view/dataMySql</@ofbizUrl>" class="linktext">MySQL Auto Data SQL</a>
+ -->
+ </ul>
+ <li><div class="tabletext">Entity XML Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/xmldsdump</@ofbizUrl>" class="linktext">XML Data Export</a>
+ <li><a href="<@ofbizUrl>/EntityExportAll</@ofbizUrl>" class="linktext">XML Data Export All</a>
+ <li><a href="<@ofbizUrl>/EntityImport</@ofbizUrl>" class="linktext">XML Data Import</a>
+ <li><a href="<@ofbizUrl>/EntityImportDir</@ofbizUrl>" class="linktext">XML Data Import Dir</a>
+ </ul>
+ </#if>
+ <#if security.hasPermission("SERVICE_MAINT", session)>
+ <li><div class="tabletext">Service Engine Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/availableServices</@ofbizUrl>" class="linktext">Service Reference</a>
+ <li><a href="<@ofbizUrl>/scheduleJob</@ofbizUrl>" class="linktext">Schedule Job</a>
+ <li><a href="<@ofbizUrl>/jobList</@ofbizUrl>" class="linktext">Job List</a>
+ <li><a href="<@ofbizUrl>/threadList</@ofbizUrl>" class="linktext">Thread List</a>
+ <li><a href="<@ofbizUrl>/serviceList</@ofbizUrl>" class="linktext">Service Log</a>
+ </ul>
+ </#if>
+ <#if security.hasPermission("WORKFLOW_MAINT", session)>
+ <li><div class="tabletext">Workflow Engine Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/workflowMonitor</@ofbizUrl>" class="linktext">Workflow Monitor</a>
+ <li><a href="<@ofbizUrl>/readxpdl</@ofbizUrl>" class="linktext">Read XPDL File</a>
+ </ul>
+ </#if>
+ <#if security.hasPermission("DATAFILE_MAINT", session)>
+ <li><div class="tabletext">Data File Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/viewdatafile</@ofbizUrl>" class="linktext">Work With Data Files</a>
+ </ul>
+ </#if>
+ <li><div class="tabletext">Misc. Setup Tools</div>
+ <ul>
+ <#if security.hasPermission("PERIOD_MAINT", session)>
+ <li><a href="<@ofbizUrl>/EditCustomTimePeriod</@ofbizUrl>" class="linktext">Edit Custom Time Periods</a>
+ </#if>
+ <#if security.hasPermission("ENUM_STATUS_MAINT", session)>
+ <!--
+ <li><a href="<@ofbizUrl>/EditEnumerationTypes</@ofbizUrl>" class="linktext">Edit Enumerations</a>
+ <li><a href="<@ofbizUrl>/EditStatusTypes</@ofbizUrl>" class="linktext">Edit Status Options</a>
+ -->
+ </#if>
+ </ul>
+ <li><div class="tabletext">Performance Tests</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/EntityPerformanceTest</@ofbizUrl>" class="linktext">Entity Engine</a>
+ </ul>
+ <#if security.hasPermission("SERVER_STATS_VIEW", session)>
+ <li><div class="tabletext">Server Hit Statistics Tools</div>
+ <ul>
+ <li><a href="<@ofbizUrl>/StatsSinceStart</@ofbizUrl>" class="linktext">Stats Since Server Start</a>
+ </ul>
+ </#if>
+ </ul>
+ </#if>
+
+ <div class="tabletext">NOTE: If you have not already run the installation data loading script, from the ofbiz home directory run "ant run-install" or "java -jar ofbiz.jar install"</div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
Property changes on: trunk/framework/webtools/webapp/webtools/main.ftl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ "Date Rev Author URL Id"
Name: svn:eol-style
+ native
Deleted: trunk/framework/webtools/webapp/webtools/main.jsp
===================================================================
--- trunk/framework/webtools/webapp/webtools/main.jsp 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/webapp/webtools/main.jsp 2006-06-12 08:21:58 UTC (rev 7772)
@@ -1,162 +0,0 @@
-<%--
- * Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
- * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- *@author David E. Jones
- *@created May 22 2001
- *@version 1.0
---%>
-
-<%@ page import="org.ofbiz.base.util.*, org.ofbiz.security.*" %>
-<%@ taglib uri="ofbizTags" prefix="ofbiz" %>
-<jsp:useBean id="security" type="org.ofbiz.security.Security" scope="request" />
-<jsp:useBean id="delegator" type="org.ofbiz.entity.GenericDelegator" scope="request" />
-
-<table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">
- <tr>
- <td width="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
- <tr>
- <td align="left" width="90%" >
- <div class="boxhead"> Web Tools Main Page</div>
- </td>
- <td align="right" width="10%"><div class="lightbuttontextdisabled"><%=delegator.getDelegatorName()%></div></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxbottom">
- <tr>
- <td>
- <ofbiz:unless name="userLogin">
- <div class="tabletext">For something interesting make sure you are logged in, try username:admin, password:ofbiz.</div>
- <br/>
- </ofbiz:unless>
- <div class="tabletext">The purpose of this Web Tools administration package is to contain all of the
- administration tools that directly relate to the various Core Tool Components. The Core Tool Component layer is
- defined in the architecture documents as the container of all entity definitions shared by the vertical applications that
- are built on top of these entity definitions and the tools surrounding them such as the entity, workflow, and rule engines,
- content and knowledge management, data analysis, and so forth.</div>
- <br/>
- <div class="tabletext">This application is primarily intended for developers and system administrators.</div>
- <ul>
- <%if (security.hasPermission("UTIL_CACHE_VIEW", session) || security.hasPermission("UTIL_DEBUG_VIEW", session)) {%>
- <li><div class="tabletext">Cache & Debug Tools</div>
- <ul>
- <%if(security.hasPermission("UTIL_CACHE_VIEW", session)){%>
- <li><a href="<ofbiz:url>/FindUtilCache</ofbiz:url>" class="linktext">Cache Maintenance</a>
- <%}%>
- <%if(security.hasPermission("UTIL_DEBUG_VIEW", session)){%>
- <li><a href="<ofbiz:url>/debuglevels</ofbiz:url>" class="linktext">Adjust Debugging Levels</a>
- <%}%>
- </ul>
- <%}%>
- <%if(security.hasPermission("ENTITY_MAINT", session)){%>
- <li><div class="tabletext">Entity Engine Tools</div>
- <ul>
- <li><a href="<ofbiz:url>/entitymaint</ofbiz:url>" class="linktext">Entity Data Maintenance</a>
- <li><a href="<ofbiz:url>/view/entityref</ofbiz:url>" class="linktext" target="_blank">Entity Reference</a> <a href="<ofbiz:url>/view/entityref?forstatic=true</ofbiz:url>" class="linktext" target="_blank">[Static Version]</a>
- <li><a href="<ofbiz:url>/EntitySQLProcessor</ofbiz:url>" class="linktext">Entity SQL Processor</a>
- <li><a href="<ofbiz:url>/EntitySyncStatus</ofbiz:url>" class="linktext">Entity Sync Status</a>
- <li><a href="<ofbiz:url>/view/ModelInduceFromDb</ofbiz:url>" target="_blank" class="linktext">Induce Model XML from Database</a><br/>
- <li><a href="<ofbiz:url>/view/checkdb</ofbiz:url>" class="linktext">Check/Update Database</a>
-
- <!-- want to leave these out because they are only working so-so, and cause people more problems that they solve, IMHO
- <ul>
- <li><a href="<ofbiz:url>/view/EditEntity</ofbiz:url>" class="linktext" target="_blank">Edit Entity Definitions</a>
- <li><a href="<ofbiz:url>/ModelWriter</ofbiz:url>" class="linktext" target="_blank">Generate Entity Model XML (all in one)</a>
- <li><a href="<ofbiz:url>/ModelWriter?savetofile=true</ofbiz:url>" target="_blank" class="linktext">Save Entity Model XML to Files</a><br/>
- -->
- <!-- not working right now anyway
- <li><a href="<ofbiz:url>/ModelGroupWriter</ofbiz:url>" target="_blank" class="linktext">Generate Entity Group XML</a><br/>
- <li><a href="<ofbiz:url>/ModelGroupWriter?savetofile=true</ofbiz:url>" target="_blank" class="linktext">Save Entity Group XML to File</a><br/>
- </ul>
- -->
- <!--
- <li><a href="<ofbiz:url>/view/tablesMySql</ofbiz:url>" class="linktext">MySQL Table Creation SQL</a>
- <li><a href="<ofbiz:url>/view/dataMySql</ofbiz:url>" class="linktext">MySQL Auto Data SQL</a>
- -->
- </ul>
- <li><div class="tabletext">Entity XML Tools</div>
- <ul>
- <li><a href="<ofbiz:url>/xmldsdump</ofbiz:url>" class="linktext">XML Data Export</a>
- <li><a href="<ofbiz:url>/EntityExportAll</ofbiz:url>" class="linktext">XML Data Export All</a>
- <li><a href="<ofbiz:url>/EntityImport</ofbiz:url>" class="linktext">XML Data Import</a>
- <li><a href="<ofbiz:url>/EntityImportDir</ofbiz:url>" class="linktext">XML Data Import Dir</a>
- </ul>
- <%}%>
- <%if(security.hasPermission("SERVICE_MAINT", session)) {%>
- <li><div class="tabletext">Service Engine Tools</div>
- <ul>
- <li><a href="<ofbiz:url>/availableServices</ofbiz:url>" class="linktext">Service Reference</a>
- <li><a href="<ofbiz:url>/scheduleJob</ofbiz:url>" class="linktext">Schedule Job</a>
- <li><a href="<ofbiz:url>/jobList</ofbiz:url>" class="linktext">Job List</a>
- <li><a href="<ofbiz:url>/threadList</ofbiz:url>" class="linktext">Thread List</a>
- <li><a href="<ofbiz:url>/serviceList</ofbiz:url>" class="linktext">Service Log</a>
- </ul>
- <%}%>
- <%if(security.hasPermission("WORKFLOW_MAINT", session)){%>
- <li><div class="tabletext">Workflow Engine Tools</div>
- <ul>
- <li><a href="<ofbiz:url>/workflowMonitor</ofbiz:url>" class="linktext">Workflow Monitor</a>
- <li><a href="<ofbiz:url>/readxpdl</ofbiz:url>" class="linktext">Read XPDL File</a>
- </ul>
- <%}%>
- <%if(security.hasPermission("DATAFILE_MAINT", session)){%>
- <li><div class="tabletext">Data File Tools</div>
- <ul>
- <li><a href="<ofbiz:url>/viewdatafile</ofbiz:url>" class="linktext">Work With Data Files</a>
- </ul>
- <%}%>
- <% if (session.getAttribute("userLogin") != null) { %>
- <li><div class="tabletext">Misc. Setup Tools</div>
- <ul>
- <%if(security.hasPermission("PERIOD_MAINT", session)){%>
- <li><a href="<ofbiz:url>/EditCustomTimePeriod</ofbiz:url>" class="linktext">Edit Custom Time Periods</a>
- <%}%>
- <%if(security.hasPermission("ENUM_STATUS_MAINT", session)){%>
- <!--
- <li><a href="<ofbiz:url>/EditEnumerationTypes</ofbiz:url>" class="linktext">Edit Enumerations</a>
- <li><a href="<ofbiz:url>/EditStatusTypes</ofbiz:url>" class="linktext">Edit Status Options</a>
- -->
- <%}%>
- </ul>
- <li><div class="tabletext">Performance Tests</div>
- <ul>
- <li><a href="<ofbiz:url>/EntityPerformanceTest</ofbiz:url>" class="linktext">Entity Engine</a>
- </ul>
- <%}%>
- <%if(security.hasPermission("SERVER_STATS_VIEW", session)){%>
- <li><div class="tabletext">Server Hit Statistics Tools</div>
- <ul>
- <li><a href="<ofbiz:url>/StatsSinceStart</ofbiz:url>" class="linktext">Stats Since Server Start</a>
- </ul>
- <%}%>
- </ul>
-
- <div class="tabletext">NOTE: If you have not already run the installation data loading script, from the ofbiz home directory run "ant run-install" or "java -jar ofbiz.jar install"</div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
Modified: trunk/framework/webtools/widget/AvailableServicesScreens.xml
===================================================================
--- trunk/framework/webtools/widget/AvailableServicesScreens.xml 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/widget/AvailableServicesScreens.xml 2006-06-12 08:21:58 UTC (rev 7772)
@@ -29,6 +29,7 @@
<screen name="AvailableServicesList">
<section>
<actions>
+ <set field="appButtonItem" value="service"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/service/availableservices.bsh"/>
</actions>
<widgets>
Modified: trunk/framework/webtools/widget/CommonScreens.xml
===================================================================
--- trunk/framework/webtools/widget/CommonScreens.xml 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/widget/CommonScreens.xml 2006-06-12 08:21:58 UTC (rev 7772)
@@ -33,6 +33,12 @@
<!-- <set field="layoutSettings.headerRightBackgroundUrl" value="" global="true"/> -->
<set field="activeApp" value="webtools" global="true"/>
<set field="appheaderTemplate" value="component://webtools/webapp/webtools/includes/appheader.ftl" global="true"/>
+
+ <!-- can put this back in later once it is finished
+ <set field="applicationMenuLocation" value="component://webtools/widget/WebToolsMenus.xml" global="true"/>
+ <set field="applicationMenuName" value="WebtoolsAppBar" global="true"/>
+ <set field="applicationTitle" value="Webtools" global="true"/>
+ -->
</actions>
<widgets>
<include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/>
@@ -40,6 +46,20 @@
</section>
</screen>
+ <screen name="main">
+ <section>
+ <actions>
+ <set field="appButtonItem" value="main"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific><html><html-template location="component://webtools/webapp/webtools/main.ftl"/></html></platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
<screen name="printStart">
<section>
<widgets>
Added: trunk/framework/webtools/widget/WebToolsMenus.xml
===================================================================
--- trunk/framework/webtools/widget/WebToolsMenus.xml 2006-06-12 07:00:42 UTC (rev 7771)
+++ trunk/framework/webtools/widget/WebToolsMenus.xml 2006-06-12 08:21:58 UTC (rev 7772)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+$Id: $
+
+Copyright 2001-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.
+-->
+
+<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="../../../framework/widget/dtd/widget-menu.xsd">
+
+ <menu name="WebtoolsAppBar" default-menu-item-name="main" default-selected-style="headerButtonLeftSelected" selected-menuitem-context-field-name="appButtonItem"
+ default-title-style="tabButton" default-tooltip-style="tabletext" default-widget-style="headerButtonLeft"
+ default-align-style="col" menu-container-style="row" fill-style="col-fill" orientation="horizontal" type="simple">
+ <menu-item name="main" title="Main"><link target="main"/></menu-item>
+ <menu-item name="cache" title="Cache"><link target="FindUtilCache"/></menu-item>
+ <menu-item name="entity" title="Entity"><link target="entitymaint"/></menu-item>
+ <menu-item name="service" title="Service"><link target="availableServices"/></menu-item>
+ <menu-item name="workflow" title="Workflow"><link target="workflowMonitor"/></menu-item>
+ <menu-item name="data" title="Data"><link target="viewdatafile"/></menu-item>
+ <menu-item name="misc" title="Misc"><link target="EditCustomTimePeriod"/></menu-item>
+ <menu-item name="stats" title="Statistics"><link target="StatsSinceStart"/></menu-item>
+ </menu>
+
+
+</menus>
+
\ No newline at end of file
Property changes on: trunk/framework/webtools/widget/WebToolsMenus.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ "Date Rev Author URL Id"
Name: svn:eol-style
+ native
More information about the Svn
mailing list