svn commit: r428407 - in /incubator/ofbiz/trunk/applications/pos: screens/default/dialog/loadsale.xml screens/default/dialog/sales.xml screens/default/dialog/savesale.xml src/org/ofbiz/pos/screen/Sales.java

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

svn commit: r428407 - in /incubator/ofbiz/trunk/applications/pos: screens/default/dialog/loadsale.xml screens/default/dialog/sales.xml screens/default/dialog/savesale.xml src/org/ofbiz/pos/screen/Sales.java

jleroux@apache.org
Author: jleroux
Date: Thu Aug  3 07:05:41 2006
New Revision: 428407

URL: http://svn.apache.org/viewvc?rev=428407&view=rev
Log:
Adding savesale.xml and changing sales.xml name to loadsale.xml

Added:
    incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml   (with props)
    incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml   (with props)
Removed:
    incubator/ofbiz/trunk/applications/pos/screens/default/dialog/sales.xml
Modified:
    incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/screen/Sales.java

Added: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml?rev=428407&view=auto
==============================================================================
--- incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml (added)
+++ incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml Thu Aug  3 07:05:41 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+-->
+<XPage class="net.xoetrope.swing.XDialog">
+    <Components>
+        <Panel name="salesPanel" x="0" y="0" w="340" h="420">
+            <ScrollPane name="scroolList" x="10" y="10" w="200" h="400">
+                <List name="salesList" x="0" y="0" w="200" h="400" />
+            </ScrollPane>
+            <Button name="BtnCancel" x="230" y="10" w="90" h="22" content="Cancel"/>
+            <Button name="BtnAdd" x="230" y="50" w="90" h="22" content="Add"/>
+            <Button name="BtnReplace" x="230" y="80" w="90" h="22" content="Replace"/>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml?rev=428407&view=auto
==============================================================================
--- incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml (added)
+++ incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml Thu Aug  3 07:05:41 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+-->
+<XPage class="net.xoetrope.swing.XDialog">
+    <Components>
+        <Panel name="salesPanel" x="0" y="0" w="340" h="420">
+            <ScrollPane name="scroolList" x="10" y="10" w="200" h="400">
+                <List name="salesList" x="0" y="0" w="200" h="400" />
+            </ScrollPane>
+            <Button name="BtnCancel" x="230" y="10" w="90" h="22" content="Cancel"/>
+            <Button name="BtnAdd" x="230" y="50" w="90" h="22" content="Add"/>
+            <Button name="BtnReplace" x="230" y="80" w="90" h="22" content="Replace"/>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/screen/Sales.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/screen/Sales.java?rev=428407&r1=428406&r2=428407&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/screen/Sales.java (original)
+++ incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/screen/Sales.java Thu Aug  3 07:05:41 2006
@@ -64,7 +64,7 @@
  }
 
     public void openDlg() {
-     XDialog dlg = (XDialog) pageMgr.loadPage(m_page.getScreenLocation() + "/dialog/sales");
+     XDialog dlg = (XDialog) pageMgr.loadPage(m_page.getScreenLocation() + "/dialog/loadsale");
      m_dialog = dlg;
      dlg.setCaption(UtilProperties.getMessage("pos", "LoadASale", Locale.getDefault()));
      m_salesList = (XList) dlg.findComponent("salesList");