Added:
ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl?view=auto&rev=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl
(added)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl
Tue Mar 27 00:04:31 2007
@@ -0,0 +1,100 @@
+<#--
+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.
+-->
+
+<h1>Active Workflow Monitor</h1>
+<br />
+<#if security.hasPermission("WORKFLOW_MAINT", session)>
+
+ <#-- list all running processes -->
+ <#if !parameters.workflow?exists>
+ <#if runningProcesses?exists>
+ <p>This page is used to view the status of running workflows.</p>
+ <table class="basic-table dark-grid" cellspacing="0">
+ <tr class="header-row">
+ <td>Package/Version</td>
+ <td>Process/Version</td>
+ <td>Current Status</td>
+ <td>Priority</div></td>
+ <td>Actual StartDate</div></td>
+ <td>Source Reference ID</div></td>
+ <td> </td>
+ </tr>
+ <#list runningProcesses as runningProcess>
+ <tr>
+ <td>${runningProcess.workflowPackageId} /
${runningProcess.workflowPackageVersion}</td>
+ <td>${runningProcess.workflowProcessId} /
${runningProcess.workflowProcessVersion}</td>
+
<td>${WfUtil.getOMGStatus(runningProcess.getString("currentStatusId"))}</td>
+ <td>${runningProcess.priority?default(" ")}</td>
+ <td>${runningProcess.actualStartDate?default("N/A")}</td>
+ <td>${runningProcess.sourceReferenceId?default(" ")}</td>
+ <td class="button-col"><a
href="<@ofbizUrl>workflowMonitor?workflow=${runningProcess.workEffortId?if_exists}</@ofbizUrl>">View</a></td>
+ </tr>
+ </#list>
+ </table>
+ <else>
+ <h3>No running processes</h3>
+ </#if>
+ <#else>
+ <#-- list all steps in the process -->
+ <#if activities?exists>
+ <div class="button-bar"><a
href="<@ofbizUrl>workflowMonitor</@ofbizUrl>">Workflows</a></div>
+ <br />
+ <div class="screenlet">
+ <div class="screenlet-title-bar">
+ <h3>Activity list for: ${workflowDefworkflowPackageId} /
${workflowDef.workflowProcessId}</h3>
+ </div>
+ <table class="basic-table dark-grid" cellspacing="0">
+ <tr class="header-row">
+ <td>Activity ID</td>
+ <td>Priority</td>
+ <td>Current Status</td>
+ <td>Actual Start Date</td>
+ <td>Actual Complete Date</td>
+ <td>Assignment(s)</td>
+ </tr>
+ <#list activities as step>
+ <#assign assignments =
step.getRelated("WorkEffortPartyAssignment")>
+ <#assign assignments =
EntityUtil.filterByDate(assignments)>
+ <tr>
+ <#-- TODO: add external login ID to external links -->
+ <td class="button-col"><a
href="/workeffort/control/activity?workEffortId=${step.workEffortId}"
target="workeffort">${step.workflowActivityId}</a></td>
+ <td>${step.priority?default(" ")}</td>
+
<td>${WfUtil.getOMGStatus(step.getString("currentStatusId"))}</td>
+ <td>${step.actualStartDate?default("N/A")}</td>
+ <td>${step.actualCompletionDate?default("N/A")}</td>
+ <td class="button-col">
+ <#if assignments?has_content>
+ <#list assignments as assignment>
+ <a
href="/partymgr/control/viewprofile?party_id=${assignment.partyId?if_exists}"
target="partymgr" >${assignment.partyId}</a>
+ </#list>
+ <#else>
+ N/A
+ </#if>
+ </td>
+ </tr>
+ </#list>
+ </table>
+ </div>
+ <#else>
+ <h3>No steps found for running workflow process: ${workflow}</h3>
+ </#if>
+ </#if>
+<#else>
+ <h3>You do not have permission to use this page (WORKFLOW_MAINT needed)</h3>
+</#if>
Propchange:
ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange:
ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.ftl
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.jsp
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.jsp?view=diff&rev=522793&r1=522792&r2=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.jsp
(original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/workflow/workflowMonitor.jsp
Tue Mar 27 00:04:31 2007
@@ -1,129 +0,0 @@
-<%--
-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.
---%>
-
-<%@ page import="java.util.*, java.net.*" %>
-<%@ page import="org.ofbiz.security.*, org.ofbiz.entity.*,
org.ofbiz.base.util.*, org.ofbiz.webapp.pseudotag.*" %>
-<%@ page import="org.ofbiz.entity.condition.*, org.ofbiz.entity.util.*,
org.ofbiz.workflow.definition.*, org.ofbiz.workflow.*" %>
-
-<%@ 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" />
-
-<%
- String workflow = request.getParameter("workflow");
- GenericValue workflowDef = null;
- if (workflow == null) {
- List runningProcesses = delegator.findByAnd("WorkEffort",
UtilMisc.toMap("workEffortTypeId", "WORK_FLOW", "currentStatusId",
"WF_RUNNING"));
- if (runningProcesses != null)
- pageContext.setAttribute("runningProcesses",
runningProcesses);
- } else {
- workflowDef = delegator.findByPrimaryKey("WorkEffort",
UtilMisc.toMap("workEffortId", workflow));
- if (workflowDef != null)
- pageContext.setAttribute("workflow", workflowDef);
- List activities = delegator.findByAnd("WorkEffort",
UtilMisc.toMap("workEffortParentId", workflow));
- if (activities != null)
- pageContext.setAttribute("activities", activities);
- }
-%>
-<div class="head2">Active Workflow Monitor</div>
-
-<%if(security.hasPermission("WORKFLOW_MAINT", session)) {%>
-
-<!-- list all running processes -->
-<ofbiz:unless name="workflow">
- <ofbiz:unless name="runningProcesses">
- <div class="head1">No running processes</div>
- </ofbiz:unless>
- <ofbiz:if name="runningProcesses">
- <div> </div>
- <div class="tabletext">This page is used to view the status of running
workflows.</div>
- <table cellpadding="2" cellspacing="0" border="1" width="100%">
- <tr>
- <td><div class="tableheadtext">Package/Version</div></td>
- <td><div class="tableheadtext">Process/Version</div></td>
- <td><div class="tableheadtext">Current Status</div></td>
- <td><div class="tableheadtext">Priority</div></td>
- <td><div class="tableheadtext">Actual StartDate</div></td>
- <td><div class="tableheadtext">Source Reference ID</div></td>
- <td> </td>
- </tr>
- <ofbiz:iterator name="runningProcess" property="runningProcesses">
- <tr>
- <td><div
class="tabletext"><%=runningProcess.getString("workflowPackageId")%> /
<%=runningProcess.getString("workflowPackageVersion")%></div></td>
- <td><div
class="tabletext"><%=runningProcess.getString("workflowProcessId")%> /
<%=runningProcess.getString("workflowProcessVersion")%></div></td>
- <td><div
class="tabletext"><%=WfUtil.getOMGStatus(runningProcess.getString("currentStatusId"))%></div></td>
- <td><div
class="tabletext"><%=UtilFormatOut.checkNull(runningProcess.getString("priority"),
" ")%></div></td>
- <td><div
class="tabletext"><%=UtilFormatOut.checkNull(runningProcess.getString("actualStartDate"),
"N/A")%></div></td>
- <td><div
class="tabletext"><%=UtilFormatOut.checkNull(runningProcess.getString("sourceReferenceId"),
" ")%></div></td>
- <td align="center"> <a
href="<ofbiz:url>/workflowMonitor?workflow=<%=runningProcess.getString("workEffortId")%></ofbiz:url>"
class="buttontext">[View]</a> </td>
- </tr>
- </ofbiz:iterator>
- </table>
- </ofbiz:if>
-</ofbiz:unless>
-
-<!-- list all steps in the process -->
-<ofbiz:if name="workflow">
- <ofbiz:unless name="activities">
- <div class="head1">No steps found for running workflow process:
<%=workflow%></div>
- </ofbiz:unless>
- <ofbiz:if name="activities">
- <div><a href="<ofbiz:url>/workflowMonitor</ofbiz:url>"
class="buttontext">[Workflows]</a></div>
- <div> </div>
- <span class="head1">Activity list for: </span><span
class="head2"><%=workflowDef.getString("workflowPackageId") + " / " +
workflowDef.getString("workflowProcessId")%>
- <table cellpadding="2" cellspacing="0" border="1" width="100%">
- <tr>
- <td><div class="tabletext"><b>Activity ID</b></div></td>
- <td><div class="tabletext"><b>Priority</b></div></td>
- <td><div class="tabletext"><b>Current Status</b></div></td>
- <td><div class="tabletext"><b>Actual StartDate</b></div></td>
- <td><div class="tabletext"><b>Actual CompleteDate</b></div></td>
- <td><div class="tabletext"><b>Assignment(s)</b></div></td>
- </tr>
- <ofbiz:iterator name="step" property="activities">
- <%
- List assignments = step.getRelated("WorkEffortPartyAssignment");
- assignments = EntityUtil.filterByDate(assignments);
- Iterator assignmentIterator = assignments.iterator();
- %>
-
- <tr>
- <td><a
href="/workeffort/control/activity?workEffortId=<%=step.getString("workEffortId")%>"
target="workeffort"
class="buttontext"><%=step.getString("workflowActivityId")%></a></td>
- <td><div
class="tabletext"><%=UtilFormatOut.checkNull(step.getString("priority"),
" ")%></div></td>
- <td><div
class="tabletext"><%=WfUtil.getOMGStatus(step.getString("currentStatusId"))%></div></td>
- <td><div
class="tabletext"><%=UtilFormatOut.checkNull(step.getString("actualStartDate"),
"N/A")%></div></td>
- <td><div
class="tabletext"><%=UtilFormatOut.checkNull(step.getString("actualCompletionDate"),"N/A")%></div></td>
- <td nowrap>
- <% if (!assignmentIterator.hasNext()) { %><span
class="tabletext">N/A</span><%}%>
- <% while (assignmentIterator.hasNext()) { GenericValue assignment
= (GenericValue) assignmentIterator.next(); %>
- <a
href="/partymgr/control/viewprofile?party_id=<%=assignment.getString("partyId")%>"
target="partymgr" class="buttontext"><%=assignment.getString("partyId")%></a>
- <% if (assignmentIterator.hasNext()) { %>, <%}%>
- <%}%>
- </td>
- </tr>
- </ofbiz:iterator>
- </table>
- </ofbiz:if>
-</ofbiz:if>
-
-<%}else{%>
- <hr/>
- <div>You do not have permission to use this page (WORKFLOW_MAINT
needed)</div>
-<%}%>
Modified: ofbiz/trunk/framework/webtools/widget/CacheScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/CacheScreens.xml?view=diff&rev=522793&r1=522792&r2=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/CacheScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/CacheScreens.xml Tue Mar 27 00:04:31
2007
@@ -23,6 +23,7 @@
<screen name="FindUtilCache">
<section>
<actions>
+ <set field="headerItem" value="cache"/>
<set field="titleProperty" value="PageTitleFindUtilCache"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/cache/findUtilCache.bsh"/>
</actions>
@@ -53,6 +54,7 @@
<screen name="FindUtilCacheElements">
<section>
<actions>
+ <set field="headerItem" value="cache"/>
<set field="titleProperty" value="PageTitleFindUtilCacheElements"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/cache/findUtilCacheElements.bsh"/>
</actions>
@@ -83,6 +85,7 @@
<screen name="EditUtilCache">
<section>
<actions>
+ <set field="headerItem" value="cache"/>
<set field="titleProperty" value="PageTitleEditUtilCache"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/cache/editUtilCache.bsh"/>
</actions>
Modified: ofbiz/trunk/framework/webtools/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/CommonScreens.xml?view=diff&rev=522793&r1=522792&r2=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/CommonScreens.xml Tue Mar 27 00:04:31
2007
@@ -50,7 +50,7 @@
<screen name="main">
<section>
<actions>
- <set field="appButtonItem" value="main"/>
+ <set field="headerItem" value="main"/>
</actions>
<widgets>
<decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
Modified: ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml?view=diff&rev=522793&r1=522792&r2=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/EntityScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/EntityScreens.xml Tue Mar 27 00:04:31
2007
@@ -347,5 +347,47 @@
</fail-widgets>
</section>
</screen>
+ <screen name="EntityPerformanceTest">
+ <section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityPerformanceTest.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific>
+ <html><html-template
location="component://webtools/webapp/webtools/performance/EntityPerformanceTest.ftl"/></html>
+ </platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="xmldsdump">
+ <section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/entity/xmldsdump.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific><html><html-template
location="component://webtools/webapp/webtools/entity/xmldsdump.ftl"/></html></platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+
</screens>
+
+
+
+
+
+
Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?view=diff&rev=522793&r1=522792&r2=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Tue Mar 27 00:04:31
2007
@@ -22,10 +22,82 @@
<screen name="ViewComponents">
<section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ </actions>
<widgets>
<decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template
location="component://webtools/webapp/webtools/component/viewComponents.ftl"/></html></platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="EditCustomTimePeriod">
+ <section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/period/EditCustomTimePeriod.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific><html><html-template
location="component://webtools/webapp/webtools/period/EditCustomTimePeriod.ftl"/></html></platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="viewdatafile">
+ <section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific><html><html-template
location="component://webtools/webapp/webtools/datafile/viewdatafile.ftl"/></html></platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="readxpdl">
+ <section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/workflow/readxpdl.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific><html><html-template
location="component://webtools/webapp/webtools/workflow/readxpdl.ftl"/></html></platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="workflowMonitor">
+ <section>
+ <actions>
+ <set field="headerItem" value="main"/>
+<!-- <set field="titleProperty" value="insertTitleHere"/> -->
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/workflow/workflowMonitor.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific><html><html-template
location="component://webtools/webapp/webtools/workflow/workflowMonitor.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
Modified: ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml?view=diff&rev=522793&r1=522792&r2=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml Tue Mar 27
00:04:31 2007
@@ -24,7 +24,7 @@
<screen name="CommonServiceDecorator">
<section>
<actions>
- <set field="headerItem" value="services"/>
+ <set field="headerItem" value="jobs"/>
</actions>
<widgets>
<decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
@@ -56,7 +56,6 @@
<section>
<actions>
<set field="titleProperty" value="PageTitleServiceList"/>
- <set field="headerItem" value="services"/>
<set field="tabButtonItem" value="ServiceList"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/service/services.bsh"/>
</actions>
@@ -75,7 +74,6 @@
<section>
<actions>
<set field="titleProperty" value="PageTitleJobList"/>
- <set field="headerItem" value="services"/>
<set field="tabButtonItem" value="JobList"/>
<entity-condition entity-name="JobSandbox" list-name="jobs">
<order-by field-name="-runTime"/>
@@ -96,7 +94,6 @@
<section>
<actions>
<set field="titleProperty" value="PageTitleThreadList"/>
- <set field="headerItem" value="services"/>
<set field="tabButtonItem" value="ThreadList"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh"/>
</actions>
@@ -115,7 +112,6 @@
<section>
<actions>
<set field="titleProperty" value="PageTitleScheduleJob"/>
- <set field="headerItem" value="services"/>
<set field="tabButtonItem" value="ScheduleJob"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/service/scheduleJob.bsh"/>
</actions>
@@ -148,7 +144,6 @@
<section>
<actions>
<set field="titleProperty" value="PageTitleScheduleJob"/>
- <set field="headerItem" value="services"/>
<set field="tabButtonItem" value="ScheduleJob"/>
<script
location="component://webtools/webapp/webtools/WEB-INF/actions/service/scheduleJob.bsh"/>
</actions>
Added: ofbiz/trunk/framework/webtools/widget/StatsScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/StatsScreens.xml?view=auto&rev=522793
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/StatsScreens.xml (added)
+++ ofbiz/trunk/framework/webtools/widget/StatsScreens.xml Tue Mar 27 00:04:31
2007
@@ -0,0 +1,74 @@
+<?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.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd">
+
+ <screen name="StatsSinceStart">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebtoolsStatsMainPageTitle"/>
+ <set field="headerItem" value="stats"/>
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/stats/StatsSinceStart.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <section>
+ <widgets>
+ <platform-specific>
+ <html>
+ <html-template
location="component://webtools/webapp/webtools/stats/StatsSinceStart.ftl"/>
+ </html>
+ </platform-specific>
+ </widgets>
+ </section>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="StatBinsHistory">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebtoolsStatsMainPageTitle"/>
+ <set field="headerItem" value="stats"/>
+ <script
location="component://webtools/webapp/webtools/WEB-INF/actions/stats/StatBinsHistory.bsh"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWebtoolsDecorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <section>
+ <widgets>
+ <platform-specific>
+ <html>
+ <html-template
location="component://webtools/webapp/webtools/stats/StatBinsHistory.ftl"/>
+ </html>
+ </platform-specific>
+ </widgets>
+ </section>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+</screens>
Propchange: ofbiz/trunk/framework/webtools/widget/StatsScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/webtools/widget/StatsScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/framework/webtools/widget/StatsScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml