You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2008/09/23 23:09:30 UTC
svn commit: r698351 [5/5] - in /ofbiz/trunk/specialpurpose: ./ webpos/
webpos/build/ webpos/config/ webpos/data/ webpos/entitydef/ webpos/script/
webpos/script/org/ webpos/script/org/ofbiz/ webpos/script/org/ofbiz/webpos/
webpos/script/org/ofbiz/webpos...
Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml Tue Sep 23 14:09:28 2008
@@ -0,0 +1,75 @@
+<?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://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+ <screen name="Main">
+ <section>
+ <actions>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/buttons/Main.groovy"/>
+ </actions>
+ <widgets>
+ <container>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/buttons/Main.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Manager">
+ <section>
+ <actions>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/buttons/Main.groovy"/>
+ </actions>
+ <widgets>
+ <container>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/buttons/Manager.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Payment">
+ <section>
+ <actions>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/buttons/Payment.groovy"/>
+ </actions>
+ <widgets>
+ <container>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/buttons/Payment.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Promo">
+ <section>
+ <actions>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/buttons/Main.groovy"/>
+ </actions>
+ <widgets>
+ <container>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/buttons/Promo.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+</screens>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ButtonsScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml Tue Sep 23 14:09:28 2008
@@ -0,0 +1,202 @@
+<?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://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+ <screen name="main-decorator">
+ <section>
+ <actions>
+ <!-- base/top/specific map first, then more common map added for shared labels -->
+ <property-map resource="WebPosUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
+
+ <set field="MainColumnStyle" value="center" global="true"/>
+
+ <!-- The default (global) shortcut icon -->
+ <set field="layoutSettings.shortcutIcon" value="/images/favicon.ico" global="true"/>
+
+ <!-- The default (main) java scripts -->
+ <!-- NOTE: this should be included on each screen that uses it to avoid including it in all screens: -->
+ <set field="layoutSettings.javaScripts[+0]" value="/images/fieldlookup.js" global="true"/>
+ <set field="layoutSettings.javaScripts[+0]" value="/images/selectall.js" global="true"/>
+ <set field="layoutSettings.javaScripts[+0]" value="/images/calendar1.js" global="true"/>
+ <set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/prototype.js" global="true"/><set field="layoutSettings.extraHead" value="<link rel="stylesheet" href="/content/images/contentForum.css" type="text/css"/>" global="true"/>
+
+ <script location="component://webpos/widget/WebPosSetup.groovy"/>
+
+ <!-- The default (main) stylesheets -->
+ <set field="layoutSettings.styleSheets[+0]" value="/webpos/images/webpos.css" global="true"/>
+ <set field="layoutSettings.styleSheets[+0]" value="${productStore.styleSheet}" default-value="/images/ecommain.css" global="true"/>
+ <set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/>
+
+ <set field="activeApp" value="webpos" global="true"/>
+ </actions>
+ <widgets>
+ <!-- render Header -->
+ <include-screen name="Header" location="component://webpos/widget/CommonScreens.xml"/>
+ <container id="ecom-mainarea">
+ <container>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/includes/Messages.ftl"/></html></platform-specific>
+ </container>
+ <!-- by default will render left-bar only if left/rightbarScreenName value not empty -->
+ <include-screen name="${leftbarScreenName}" location="${leftbarScreenLocation}"/>
+ <include-screen name="${rightbarScreenName}" location="${rightbarScreenLocation}"/>
+ <container style="${MainColumnStyle}">
+ <decorator-section-include name="body"/>
+ </container>
+ </container>
+ <!-- render Footer -->
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/includes/Footer.ftl"/></html></platform-specific>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="rightbar">
+ <section>
+ <widgets>
+ <container style="right">
+ <include-screen name="Language"/>
+ <include-screen name="Main" location="component://webpos/widget/ButtonsScreens.xml"/>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="rightbar_manager">
+ <section>
+ <widgets>
+ <container style="right">
+ <include-screen name="Language"/>
+ <include-screen name="Manager" location="component://webpos/widget/ButtonsScreens.xml"/>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="rightbar_payment">
+ <section>
+ <widgets>
+ <container style="right">
+ <include-screen name="Language"/>
+ <include-screen name="Payment" location="component://webpos/widget/ButtonsScreens.xml"/>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="rightbar_promo">
+ <section>
+ <widgets>
+ <container style="right">
+ <include-screen name="Language"/>
+ <include-screen name="Promo" location="component://webpos/widget/ButtonsScreens.xml"/>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="leftbar">
+ <section>
+ <widgets>
+ <container style="left">
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Header">
+ <section>
+ <widgets>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/includes/Header.ftl"/></html></platform-specific>
+ </widgets>
+ </section>
+ </screen>
+
+ <!-- Column Included Screens -->
+ <screen name="Language">
+ <section>
+ <widgets>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/includes/Language.ftl"/></html></platform-specific>
+ </widgets>
+ </section>
+ </screen>
+
+ <!-- Top Level Screens -->
+ <screen name="Main">
+ <section>
+ <actions>
+ <set field="MainColumnStyle" value="center"/>
+ <set field="titleProperty" value="WebPosPageTitleMain"/>
+ <set field="headerItem" value="Main" />
+ </actions>
+ <widgets>
+ <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Login">
+ <section>
+ <actions>
+ <set field="MainColumnStyle" value="leftonly"/>
+ <set field="titleProperty" value="PageTitleLogin"/>
+ <set field="headerItem" value="login"/>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/Login.groovy"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific>
+ <html><html-template location="component://webpos/webapp/webpos/Login.ftl"/></html>
+ </platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="RequirePasswordChange">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebPosPageTitleLogin"/>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/Login.groovy"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <platform-specific>
+ <html><html-template location="component://webpos/webapp/webpos/RequirePasswordChange.ftl"/></html>
+ </platform-specific>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+</screens>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml Tue Sep 23 14:09:28 2008
@@ -0,0 +1,99 @@
+<?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://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+ <screen name="OpenTerminal">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_manager"/>
+ <set field="titleProperty" value="WebPosPageTitleOpenTerminal"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="OpenTerminal">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/manager/OpenTerminal.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="CloseTerminal">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_manager"/>
+ <set field="titleProperty" value="WebPosPageTitleCloseTerminal"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="CloseTerminal">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/manager/CloseTerminal.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="VoidOrder">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_manager"/>
+ <set field="titleProperty" value="WebPosPageTitleVoidOrder"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="VoidOrder">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/manager/VoidOrder.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="PaidOutAndIn">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_manager"/>
+ <set field="titleProperty" value="WebPosPageTitlePaidOutAndIn"/>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/manager/PaidOutAndIn.groovy"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PaidOutAndIn">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/manager/PaidOutAndIn.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="ModifyPrice">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_manager"/>
+ <set field="titleProperty" value="WebPosPageTitleModifyPrice"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="ModifyPrice">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/manager/ModifyPrice.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+</screens>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml Tue Sep 23 14:09:28 2008
@@ -0,0 +1,98 @@
+<?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://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+ <screen name="PayCash">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_payment"/>
+ <set field="titleProperty" value="WebPosPageTitlePayCash"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PayCash">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/payment/PayCash.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="PayCheck">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_payment"/>
+ <set field="titleProperty" value="WebPosPageTitlePayCheck"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PayCheck">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/payment/PayCheck.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="PayGiftCard">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_payment"/>
+ <set field="titleProperty" value="WebPosPageTitlePayGiftCard"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PayGiftCard">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/payment/PayGiftCard.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="PayCreditCard">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_payment"/>
+ <set field="titleProperty" value="WebPosPageTitlePayCreditCard"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PayCreditCard">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/payment/PayCreditCard.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="PaySetRef">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_payment"/>
+ <set field="titleProperty" value="WebPosPageTitlePaySetRef"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PaySetRef">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/payment/PaySetRef.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+</screens>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml Tue Sep 23 14:09:28 2008
@@ -0,0 +1,38 @@
+<?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://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+ <screen name="PromoCode">
+ <section>
+ <actions>
+ <set field="rightbarScreenName" value="rightbar_promo"/>
+ <set field="titleProperty" value="WebPosPageTitlePromoCode"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts" location="component://webpos/widget/WebPosScreens.xml"/>
+ <container id="PromoCode">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/promo/PromoCode.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+</screens>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml Tue Sep 23 14:09:28 2008
@@ -0,0 +1,165 @@
+<?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://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+ <screen name="webPosMainDecorator">
+ <section>
+ <actions>
+ <set field="MainColumnStyle" value="rightonly"/>
+
+ <set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/scriptaculous.js" global="true"/>
+ <set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/effects.js" global="true"/>
+ <set field="layoutSettings.javaScripts[]" value="/images/prototypejs/controls.js" global="true"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <section>
+ <widgets>
+ <decorator-section-include name="body"/>
+ </widgets>
+ </section>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Main">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebPosPageTitleMain"/>
+ <set field="rightbarScreenName" value="rightbar"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts"/>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Manager">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebPosPageTitleMain"/>
+ <set field="rightbarScreenName" value="rightbar_manager"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts"/>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Payment">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebPosPageTitleMain"/>
+ <set field="rightbarScreenName" value="rightbar_payment"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts"/>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="Promo">
+ <section>
+ <actions>
+ <set field="titleProperty" value="WebPosPageTitleMain"/>
+ <set field="rightbarScreenName" value="rightbar_promo"/>
+ </actions>
+ <widgets>
+ <include-screen name="SearchProducts"/>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="SearchProducts">
+ <section>
+ <actions>
+ <set field="layoutSettings.javaScripts[]" value="/webpos/images/js/SearchProducts.js" global="true"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="webPosMainDecorator">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="h3">
+ <label text="${uiLabelMap.WebPosCart}"/>
+ </container>
+ </container>
+ <container id="SearchProducts">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/search/SearchProducts.ftl"/></html></platform-specific>
+ </container>
+ <container id="CartScreen">
+ <include-screen name="ShowCart"/>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="ShowCart">
+ <section>
+ <actions>
+ <!-- base/top/specific map first, then more common map added for shared labels -->
+ <property-map resource="WebPosUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
+
+ <set field="titleProperty" value="PageTitleShoppingCart"/>
+ <set field="headerItem" value="Shopping Cart"/>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/cart/ShowCart.groovy"/>
+ </actions>
+ <widgets>
+ <container>
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/cart/ShowCart.ftl"/></html></platform-specific>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+
+ <screen name="MicroCart">
+ <section>
+ <actions>
+ <script location="component://webpos/webapp/webpos/WEB-INF/actions/cart/MicroCart.groovy"/>
+ </actions>
+ <widgets>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="h3">
+ <label text="${uiLabelMap.WebPosPageTitleMain}"/>
+ </container>
+ </container>
+ <container id="MicroCart">
+ <platform-specific><html><html-template location="component://webpos/webapp/webpos/cart/MicroCart.ftl"/></html></platform-specific>
+ </container>
+ </container>
+ </widgets>
+ </section>
+ </screen>
+</screens>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy?rev=698351&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy (added)
+++ ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy Tue Sep 23 14:09:28 2008
@@ -0,0 +1,41 @@
+/*
+ * 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.
+ */
+
+import java.util.*;
+import org.ofbiz.base.util.*;
+import org.ofbiz.entity.*;
+import org.ofbiz.product.catalog.CatalogWorker;
+import org.ofbiz.product.store.ProductStoreWorker;
+import org.ofbiz.common.CommonWorkers;
+import org.ofbiz.order.shoppingcart.*;
+import org.ofbiz.webapp.control.*;
+
+productStore = ProductStoreWorker.getProductStore(request);
+
+prodCatalog = CatalogWorker.getProdCatalog(request);
+if (prodCatalog) {
+ catalogStyleSheet = prodCatalog.styleSheet;
+ if (catalogStyleSheet) globalContext.catalogStyleSheet = catalogStyleSheet;
+ catalogHeaderLogo = prodCatalog.headerLogo;
+ if (catalogHeaderLogo) globalContext.catalogHeaderLogo = catalogHeaderLogo;
+}
+
+globalContext.productStore = productStore;
+globalContext.checkLoginUrl = LoginWorker.makeLoginUrl(request, "checkLogin");
+globalContext.catalogQuickaddUse = CatalogWorker.getCatalogQuickaddUse(request);
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/webpos/widget/WebPosSetup.groovy
------------------------------------------------------------------------------
svn:mime-type = text/plain