| <?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" |
| xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| <screen name="CommonCalendarDecorator"> |
| <section> |
| <widgets> |
| <decorator-screen name="CommonManufacturingDecorator" location="${parameters.commonManufacturingDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <include-menu name="CalendarTabBar" location="component://manufacturing/widget/manufacturing/ManufacturingMenus.xml"/> |
| <decorator-section-include name="body"/> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditCalendar"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditCalendar"/> |
| <set field="tabButtonItem" value="calendar"/> |
| <!--<set field="labelTitleProperty" value="ProductProductBom"/>--> |
| <set field="headerItem" value="calendar"/> |
| |
| <script location="component://manufacturing/groovyScripts/routing/EditCalendar.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonCalendarDecorator"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/template/routing/EditCalendar.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="FindCalendar"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindCalendar"/> |
| <set field="tabButtonItem" value="Calendar"/> |
| <set field="headerItem" value="calendar"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| |
| <entity-condition entity-name="TechDataCalendar" list="techDataCalendars"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonCalendarDecorator"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleFindCalendar}"> |
| <container style="button-bar"> |
| <link style="buttontext" target="EditCalendar" text="${uiLabelMap.ManufacturingNewCalendar}"/> |
| </container> |
| <include-form name="ListTechDataCalendars" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ListCalendarWeek"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleListCalendarWeek"/> |
| <set field="tabButtonItem" value="CalendarWeek"/> |
| <set field="headerItem" value="calendar"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| |
| <entity-condition entity-name="TechDataCalendarWeek" list="calendarWeeks"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonCalendarDecorator"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleListCalendarWeek}"> |
| <container style="button-bar"> |
| <link style="buttontext" target="EditCalendarWeek" text="${uiLabelMap.ManufacturingNewCalendarWeek}"/> |
| </container> |
| <include-form name="ListCalendarWeek" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditCalendarWeek"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditCalendarWeek"/> |
| <set field="tabButtonItem" value="CalendarWeek"/> |
| <set field="headerItem" value="calendar"/> |
| |
| <entity-one entity-name="TechDataCalendarWeek" value-field="calendarWeek"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonCalendarDecorator"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleEditCalendarWeek}"> |
| <container style="button-bar"> |
| <link style="buttontext" target="EditCalendarWeek" text="${uiLabelMap.ManufacturingNewCalendarWeek}"/> |
| </container> |
| <include-form name="UpdateCalendarWeek" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditCalendarExceptionWeek"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditCalendarExceptionWeek"/> |
| <set field="tabButtonItem" value="calendarExceptionWeek"/> |
| <!--<set field="labelTitleProperty" value="ProductProductBom"/>--> |
| <set field="headerItem" value="calendar"/> |
| |
| <script location="component://manufacturing/groovyScripts/routing/EditCalendarExceptionWeek.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonCalendarDecorator"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/template/routing/EditCalendarExceptionWeek.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditCalendarExceptionDay"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditCalendarExceptionDay"/> |
| <set field="tabButtonItem" value="calendarExceptionDay"/> |
| <!--<set field="labelTitleProperty" value="ProductProductBom"/>--> |
| <set field="headerItem" value="calendar"/> |
| |
| <script location="component://manufacturing/groovyScripts/routing/EditCalendarExceptionDay.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonCalendarDecorator"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/template/routing/EditCalendarExceptionDay.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ListCalendarExceptionWeek"> |
| <section> |
| <actions> |
| <set field="calendarExceptionWeeksDatas" value="${groovy: request.getAttribute('calendarExceptionWeeksDatas');}"/> |
| </actions> |
| <widgets> |
| <include-form name="ListCalendarExceptionWeek" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="AddCalendarExceptionWeek"> |
| <section> |
| <actions> |
| <set field="techDataCalendar" value="${groovy: request.getAttribute('techDataCalendar');}"/> |
| </actions> |
| <widgets> |
| <include-form name="AddCalendarExceptionWeek" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="UpdateCalendarExceptionWeek"> |
| <section> |
| <actions> |
| <set field="calendarExceptionWeek" value="${groovy: request.getAttribute('calendarExceptionWeek');}"/> |
| </actions> |
| <widgets> |
| <include-form name="UpdateCalendarExceptionWeek" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ListCalendarExceptionDay"> |
| <section> |
| <actions> |
| <set field="calendarExceptionDays" value="${groovy: request.getAttribute('calendarExceptionDays');}"/> |
| </actions> |
| <widgets> |
| <include-form name="ListCalendarExceptionDay" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="AddCalendarExceptionDay"> |
| <section> |
| <actions> |
| <set field="techDataCalendar" value="${groovy: request.getAttribute('techDataCalendar');}"/> |
| </actions> |
| <widgets> |
| <include-form name="AddCalendarExceptionDay" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="UpdateCalendarExceptionDay"> |
| <section> |
| <actions> |
| <set field="calendarExceptionDay" value="${groovy: request.getAttribute('calendarExceptionDay');}"/> |
| </actions> |
| <widgets> |
| <include-form name="UpdateCalendarExceptionDay" location="component://manufacturing/widget/manufacturing/CalendarForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |