svn commit: r464678 - in /incubator/ofbiz/trunk/framework/webtools: webapp/webtools/WEB-INF/ webapp/webtools/WEB-INF/actions/service/ webapp/webtools/service/ widget/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r464678 - in /incubator/ofbiz/trunk/framework/webtools: webapp/webtools/WEB-INF/ webapp/webtools/WEB-INF/actions/service/ webapp/webtools/service/ widget/

jacopoc
Author: jacopoc
Date: Mon Oct 16 14:33:00 2006
New Revision: 464678

URL: http://svn.apache.org/viewvc?view=rev&rev=464678
Log:
Converted three of the service related "region" pages to screen widget.

Added:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml   (with props)
Removed:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.jsp
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.jsp
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.jsp
Modified:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh Mon Oct 16 14:33:00 2006
@@ -0,0 +1,45 @@
+/*
+ * 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.
+ */
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.sql.Timestamp;
+
+import org.ofbiz.base.util.UtilMisc;
+import org.ofbiz.service.ServiceDispatcher;
+import org.ofbiz.service.RunningService;
+import org.ofbiz.service.engine.GenericEngine;
+
+Map log = ServiceDispatcher.getServiceLogMap();
+List serviceList = new ArrayList();
+if (log != null) {
+    Iterator i = log.keySet().iterator();
+    while (i.hasNext()) {
+        Map service = new HashMap();
+        RunningService rs = (RunningService) i.next();
+
+        service.put("serviceName", rs.getModelService().name);
+        service.put("localName", rs.getLocalName());
+        service.put("startTime", rs.getStartStamp());
+        service.put("endTime", rs.getEndStamp());
+        service.put("modeStr", (rs.getMode() == GenericEngine.SYNC_MODE? "SYNC": "ASYNC"));
+
+        serviceList.add(service);
+    }
+}
+context.put("services", serviceList);

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/services.bsh
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh Mon Oct 16 14:33:00 2006
@@ -0,0 +1,46 @@
+/*
+ * 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.
+ */
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.sql.Timestamp;
+
+import org.ofbiz.base.util.UtilMisc;
+import org.ofbiz.service.ServiceDispatcher;
+import org.ofbiz.service.RunningService;
+import org.ofbiz.service.engine.GenericEngine;
+
+List threads = new ArrayList();
+List jobs = dispatcher.getJobManager().processList();
+if (jobs != null) {
+    Iterator i = jobs.iterator();
+    while (i.hasNext()) {
+        Map job = (Map) i.next();
+        String status = "Invalid Status";
+        int state = ((Integer) job.get("status")).intValue();
+        switch (state) {
+            case 0 : status = "Sleeping"; break;
+            case 1 : status = "Running"; break;
+            case -1: status = "Shutting down"; break;
+            default: status = "Invalid Status"; break;
+        }
+        threads.add(UtilMisc.toMap("serviceName", job.get("serviceName"), "threadName", job.get("threadName"), "jobName", job.get("jobName"), "status", status));
+    }
+}
+context.put("threads", threads);

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/threads.bsh
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml?view=diff&rev=464678&r1=464677&r2=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml Mon Oct 16 14:33:00 2006
@@ -316,6 +316,7 @@
         <security https="true" auth="true"/>
         <response name="success" type="view" value="serviceList"/>
     </request-map>
+
     <request-map uri="threadList">
         <security https="true" auth="true"/>
         <response name="success" type="view" value="threadList"/>
@@ -539,10 +540,11 @@
 
     <view-map name="EditCustomTimePeriod" type="region"/>
 
-    <view-map name="serviceList" type="region"/>
-    <view-map name="threadList" type="region"/>
-    <view-map name="jobList" type="region"/>
     <view-map name="scheduleJob" type="region"/>
+
+    <view-map name="serviceList" type="screen" page="component://webtools/widget/ServiceScreens.xml#ServiceList"/>
+    <view-map name="jobList" type="screen" page="component://webtools/widget/ServiceScreens.xml#JobList"/>
+    <view-map name="threadList" type="screen" page="component://webtools/widget/ServiceScreens.xml#ThreadList"/>
     <view-map name="availableServices" type="screen" page="component://webtools/widget/AvailableServicesScreens.xml#AvailableServicesList"/>
     <view-map name="serviceEcaDetail" type="screen" page="component://webtools/widget/AvailableServicesScreens.xml#ServiceEcaDetail"/>
 

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml?view=diff&rev=464678&r1=464677&r2=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml Mon Oct 16 14:33:00 2006
@@ -123,18 +123,6 @@
         <put section="content" content="/period/EditCustomTimePeriod.jsp"/>
     </define>
 
