Files
ofbiz-framework/framework/webtools/widget/Menus.xml
T
Jacopo Cappellato cef1cccf82 OFBIZ-4864
* enabled by default the DebugManagedDataSource wrapper around ManagedDataSource
* enhanced the DebugManagedDataSource wrapper to:
** print log messages only at verbose level (instead of always as it was before)
** if possible print additional information about the connection status
** added new method that returns information about the connection pool settings/status
* added new static method to DBCPConnectionFactory to return information about the pools
* new screen in the webtools where information about each pool/helper is shown
The information provided by the screen can be very useful to analyze the status of the connection pools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338230 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:45:43 +00:00

300 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
<menu name="WebtoolsAppBar" title="${uiLabelMap.FrameworkWebTools}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="logging" title="${uiLabelMap.WebtoolsLogging}">
<link target="LogView"/>
</menu-item>
<menu-item name="cache" title="${uiLabelMap.WebtoolsCacheMaintenance}">
<link target="FindUtilCache"/>
</menu-item>
<menu-item name="artifact" title="${uiLabelMap.WebtoolsArtifactInfo}">
<link target="ArtifactInfo"/>
</menu-item>
<menu-item name="entity" title="${uiLabelMap.WebtoolsEntityEngine}">
<link target="entitymaint"/>
</menu-item>
<menu-item name="service" title="${uiLabelMap.WebtoolsServiceEngineTools}">
<link target="ServiceList"/>
</menu-item>
<menu-item name="importExport" title="${uiLabelMap.WebtoolsImportExport}">
<link target="xmldsdump"/>
</menu-item>
<menu-item name="stats" title="${uiLabelMap.WebtoolsStatistics}">
<link target="StatsSinceStart"/>
</menu-item>
<menu-item name="configuration" title="${uiLabelMap.WebtoolsConfiguration}">
<link target="myCertificates"/>
</menu-item>
<menu-item name="geoManagement" title="${uiLabelMap.WebtoolsGeoManagement}">
<link target="FindGeo"/>
</menu-item>
<menu-item name="portalAdmin" title="${uiLabelMap.WebtoolsAdminPortalPage}">
<condition><if-has-permission permission="PORTALPAGE_ADMIN"/></condition>
<link target="FindPortalPage"/>
</menu-item>
<menu-item name="security" title="${uiLabelMap.CommonSecurity}">
<condition>
<if-service-permission service-name="securityPermissionCheck" main-action="VIEW"/>
</condition>
<link target="security"/>
</menu-item>
<menu-item name="tests" title="Tests">
<link target="selenium"/>
</menu-item>
<menu-item name="LayoutDemo" title="${uiLabelMap.WebtoolsLayoutDemo}">
<link target="WebtoolsLayoutDemo" />
</menu-item>
</menu>
<menu name="configurationTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="page.tabButtonItem">
<menu-item name="tempexpr" title="${uiLabelMap.WebtoolsTemporalExpression}">
<link target="findTemporalExpression"/>
</menu-item>
<menu-item name="myCertificates" title="${uiLabelMap.WebtoolsMyCertificates}">
<link target="myCertificates"/>
</menu-item>
</menu>
<menu name="importExportTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="page.tabButtonItem">
<menu-item name="data" title="${uiLabelMap.WebtoolsDataFileTools}">
<link target="viewdatafile"/>
</menu-item>
<menu-item name="modelInduceFromDb" title="${uiLabelMap.WebtoolsInduceModelXMLFromDatabase}">
<link target="view/ModelInduceFromDb"/>
</menu-item>
<menu-item name="entityEoModelBundle" title="${uiLabelMap.WebtoolsExportEntityEoModelBundle}">
<link target="EntityEoModelBundle"/>
</menu-item>
<menu-item name="xmlDsDump" title="${uiLabelMap.PageTitleEntityExport}">
<link target="xmldsdump"/>
</menu-item>
<menu-item name="entityExportAll" title="${uiLabelMap.PageTitleEntityExportAll}">
<link target="EntityExportAll"/>
</menu-item>
<menu-item name="entityImport" title="${uiLabelMap.PageTitleEntityImport}">
<link target="EntityImport"/>
</menu-item>
<menu-item name="entityImportDir" title="${uiLabelMap.PageTitleEntityImportDir}">
<link target="EntityImportDir"/>
</menu-item>
<menu-item name="entityImportReaders" title="${uiLabelMap.PageTitleEntityImportReaders}">
<link target="EntityImportReaders"/>
</menu-item>
</menu>
<menu name="serviceTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="page.tabButtonItem">
<menu-item name="serviceList" title="${uiLabelMap.WebtoolsServiceReference}">
<link target="ServiceList"/>
</menu-item>
<menu-item name="findJob" title="${uiLabelMap.WebtoolsJobList}">
<link target="FindJob"/>
</menu-item>
<menu-item name="threadList" title="${uiLabelMap.WebtoolsThreadList}">
<link target="threadList"/>
</menu-item>
<menu-item name="scheduleJob" title="${uiLabelMap.WebtoolsScheduleJob}">
<link target="scheduleJob"/>
</menu-item>
<menu-item name="runService" title="${uiLabelMap.PageTitleRunService}">
<link target="runService"/>
</menu-item>
</menu>
<menu name="LoggingTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="logView" title="${uiLabelMap.WebtoolsViewLog}">
<link target="LogView"/>
</menu-item>
<menu-item name="serviceLog" title="${uiLabelMap.WebtoolsServiceLog}">
<link target="ServiceLog"/>
</menu-item>
<menu-item name="logConfiguration" title="${uiLabelMap.PageTitleLogConfiguration}">
<link target="LogConfiguration"/>
</menu-item>
</menu>
<menu name="CacheTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="logMenuItem">
<menu-item name="findUtilCache" title="${uiLabelMap.WebtoolsCacheMaintenance}">
<link target="FindUtilCache"/>
</menu-item>
</menu>
<menu name="artifactTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="artifactInfo" title="${uiLabelMap.WebtoolsArtifactInfo}">
<link target="ArtifactInfo"/>
</menu-item>
<menu-item name="viewents" title="${uiLabelMap.WebtoolsViewComponents}">
<link target="ViewComponents"/>
</menu-item>
<menu-item name="labels" title="${uiLabelMap.WebtoolsLabelManager}">
<link target="SearchLabels"/>
</menu-item>
</menu>
<menu name="TempExprTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="tabMenuItem">
<menu-item name="findExpression" title="${uiLabelMap.CommonFind}">
<link target="findTemporalExpression"/>
</menu-item>
<menu-item name="editExpression" title="${uiLabelMap.CommonEdit}">
<condition>
<not><if-empty field="temporalExpression"/></not>
</condition>
<link target="editTemporalExpression">
<parameter param-name="tempExprId" from-field="temporalExpression.tempExprId"/>
</link>
</menu-item>
</menu>
<menu name="EntityTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="entitymaint" title="${uiLabelMap.WebtoolsEntityDataMaintenance}">
<link target="entitymaint"/>
</menu-item>
<menu-item name="entityref" title="${uiLabelMap.WebtoolsEntityReference} - Interactive">
<link target="entityref" target-window="_BLANK"/>
</menu-item>
<menu-item name="entityrefStatic" title="${uiLabelMap.WebtoolsEntityReference} - ${uiLabelMap.WebtoolsEntityReferenceStaticVersion}">
<link target="entityref" target-window="_BLANK">
<parameter param-name="forstatic" value="true"/>
</link>
</menu-item>
<menu-item name="entityrefReport" title="${uiLabelMap.WebtoolsEntityReferencePdf}">
<link target="entityrefReport" target-window="_BLANK"/>
</menu-item>
<menu-item name="EntitySQLProcessor" title="${uiLabelMap.PageTitleEntitySQLProcessor}">
<link target="EntitySQLProcessor"/>
</menu-item>
<menu-item name="entitySyncStatus" title="${uiLabelMap.WebtoolsEntitySyncStatus}">
<link target="EntitySyncStatus"/>
</menu-item>
<menu-item name="checkDb" title="${uiLabelMap.WebtoolsCheckUpdateDatabase}">
<link target="view/checkdb"/>
</menu-item>
<menu-item name="ConnectionPoolStatus" title="${uiLabelMap.ConnectionPoolStatus}">
<link target="ConnectionPoolStatus"/>
</menu-item>
<menu-item name="entityPerformanceTest" title="${uiLabelMap.WebtoolsPerformanceTests}">
<link target="EntityPerformanceTest"/>
</menu-item>
</menu>
<menu name="PortalPageAdmin">
<menu-item name="duplicate" title="${uiLabelMap.CommonDuplicate}">
<link target="DuplicatePortalPage">
<parameter param-name="portalPageId" from-field="parameters.portalPageId"/>
</link>
</menu-item>
<menu-item name="new" title="${uiLabelMap.CommonNew}">
<link target="NewPortalPage"/>
</menu-item>
<menu-item name="refresh" title="${uiLabelMap.CommonRefresh}">
<link target="EditPortalPage">
<parameter param-name="portalPageId" from-field="parameters.portalPageId"/>
</link>
</menu-item>
</menu>
<menu name="StatsSinceStart" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="clearStats" title="${uiLabelMap.WebtoolsStatsClearSince}">
<link target="StatsSinceStart">
<parameter param-name="clear" value="true"/>
</link>
</menu-item>
<menu-item name="refresh" title="${uiLabelMap.CommonRefresh}" widget-style="buttontext refresh">
<link target="StatsSinceStart"/>
</menu-item>
</menu>
<menu name="StatsBinHistory" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="statsSinceStart" title="${uiLabelMap.WebtoolsStatsMainPageTitle}">
<link target="StatsSinceStart"/>
</menu-item>
<menu-item name="refresh" title="${uiLabelMap.CommonRefresh}" widget-style="buttontext refresh">
<link target="StatBinsHistory">
<parameter param-name="statsId" from-field="parameters.statsId"/>
<parameter param-name="type" from-field="parameters.type"/>
</link>
</menu-item>
</menu>
<menu name="FindCache" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="refresh" title="${uiLabelMap.CommonRefresh}" widget-style="buttontext refresh">
<link target="FindUtilCache"/>
</menu-item>
<menu-item name="clearAll" title="${uiLabelMap.WebtoolsClearAllCaches}">
<link target="FindUtilCacheClearAll"/>
</menu-item>
<menu-item name="forceGarbageCollection" title="${uiLabelMap.WebtoolsRunGC}">
<link target="ForceGarbageCollection"/>
</menu-item>
</menu>
<menu name="CacheElements" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="back" title="${uiLabelMap.WebtoolsBackToCacheMaintenance}">
<link target="FindUtilCache"/>
</menu-item>
</menu>
<menu name="EditCache" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="clear" title="${uiLabelMap.WebtoolsClearThisCache}">
<link target="EditUtilCacheClear">
<parameter param-name="UTIL_CACHE_NAME" from-field="cacheName"/>
<parameter param-name="type" from-field="parameters.type"/>
</link>
</menu-item>
<menu-item name="back" title="${uiLabelMap.WebtoolsBackToCacheMaintenance}">
<link target="FindUtilCache"/>
</menu-item>
</menu>
<menu name="geoManagement" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<!--menu-container-style="button-bar button-style-2 no-clear"-->
<menu-item name="FindGeo" title="${uiLabelMap.WebtoolsGeosFind}">
<link target="FindGeo"/>
</menu-item>
<menu-item name="EditGeo" title="${uiLabelMap.WebtoolsGeoCreateNew}">
<link target="EditGeo"/>
</menu-item>
<menu-item name="LinkGeos" title="${uiLabelMap.WebtoolsGeosLink}">
<link target="LinkGeos"/>
</menu-item>
</menu>
<menu name="LayoutDemo" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="Selected" title="${uiLabelMap.CommonSelected}" widget-style="selected">
<link target="${demoTargetUrl}"/>
</menu-item>
<menu-item name="Enabled" title="${uiLabelMap.CommonEnabled}">
<link target="${demoTargetUrl}"/>
</menu-item>
<menu-item name="Disabled" title="${uiLabelMap.CommonDisabled}" widget-style="disabled">
</menu-item>
</menu>
</menus>