-    <define id="threadList" region="MAIN_REGION">
-     <put section="title">Thread List</put>
-     <put section="content" content="/service/threads.jsp"/>
-    </define>
-    <define id="serviceList" region="MAIN_REGION">
-     <put section="title">Service Log</put>
-     <put section="content" content="/service/services.jsp"/>
-    </define>
-    <define id="jobList" region="MAIN_REGION">
-     <put section="title">Scheduled Jobs</put>
-     <put section="content" content="/service/jobs.jsp"/>
-    </define>
     <define id="scheduleJob" region="MAIN_REGION">
      <put section="title">Schedule Job</put>
      <put section="content" content="/service/schedulejob.jsp"/>

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl Mon Oct 16 14:33:00 2006
@@ -0,0 +1,51 @@
+<#--
+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.
+-->
+
+<table cellpadding="2" cellspacing="0" border="1" width="100%">
+  <tr>
+    <td><div class="tableheadtext">Job</div></td>
+    <td><div class="tableheadtext">Pool</div></td>
+    <td><div class="tableheadtext">Run Time</div></td>
+    <td><div class="tableheadtext">Start Time</div></td>
+    <td><div class="tableheadtext">Service</div></td>
+    <td><div class="tableheadtext">Finish Time</div></td>
+    <td>&nbsp;</td>
+  </tr>
+  <#list jobs as job>
+  <tr>
+    <td><div class="tabletext">${job.jobName?if_exists}&nbsp;</td>
+    <td><div class="tabletext">${job.poolId?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${job.runTime?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${job.startDateTime?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext"><a href="<@ofbizUrl>availableServices?sel_service_name=${job.serviceName?if_exists}</@ofbizUrl>" class="buttontext">${job.serviceName?if_exists}</a></div></td>
+    <td>
+      <div class="tabletext">
+        <#if job.cancelDateTime?exists>
+        <font color="red">${job.cancelDateTime}</font>
+        <#else>
+        ${job.finishDateTime?if_exists}
+        </#if>
+      </div>
+    </td>
+    <td align="center">
+      <#if !(job.startDateTime?exists) && !(job.finishDateTime?exists) && !(job.cancelDateTime?exists)>
+      <a href="<@ofbizUrl>cancelJob?jobId=${job.jobId}</@ofbizUrl>" class="buttontext">Cancel Job.</a>
+      </#if>
+      &nbsp;
+    </td>
+  </tr>
+  </#list>
+</table>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl Mon Oct 16 14:33:00 2006
@@ -0,0 +1,24 @@
+<#--
+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.
+-->
+<#assign unselectedClassName = "tabButton">
+<#assign selectedClassMap = {page.tabButtonItem?default("void") : "tabButtonSelected"}>
+
+<div class="tabContainer">
+  <a href="<@ofbizUrl>serviceList</@ofbizUrl>" class="${selectedClassMap.ServiceList?default(unselectedClassName)}">Service List</a>
+  <a href="<@ofbizUrl>jobList</@ofbizUrl>" class="${selectedClassMap.JobList?default(unselectedClassName)}">Job List</a>
+  <a href="<@ofbizUrl>threadList</@ofbizUrl>" class="${selectedClassMap.ThreadList?default(unselectedClassName)}">Thread List</a>
+  <a href="<@ofbizUrl>scheduleJob</@ofbizUrl>" class="${selectedClassMap.ScheduleJob?default(unselectedClassName)}">Schedule Job</a>
+</div>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl Mon Oct 16 14:33:00 2006
@@ -0,0 +1,34 @@
+<#--
+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.
+-->
+
+<table cellpadding="2" cellspacing="0" border="1" width="100%">
+  <tr>
+    <td><div class="tableheadtext">Service Name</div></td>
+    <td><div class="tableheadtext">Dispatcher Name</div></td>
+    <td><div class="tableheadtext">Mode</div></td>
+    <td><div class="tableheadtext">Start Time</div></td>
+    <td><div class="tableheadtext">End Time</div></td>
+  </tr>
+  <#list services as service>
+  <tr>
+    <td><div class="tabletext">${service.serviceName?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${service.localName?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${service.modeStr?default("[none]")}&nbsp;</div></td>
+    <td><div class="tabletext">${service.startTime?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${service.endTime?default("[running]")}&nbsp;</div></td>
+  </tr>
+  </#list>
+</table>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl Mon Oct 16 14:33:00 2006
@@ -0,0 +1,34 @@
+<#--
+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.
+-->
+
+<table cellpadding="2" cellspacing="0" border="1" width="100%">
+  <tr>
+    <td><div class="tableheadtext">Thread</div></td>
+    <td><div class="tableheadtext">Status</div></td>
+    <td><div class="tableheadtext">Job</div></td>
+    <td><div class="tableheadtext">Service</div></td>
+    <td><div class="tableheadtext">Time (ms)</div></td>
+  </tr>
+  <#list threads as thread>
+  <tr>
+    <td><div class="tabletext">${thread.threadName?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${thread.status?if_exists}&nbsp;</div></td>
+    <td><div class="tabletext">${thread.jobName?default("[none]")}</div></td>
+    <td><div class="tabletext">${thread.serviceName?default("[none]")}</div></td>
+    <td><div class="tabletext">${thread.runTime?if_exists}&nbsp;</div></td>
+  </tr>
+  </#list>
+</table>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml?view=auto&rev=464678
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml (added)
+++ incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml Mon Oct 16 14:33:00 2006
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Copyright 2004-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.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd">
+    
+    <screen name="CommonServiceDecorator">
+        <section>
+            <actions>
+                <set field="headerItem" value="services"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <!-- do check for WEBTOOLS, _VIEW permission -->
+                            <condition>
+                                <if-has-permission permission="WEBTOOLS" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <platform-specific>
+                                    <html><html-template location="component://webtools/webapp/webtools/service/serviceTabBar.ftl"/></html>
+                                </platform-specific>
+                                
+                                <decorator-section-include name="body"/>
+                                
+                            </widgets>
+                            <fail-widgets>
+                                <label style="head3">${uiLabelMap.WebtoolsPermissionError}</label>
+                            </fail-widgets>
+                        </section>                    
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+
+    <screen name="ServiceList">
+        <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>
+            <widgets>
+                <decorator-screen name="CommonServiceDecorator">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://webtools/webapp/webtools/service/services.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="JobList">
+        <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"/>
+                </entity-condition>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonServiceDecorator">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://webtools/webapp/webtools/service/jobs.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="ThreadList">
+        <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>
+            <widgets>
+                <decorator-screen name="CommonServiceDecorator">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://webtools/webapp/webtools/service/threads.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+
+</screens>
+

Propchange: incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml