You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/07/12 22:49:18 UTC

svn commit: r1360930 [2/2] - in /ofbiz/trunk/specialpurpose/pos: screens/default_rtl/ screens/default_rtl/dialog/ screens/default_rtl/dialog/error/ screens/default_rtl/includes/ screens/default_rtl/menu/ src/org/ofbiz/pos/ src/org/ofbiz/pos/component/

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,105 @@
+<?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.
+-->
+<XPage class="net.xoetrope.swing.XDialog">
+    <Components>
+        <Panel name="mainPanel" x="0" y="0" w="1024" h="768" style="menu" >
+        <!--  FIXME XUI dialog boxes are hardcoded to a 800*600 max ! https://issues.apache.org/jira/browse/OFBIZ-1606?focusedCommentId=12614469#action_12614469
+               actually maxi seem to be 808*628 certainly due to margins(?)
+        -->
+            <Panel name="inputAndDel" x="0" y="0" w="760" h="50" style="numButton">
+                <Edit name="keyboard_input" x="2" y="2" w="600" h="42" style="editAndList" border="1" alignment="Left"/>
+                <Button name="charDel" x="609" y="2" w="150" h="42" style="numButton" content="Backspace" alignment="Center"/>
+            </Panel>
+            <Panel name="alphaNum_keyboard" x="0" y="50" w="760" h="351" style="numButton">
+                <Button name="char1" x="0" y="0" w="75" h="68" style="numButton" content="1" alignment="Center"/>
+                <Button name="char2" x="76" y="0" w="75" h="68" style="numButton" content="2" alignment="Center"/>
+                <Button name="char3" x="152" y="0" w="75" h="68" style="numButton" content="3" alignment="Center"/>
+                <Button name="char4" x="228" y="0" w="75" h="68" style="numButton" content="4" alignment="Center"/>
+                <Button name="char5" x="304" y="0" w="75" h="68" style="numButton" content="5" alignment="Center"/>
+                <Button name="char6" x="380" y="0" w="75" h="68" style="numButton" content="6" alignment="Center"/>
+                <Button name="char7" x="456" y="0" w="75" h="68" style="numButton" content="7" alignment="Center"/>
+                <Button name="char8" x="532" y="0" w="75" h="68" style="numButton" content="8" alignment="Center"/>
+                <Button name="char9" x="608" y="0" w="75" h="68" style="numButton" content="9" alignment="Center"/>
+                <Button name="char0" x="684" y="0" w="75" h="68" style="numButton" content="0" alignment="Center"/>
+
+                <Button name="charA" x="0" y="69" w="75" h="68" style="numButton" content="a" alignment="Center"/>
+                <Button name="charZ" x="76" y="69" w="75" h="68" style="numButton" content="z" alignment="Center"/>
+                <Button name="charE" x="152" y="69" w="75" h="68" style="numButton" content="e" alignment="Center"/>
+                <Button name="charR" x="228" y="69" w="75" h="68" style="numButton" content="r" alignment="Center"/>
+                <Button name="charT" x="304" y="69" w="75" h="68" style="numButton" content="t" alignment="Center"/>
+                <Button name="charY" x="380" y="69" w="75" h="68" style="numButton" content="y" alignment="Center"/>
+                <Button name="charU" x="456" y="69" w="75" h="68" style="numButton" content="u" alignment="Center"/>
+                <Button name="charI" x="532" y="69" w="75" h="68" style="numButton" content="i" alignment="Center"/>
+                <Button name="charO" x="608" y="69" w="75" h="68" style="numButton" content="o" alignment="Center"/>
+                <Button name="charP" x="684" y="69" w="75" h="68" style="numButton" content="p" alignment="Center"/>
+
+                <Button name="charQ" x="0" y="138" w="75" h="68" style="numButton" content="q" alignment="Center"/>
+                <Button name="charS" x="76" y="138" w="75" h="68" style="numButton" content="s" alignment="Center"/>
+                <Button name="charD" x="152" y="138" w="75" h="68" style="numButton" content="d" alignment="Center"/>
+                <Button name="charF" x="228" y="138" w="75" h="68" style="numButton" content="f" alignment="Center"/>
+                <Button name="charG" x="304" y="138" w="75" h="68" style="numButton" content="g" alignment="Center"/>
+                <Button name="charH" x="380" y="138" w="75" h="68" style="numButton" content="h" alignment="Center"/>
+                <Button name="charJ" x="456" y="138" w="75" h="68" style="numButton" content="j" alignment="Center"/>
+                <Button name="charK" x="532" y="138" w="75" h="68" style="numButton" content="k" alignment="Center"/>
+                <Button name="charL" x="608" y="138" w="75" h="68" style="numButton" content="l" alignment="Center"/>
+                <Button name="charAt" x="684" y="138" w="75" h="68" style="numButton" content="@" alignment="Center"/>
+                
+                <Button name="charW" x="0" y="207" w="75" h="68" style="numButton" content="w" alignment="Center"/>
+                <Button name="charX" x="76" y="207" w="75" h="68" style="numButton" content="x" alignment="Center"/>
+                <Button name="charC" x="152" y="207" w="75" h="68" style="numButton" content="c" alignment="Center"/>
+                <Button name="charV" x="228" y="207" w="75" h="68" style="numButton" content="v" alignment="Center"/>
+                <Button name="charB" x="304" y="207" w="75" h="68" style="numButton" content="b" alignment="Center"/>
+                <Button name="charN" x="380" y="207" w="75" h="68" style="numButton" content="n" alignment="Center"/>
+                <Button name="charM" x="456" y="207" w="75" h="68" style="numButton" content="m" alignment="Center"/>
+                <Button name="charDot" x="532" y="207" w="75" h="68" style="numButton" content="." alignment="Center"/>
+                <Button name="charDash" x="608" y="207" w="75" h="68" style="numButton" content="-" alignment="Center"/>
+
+                <Button name="charEnter" x="694" y="206" w="65" h="138" style="numButton" content="Enter" alignment="Center"/>
+
+                <Button name="charClear" x="0" y="276" w="75" h="68" style="numButton" content="Clear" alignment="Center"/>
+                <Button name="charShift" x="76" y="276" w="75" h="68" style="numButton" content="Shift" alignment="Center"/>
+                <Button name="charShiftLock" x="152" y="276" w="75" h="68" style="numButton" content="Lock" alignment="Center"/>
+
+                <Button name="charSpace" x="228" y="276" w="300" h="68" style="numButton" content="Space Bar" alignment="Center"/>
+
+                <Button name="charCancel" x="585" y="276" w="100" h="68" style="numButton" content="Cancel" alignment="Center"/>
+            </Panel>
+
+            <!--  FIXME XUI dialog boxes are hardcoded to a 800*600 max ! https://issues.apache.org/jira/browse/OFBIZ-1606?focusedCommentId=12614469#action_12614469
+                actually maxi seem to be 808*628 certainly due to margins(?)
+            -->
+            <!--Panel name="num_keyboard" x="760" y="50" w="264" h="282" style="numButton">
+                <Button name="numSeven" x="0" y="0" w="70" h="68" style="numButton" content="7" alignment="Center"/>
+                <Button name="numEight" x="76" y="0" w="75" h="68" style="numButton" content="8" alignment="Center"/>
+                <Button name="numNine" x="152" y="0" w="75" h="68" style="numButton" content="9" alignment="Center"/>
+                <Button name="numPercent" x="228" y="0" w="75" h="68" style="numButton" content="%" alignment="Center"/>
+                <Button name="numFour" x="0" y="69" w="75" h="68" style="numButton" content="4" alignment="Center"/>
+                <Button name="numFive" x="76" y="69" w="75" h="68" style="numButton" content="5" alignment="Center"/>
+                <Button name="numSix" x="152" y="69" w="75" h="68" style="numButton" content="6" alignment="Center"/>
+                <Button name="numOne" x="0" y="138" w="75" h="68" style="numButton" content="1" alignment="Center"/>
+                <Button name="numTwo" x="76" y="138" w="75" h="68" style="numButton" content="2" alignment="Center"/>
+                <Button name="numThree" x="152" y="138" w="75" h="68" style="numButton" content="3" alignment="Center"/>
+                <Button name="numMinus" x="0" y="207" w="75" h="68" style="posButton" content="-" alignment="Center"/>
+                <Button name="numZero" x="76" y="207" w="75" h="68" style="numButton" content="0" alignment="Center"/>
+                <Button name="numDZero" x="152" y="207" w="75" h="68" style="numButton" content="00" alignment="Center"/>
+            </Panel-->
+        </Panel>
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/keyboard_fr.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/loadsale.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/loadsale.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/loadsale.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/loadsale.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,33 @@
+<?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.
+-->
+<XPage class="net.xoetrope.swing.XDialog">
+    <Components>
+        <Panel name="salesPanel" x="0" y="0" w="680" h="420" style="menu">
+            <ScrollPane name="scrollList" x="20" y="20" w="400" h="372">
+                <List name="salesList" x="0" y="0" w="400" h="400" style="editAndList"/>
+            </ScrollPane>
+            <Button name="BtnCancel" x="460" y="20" w="180" h="44" content="Cancel" style="dialogButton"/>
+            <Button name="BtnAdd" x="460" y="80" w="180" h="44" content="Add" style="dialogButton"/>
+            <Button name="BtnReplace" x="460" y="140" w="180" h="44" content="Replace" style="dialogButton"/>
+            <Button name="BtnDelete" x="460" y="200" w="180" h="44" content="Delete" style="dialogButton"/>
+            <Button name="BtnReplaceAndDelete" x="460" y="260" w="180" h="132" content="ReplaceAndDelete" style="dialogButton"/>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/loadsale.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/loadsale.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,45 @@
+<?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.
+-->
+<XPage class="net.xoetrope.swing.XDialog">
+    <Components>
+        <Panel x="0" y="0" w="306" h="50" style="numButton">
+            <Edit name="numeric_input" x="2" y="2" w="300" h="42" style="editAndList" border="0" alignment="Left"/>
+        </Panel>
+        <Panel x="0" y="50" w="306" h="282" style="numButton">
+            <Button name="numSeven" x="0" y="0" w="75" h="68" style="numButton" content="7" alignment="Center"/>
+            <Button name="numEight" x="76" y="0" w="75" h="68" style="numButton" content="8" alignment="Center"/>
+            <Button name="numNine" x="152" y="0" w="75" h="68" style="numButton" content="9" alignment="Center"/>
+            <Button name="numPercent" x="228" y="0" w="75" h="68" style="numButton" content="%" alignment="Center"/>
+            <Button name="numFour" x="0" y="69" w="75" h="68" style="numButton" content="4" alignment="Center"/>
+            <Button name="numFive" x="76" y="69" w="75" h="68" style="numButton" content="5" alignment="Center"/>
+            <Button name="numSix" x="152" y="69" w="75" h="68" style="numButton" content="6" alignment="Center"/>
+            <Button name="numMinus" x="228" y="69" w="75" h="68" style="numButton" content="-" alignment="Center"/>
+            <Button name="numOne" x="0" y="138" w="75" h="68" style="numButton" content="1" alignment="Center"/>
+            <Button name="numTwo" x="76" y="138" w="75" h="68" style="numButton" content="2" alignment="Center"/>
+            <Button name="numThree" x="152" y="138" w="75" h="68" style="numButton" content="3" alignment="Center"/>
+            <Button name="menuEnter" x="228" y="138" w="75" h="137" style="posButton" content="ENT" alignment="Center"/>
+            <Button name="menuClear" x="0" y="207" w="75" h="68" style="posButton" content="CLR" alignment="Center"/>
+            <Button name="numZero" x="76" y="207" w="75" h="68" style="numButton" content="0" alignment="Center"/>
+            <Button name="numDZero" x="152" y="207" w="75" h="68" style="numButton" content="00" alignment="Center"/>
+            
+            <Button name="menuCancel" x="228" y="0" w="75" h="68" style="numButton" content="Cancel" alignment="Center"/><!-- same place than %, cancel does not appear when % is shown -->            
+        </Panel>
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/numerickeypad.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/savesale.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/savesale.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/savesale.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/savesale.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,30 @@
+<?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.
+-->
+<!--XPage class="org.ofbiz.pos.screen.XFocusDialog"-->
+<XPage class="net.xoetrope.swing.XDialog">
+    <Components>
+        <Panel name="salePanel" x="0" y="0" w="680" h="320" style="menu">
+            <Edit name="saleName"  x="20" y="20" w="400" h="44" style="editAndList"/>
+            <Button name="BtnCancel" x="460" y="20" w="180" h="44" content="Cancel" style="dialogButton"/>
+            <Button name="BtnSave" x="460" y="80" w="180" h="44" content="Save" style="dialogButton"/>
+            <Button name="BtnSaveAndClear" x="460" y="140" w="180" h="132" content="SaveAndClear" style="dialogButton"/>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/savesale.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/dialog/savesale.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,33 @@
+<?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.
+-->
+<XPage>
+    <Components>
+        <Panel name="oper_panel" x="0" y="0" w="412" h="55" border="0" style="panel">
+            <Edit name="oper_total" x="2" y="2" w="105" h="50" style="optotal" border="0" alignment="Left"/>
+            <Edit name="oper_date" x="107" y="2" w="96" h="50" style="opinfo" border="0" alignment="Left"/>
+            <Edit name="oper_empl" x="215" y="2" w="76" h="50" style="opinfo" border="0" alignment="right"/>
+            <Edit name="oper_drwr" x="293" y="2" w="53" h="50" style="opinfo" border="0" alignment="Center"/>
+            <Edit name="oper_txid" x="348" y="2" w="70" h="50" style="opinfo" border="0" alignment="Right"/>
+        </Panel>
+        <ScrollPane name="journal_panel" x="0" y="55" w="412" h="630">
+            <Table name="jtable" x="2" y="2" w="410" h="625" style="journal"/>
+        </ScrollPane>
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/journal.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,28 @@
+<?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.
+-->
+<XPage>
+    <Components>
+        <Panel name="toppan" x="0" y="1" w="1024" h="46" border="1" style="panel">
+            <Edit name="pos_output" x="622" y="2" w="618" h="42" style="input" border="0" alignment="right"/>
+            <Edit name="pos_input" x="2" y="2" w="400" h="42" style="input" border="0" alignment="left"/>
+            <Password name="pos_inputpassword" x="2" y="2" w="400" h="42" style="input" border="0" alignment="left"/>
+        </Panel>
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/includes/posinput.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,70 @@
+<?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.
+-->
+<XPage>
+    <Components>
+        <!-- line 1 -->
+        <Button name="menuSku" x="0" y="0" w="100" h="60" style="posButton" content="SKU" alignment="Center"/>
+        <Button name="menuMain" x="102" y="0" w="100" h="60" style="posButton" content="MAIN" alignment="Center"/>
+        <Button name="menuMgr" x="204" y="0" w="100" h="60" style="posButton" content="MGR" alignment="Center"/>
+        <Button name="menuPromo" x="306" y="0" w="100" h="60" style="posButton" content="PROMO" alignment="Center"/>
+        <Button name="" x="408" y="0" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="menuPay" x="510" y="0" w="100" h="60" style="posButton" content="PAY" alignment="Center"/>
+
+        <!-- line 2 -->
+        <Button name="mgrPriceChg" x="0" y="62" w="100" h="60" style="posButton" content="CHANGE_PRICE" alignment="Center"/>
+        <Button name="" x="102" y="62" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="204" y="62" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="306" y="62" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="408" y="62" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="mgrOpenTerm" x="510" y="62" w="100" h="60" style="posButton" content="OPEN" alignment="Center"/>
+
+        <!-- line 3 -->
+        <Button name="mgrVoidSale" x="0" y="124" w="100" h="60" style="posButton" content="VOID_A_SALE" alignment="Center"/>
+        <Button name="" x="102" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="mgrPaidOut" x="204" y="124" w="100" h="60" style="posButton" content="PAID_OUT" alignment="Center"/>
+        <Button name="mgrPaidIn" x="306" y="124" w="100" h="60" style="posButton" content="PAID_IN" alignment="Center"/>
+        <Button name="" x="408" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="mgrCloseTerm" x="510" y="124" w="100" h="60" style="posButton" content="CLOSE" alignment="Center"/>
+
+        <!-- line 4 -->
+        <Button name="" x="0" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="102" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="204" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="306" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="408" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="510" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+
+        <!-- line 5 -->
+        <Button name="mgrSwapKeyboard" x="0" y="248" w="100" h="60" style="posButton" content="SWAP_KEYBOARD" alignment="Center"/>
+        <Button name="mgrReprintTx" x="102" y="248" w="100" h="60" style="posButton" content="REPRINT" alignment="Center"/>
+        <Button name="" x="204" y="248" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="mgrCacheClear" x="306" y="248" w="100" h="60" style="posButton" content="CLEAR_CACHE" alignment="Center"/>
+        <Button name="" x="408" y="248" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="510" y="248" w="100" h="60" style="posButton" content="" alignment="Center"/>
+
+        <!-- line 6 -->
+        <Button name="mgrPopDrwr" x="0" y="310" w="100" h="60" style="posButton" content="OPEN_DRAWER" alignment="Center"/>
+        <Button name="mgrTotals" x="102" y="310" w="100" h="60" style="posButton" content="TOTALS" alignment="Center"/>
+        <Button name="" x="204" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="mgrResetXui" x="306" y="310" w="100" h="60" style="posButton" content="RESET_XUI" alignment="Center"/>
+        <Button name="" x="408" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="mgrShutDown" x="510" y="310" w="100" h="60" style="posButton" content="EXIT" alignment="Center"/>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/mgrmain.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,48 @@
+<?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.
+-->
+<XPage>
+    <Components>
+        <Button name="menuSku" x="0" y="0" w="100" h="60" style="posButton" content="SKU" alignment="Center"/>
+        <Button name="menuMain" x="102" y="0" w="100" h="60" style="posButton" content="MAIN" alignment="Center"/>
+        <Button name="menuMgr" x="204" y="0" w="100" h="60" style="posButton" content="MGR" alignment="Center"/>
+        <Button name="menuPromo" x="306" y="0" w="100" h="60" style="posButton" content="PROMO" alignment="Center"/>
+        <Button name="" x="408" y="0" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="menuPay" x="510" y="0" w="100" h="60" style="posButton" content="PAY" alignment="Center"/>
+
+        <Edit name="pos_output" x="4" y="62" w="600" h="62" style="error" border="0" alignment="Center"/>
+
+        <Button name="payCash" x="0" y="248" w="100" h="60" style="posButton" content="CASH" alignment="Center"/>
+        <Button name="payCheck" x="102" y="248" w="100" h="60" style="posButton" content="CHECK" alignment="Center"/>
+        <Button name="payCredit" x="204" y="248" w="100" h="60" style="posButton" content="CREDIT" alignment="Center"/>
+        <Button name="payGiftCard" x="306" y="248" w="100" h="60" style="posButton" content="GIFT_CERT" alignment="Center"/>
+
+        <Button name="" x="408" y="248" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="510" y="248" w="100" h="60" style="posButton" content="" alignment="Center"/>
+
+        <Button name="payClear" x="0" y="310" w="100" h="60" style="posButton" content="CLEAR_ONE" alignment="Center"/>
+        <Button name="payClearAll" x="102" y="310" w="100" h="60" style="posButton" content="CLEAR_ALL" alignment="Center"/>
+        <Button name="paySetRef" x="204" y="310" w="100" h="60" style="posButton" content="SET_REF#" alignment="Center"/>
+
+        <Button name="" x="306" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+
+        <Button name="testMsr" x="408" y="310" w="100" h="60" style="posButton" content="TEST_MSR" alignment="Center"/>
+        <Button name="ALT.payFinish" x="510" y="310" w="100" h="60" style="posButton" content="FINISH" alignment="Center"/>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/paymain.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml Thu Jul 12 20:49:16 2012
@@ -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.
+-->
+<XPage>
+    <Components>
+        <!-- line 1 -->
+        <Button name="menuSku" x="0" y="0" w="100" h="60" style="posButton" content="SKU" alignment="Center"/>
+        <Button name="menuMain" x="102" y="0" w="100" h="60" style="posButton" content="MAIN" alignment="Center"/>
+        <Button name="menuMgr" x="204" y="0" w="100" h="60" style="posButton" content="MGR" alignment="Center"/>
+        <Button name="menuPromo" x="306" y="0" w="100" h="60" style="posButton" content="PROMO" alignment="Center"/>
+        <Button name="menuConfigItem" x="408" y="0" w="100" h="60" style="posButton" content="CONFIG_ITEM" alignment="Center"/>
+        <Button name="menuPay" x="510" y="0" w="100" h="60" style="posButton" content="PAY" alignment="Center"/>
+
+        <!-- line 2 -->
+        <Button name="SKU.GZ-1001" x="0" y="62" w="100" h="60" style="skuButtonGizmo" content="GIZMO 1" alignment="Center"/>
+        <Button name="SKU.GZ-5005" x="102" y="62" w="100" h="60" style="skuButtonGizmoPurple" content="GZ PURPLE" alignment="Center"/>
+        <Button name="SKU.GZ-2644" x="204" y="62" w="100" h="60" style="skuButtonGizmo" content="GZ-2644" alignment="Center"/>
+        <Button name="SKU.GZ-2002" x="306" y="62" w="100" h="60" style="skuButtonGizmo" content="GZ-2002" alignment="Center"/>
+        <Button name="SKU.GZ-7000" x="408" y="62" w="100" h="60" style="skuButtonGizmo" content="GZ-7000" alignment="Center"/>
+        <Button name="SKU.WG-5569" x="510" y="62" w="100" h="60" style="skuButtonWidget" content="WIDGET 1" alignment="Center"/>
+
+        <!-- line 3 -->
+        <Button name="" x="0" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="102" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="204" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="306" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="408" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="510" y="124" w="100" h="60" style="posButton" content="" alignment="Center"/>
+
+        <!-- line 4 -->
+        <Button name="" x="0" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="102" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="204" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="306" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="408" y="186" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="SKU.GZ-DIG" x="510" y="186" w="100" h="60" style="skuButtonGizmo" content="GZ-DIG" alignment="Center"/>
+
+        <!-- line 5 -->
+        <Button name="SKU.GZ-1004" x="0" y="248" w="100" h="60" style="skuButtonGizmo" content="GZ-1004" alignment="Center"/>
+        <Button name="SKU.GZ-1005" x="102" y="248" w="100" h="60" style="skuButtonGizmo" content="GZ-1005" alignment="Center"/>
+        <Button name="SKU.GZ-8544" x="204" y="248" w="100" h="60" style="skuButtonGizmo" content="GZ-8544" alignment="Center"/>
+        <Button name="SKU.GZ-9290" x="306" y="248" w="100" h="60" style="skuButtonGizmo" content="GZ-9290" alignment="Center"/>
+        <Button name="SKU.WG-1111" x="408" y="248" w="100" h="60" style="skuButtonWidget" content="WG-1111" alignment="Center"/>
+        <Button name="SKU.PC001" x="510" y="248" w="100" h="60" style="skuButtonConfigurableItem" content="CONFIG PC" alignment="Center"/>
+
+        <!-- line 6 -->
+        <!--Button name="testAlert" x="0" y="310" w="100" h="60" style="posButton" content="TEST ALERT" alignment="Center"/-->
+        <!--Button name="" x="0" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/-->
+        <Button name="SKU.ENCHILADAS" x="0" y="310" w="100" h="60" style="skuButtonConfigurableItem" content="Enchiladas" alignment="Center"/>
+        <Button name="" x="102" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="204" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="306" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="408" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="" x="510" y="310" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <!--Button name="testMsr" x="510" y="310" w="100" h="60" style="posButton" content="TEST MSR" alignment="Center"/-->
+        <!--Button name="testNumeric" x="510" y="310" w="100" h="60" style="posButton" content="Num Keypad" alignment="Center"/-->
+
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/posmain.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,32 @@
+<?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.
+-->
+<XPage>
+    <Components>
+        <Button name="menuSku" x="0" y="0" w="100" h="60" style="posButton" content="SKU" alignment="Center"/>
+        <Button name="menuMain" x="102" y="0" w="100" h="60" style="posButton" content="MAIN" alignment="Center"/>
+        <Button name="menuMgr" x="204" y="0" w="100" h="60" style="posButton" content="MGR" alignment="Center"/>
+        <Button name="menuPromo" x="306" y="0" w="100" h="60" style="posButton" content="PROMO" alignment="Center"/>
+        <Button name="" x="408" y="0" w="100" h="60" style="posButton" content="" alignment="Center"/>
+        <Button name="menuPay" x="510" y="0" w="100" h="60" style="posButton" content="PAY" alignment="Center"/>
+
+        <Button name="promoCode" x="0" y="62" w="100" h="60" style="posButton" content="PROMO_CODE" alignment="Center"/>
+        <Button name="clientProfile" x="510" y="62" w="100" h="60" style="posButton" content="CLIENT_PROFILE" alignment="Center"/>
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/menu/promomain.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,40 @@
+<?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.
+-->
+<XPage class="org.ofbiz.pos.screen.PosScreen">
+    <Components>
+        <Panel name="mainPanel" x="0" y="0" w="1024" h="768" style="input" border="0">
+            <Panel name="inputPanel" x="0" y="0" w="1024" h="48" style="input" border="0">
+                <Include file="default_rtl/includes/posinput"/>
+            </Panel>
+            <Panel name="journalPanel" x="0" y="48" w="412" h="700" style="menu">
+                <Include file="default_rtl/includes/journal"/>
+            </Panel>
+            <Panel name="menuPanel" x="412" y="48" w="612" h="407" style="menu">
+                <Include file="default/menu/mgrmain"/>
+            </Panel>
+            <Panel name="numericPanel" x="412" y="455" w="612" h="290" style="menu">
+                <Include file="default/includes/numeric"/>
+            </Panel>
+            <Panel name="statusPanel" x="0" y="744" w="1024" h="20" style="operTitle" border="0">
+                <Include file="default/includes/promostatusbar"/>
+            </Panel>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/mgrpanel.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,40 @@
+<?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.
+-->
+<XPage class="org.ofbiz.pos.screen.PosScreen">
+    <Components>
+        <Panel name="mainPanel" x="0" y="0" w="1024" h="768" style="input" border="0">
+            <Panel name="inputPanel" x="0" y="0" w="1024" h="48" style="input" border="0">
+                <Include file="default/includes/payinput"/>
+            </Panel>
+            <Panel name="journalPanel" x="0" y="48" w="412" h="700" style="menu">
+                <Include file="default_rtl/includes/journal"/>
+            </Panel>
+            <Panel name="menuPanel" x="412" y="48" w="612" h="407" style="menu">
+                <Include file="default/menu/paymain"/>
+            </Panel>
+            <Panel name="numericPanel" x="412" y="455" w="612" h="290" style="menu">
+                <Include file="default/includes/numeric"/>
+            </Panel>
+            <Panel name="statusPanel" x="0" y="744" w="1024" h="20" style="operTitle" border="0">
+                <Include file="default/includes/promostatusbar"/>
+            </Panel>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/paypanel.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,40 @@
+<?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.
+-->
+<XPage class="org.ofbiz.pos.screen.PosScreen" resource="">
+    <Components>
+        <Panel name="mainPanel" x="0" y="0" w="1024" h="768" style="input" border="0">
+            <Panel name="inputPanel" x="0" y="0" w="1024" h="48" style="input" border="0">
+                <Include file="default_rtl/includes/posinput"/>
+            </Panel>
+            <Panel name="journalPanel" x="0" y="48" w="412" h="700" style="menu">
+                <Include file="default_rtl/includes/journal"/>
+            </Panel>
+            <Panel name="menuPanel" x="412" y="48" w="612" h="407" style="menu">
+                <Include file="default/menu/posmain"/>
+            </Panel>
+            <Panel name="numericPanel" x="412" y="455" w="612" h="290" style="menu">
+                <Include file="default/includes/numeric"/>
+            </Panel>
+            <Panel name="statusPanel" x="0" y="744" w="1024" h="20" style="operTitle" border="0">
+                <Include file="default/includes/promostatusbar"/>
+            </Panel>
+        </Panel>
+    </Components>
+</XPage>

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/pospanel.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml (added)
+++ ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml Thu Jul 12 20:49:16 2012
@@ -0,0 +1,40 @@
+<?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.
+-->
+<XPage class="org.ofbiz.pos.screen.PosScreen">
+    <Components>
+        <Panel name="mainPanel" x="0" y="0" w="1024" h="768" style="input" border="0">
+            <Panel name="inputPanel" x="0" y="0" w="1024" h="48" style="input" border="0">
+                <Include file="default_rtl/includes/posinput"/>
+            </Panel>
+            <Panel name="journalPanel" x="0" y="48" w="412" h="700" style="menu">
+                <Include file="default_rtl/includes/journal"/>
+            </Panel>
+            <Panel name="menuPanel" x="412" y="48" w="612" h="407" style="menu">
+                <Include file="default/menu/promomain"/>
+            </Panel>
+            <Panel name="numericPanel" x="412" y="455" w="612" h="290" style="menu">
+                <Include file="default/includes/numeric"/>
+            </Panel>
+            <Panel name="statusPanel" x="0" y="744" w="1024" h="20" style="operTitle" border="0">
+                <Include file="default/includes/promostatusbar"/>
+            </Panel>
+        </Panel>
+    </Components>
+</XPage>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/screens/default_rtl/promopanel.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java?rev=1360930&r1=1360929&r2=1360930&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java Thu Jul 12 20:49:16 2012
@@ -67,6 +67,7 @@ import org.ofbiz.order.shoppingcart.Shop
 import org.ofbiz.order.shoppinglist.ShoppingListEvents;
 import org.ofbiz.party.contact.ContactMechWorker;
 import org.ofbiz.pos.component.Journal;
+import org.ofbiz.pos.component.JournalLineParams;
 import org.ofbiz.pos.component.Output;
 import org.ofbiz.pos.device.DeviceLoader;
 import org.ofbiz.pos.device.impl.Receipt;
@@ -955,12 +956,14 @@ public class PosTransaction implements S
                 BigDecimal subTotal = unitPrice.multiply(quantity);
                 BigDecimal adjustment = item.getOtherAdjustments();
 
-                XModel line = Journal.appendNode(model, "tr", ""+cart.getItemIndex(item), "");
-                Journal.appendNode(line, "td", "sku", item.getProductId());
-                Journal.appendNode(line, "td", "desc", item.getName());
-                Journal.appendNode(line, "td", "qty", UtilFormatOut.formatQuantity(quantity));
-                Journal.appendNode(line, "td", "price", UtilFormatOut.formatPrice(subTotal));
-                Journal.appendNode(line, "td", "index", Integer.toString(cart.getItemIndex(item)));
+                XModel line = Journal.appendNode(new JournalLineParams(model, "tr", "" + cart.getItemIndex(item), ""));
+                JournalLineParams sku = new JournalLineParams(line, "td", "sku", item.getProductId());
+                JournalLineParams desc = new JournalLineParams(line, "td", "desc", item.getName());
+                JournalLineParams qty = new JournalLineParams(line, "td", "qty", UtilFormatOut.formatQuantity(quantity));
+                JournalLineParams price = new JournalLineParams(line, "td", "price", UtilFormatOut.formatPrice(subTotal));
+                JournalLineParams index = new JournalLineParams(line, "td", "index", Integer.toString(cart.getItemIndex(item)));
+                JournalLineParams[] journalLineParamses = new JournalLineParams[] {sku, desc, qty, price, index};
+                appendJouralLine(journalLineParamses);
 
                 if (this.isAggregatedItem(item.getProductId())) {
                     // put alterations here
@@ -971,27 +974,48 @@ public class PosTransaction implements S
                     List<ConfigOption> selected = pcw.getSelectedOptions();
                     for (ConfigOption configoption : selected) {
                         if (configoption.isSelected()) {
-                            XModel option = Journal.appendNode(model, "tr", ""+cart.getItemIndex(item), "");
-                            Journal.appendNode(option, "td", "sku", "");
-                            Journal.appendNode(option, "td", "desc", configoption.getDescription());
-                            Journal.appendNode(option, "td", "qty", "");
-                            Journal.appendNode(option, "td", "price", UtilFormatOut.formatPrice(configoption.getPrice()));
-                            Journal.appendNode(option, "td", "index", Integer.toString(cart.getItemIndex(item)));
+                            XModel option = Journal.appendNode(new JournalLineParams(model, "tr", "" + cart.getItemIndex(item), ""));
+                            sku = new JournalLineParams(option, "td", "sku", "");
+                            desc = new JournalLineParams(option, "td", "desc", configoption.getDescription());
+                            qty = new JournalLineParams(option, "td", "qty", "");
+                            price = new JournalLineParams(option, "td", "price", UtilFormatOut.formatPrice(configoption.getPrice()));
+                            index = new JournalLineParams(option, "td", "index", Integer.toString(cart.getItemIndex(item)));
+                            journalLineParamses = new JournalLineParams[] {sku, desc, qty, price, index};
+                            appendJouralLine(journalLineParamses);
                         }
                     }
                 }
 
                 if (adjustment.compareTo(BigDecimal.ZERO) != 0) {
                     // append the promo info
-                    XModel promo = Journal.appendNode(model, "tr", "itemadjustment", "");
-                    Journal.appendNode(promo, "td", "sku", "");
-                    Journal.appendNode(promo, "td", "desc", UtilProperties.getMessage(resource, "PosItemDiscount", locale));
-                    Journal.appendNode(promo, "td", "qty", "");
-                    Journal.appendNode(promo, "td", "price", UtilFormatOut.formatPrice(adjustment));
+                    XModel promo = Journal.appendNode(new JournalLineParams(model, "tr", "itemadjustment", ""));
+                    sku = new JournalLineParams(promo, "td", "sku", "");
+                    desc = new JournalLineParams(promo, "td", "desc", UtilProperties.getMessage(resource, "PosItemDiscount", locale));
+                    qty = new JournalLineParams(promo, "td", "qty", "");
+                    price = new JournalLineParams(promo, "td", "price", UtilFormatOut.formatPrice(adjustment));
+                    journalLineParamses = new JournalLineParams[] {sku, desc, qty, price, index};
+                    appendJouralLine(journalLineParamses);
                 }
             }
         }
     }
+    
+    private void appendJouralLine(JournalLineParams[] journalLineParamses) {
+        if (locale.getLanguage().equals("ar")) {
+            int startParamIndex = 2;
+            if (journalLineParamses.length == 4)
+                startParamIndex = 1;
+            for (int p = journalLineParamses.length - startParamIndex; p >= 0; p--) {
+                Journal.appendNode(journalLineParamses[p]);
+            }
+            if (startParamIndex == 2)
+                Journal.appendNode(journalLineParamses[journalLineParamses.length - 1]);
+        }   else {
+            for (int p = 0; p < journalLineParamses.length; p++) {
+                Journal.appendNode(journalLineParamses[p]);
+            }
+        }
+    }
 
     public void appendTotalDataModel(XModel model) {
         if (cart != null) {
@@ -1012,36 +1036,42 @@ public class PosTransaction implements S
             for (GenericValue orderAdjustment : adjustments) {
                 BigDecimal amount = orderAdjustment.getBigDecimal("amount");
                 BigDecimal sourcePercentage = orderAdjustment.getBigDecimal("sourcePercentage");
-                XModel adjustmentLine = Journal.appendNode(model, "tr", "adjustment", "");
-                Journal.appendNode(adjustmentLine, "td", "sku", "");
-                Journal.appendNode(adjustmentLine, "td", "desc",
+                XModel adjustmentLine = Journal.appendNode(new JournalLineParams(model, "tr", "adjustment", ""));
+                JournalLineParams[] journalLineParamses = new JournalLineParams[5];
+                journalLineParamses[0] = new JournalLineParams(adjustmentLine, "td", "sku", "");
+                journalLineParamses[1] = new JournalLineParams(adjustmentLine, "td", "desc", 
                         UtilProperties.getMessage(resource, "PosSalesDiscount", locale));
                 if (UtilValidate.isNotEmpty(amount)) {
-                    Journal.appendNode(adjustmentLine, "td", "qty", "");
-                    Journal.appendNode(adjustmentLine, "td", "price", UtilFormatOut.formatPrice(amount));
+                    journalLineParamses[2] = new JournalLineParams(adjustmentLine, "td", "qty", "");
+                    journalLineParamses[3] = new JournalLineParams(adjustmentLine, "td", "price", UtilFormatOut.formatPrice(amount));
                 } else if (UtilValidate.isNotEmpty(sourcePercentage)) {
                     BigDecimal percentage = sourcePercentage.movePointLeft(2).negate(); // sourcePercentage is negative and must be show as a positive value (it's a discount not an amount)
-                    Journal.appendNode(adjustmentLine, "td", "qty", UtilFormatOut.formatPercentage(percentage));
+                    journalLineParamses[2] = new JournalLineParams(adjustmentLine, "td", "qty", UtilFormatOut.formatPercentage(percentage));
                     amount = cart.getItemTotal().add(itemsAdjustmentsAmount).multiply(percentage); // itemsAdjustmentsAmount is negative
-                    Journal.appendNode(adjustmentLine, "td", "price", UtilFormatOut.formatPrice(amount.negate())); // amount must be shown as a negative value
+                    journalLineParamses[3] = new JournalLineParams(adjustmentLine, "td", "price", UtilFormatOut.formatPrice(amount.negate())); // amount must be shown as a negative value
                 }
-                Journal.appendNode(adjustmentLine, "td", "index", "-1");
+                journalLineParamses[4] = new JournalLineParams(adjustmentLine, "td", "index", "-1");
+                appendJouralLine(journalLineParamses);
             }
 
-            XModel taxLine = Journal.appendNode(model, "tr", "tax", "");
-            Journal.appendNode(taxLine, "td", "sku", "");
-
-            Journal.appendNode(taxLine, "td", "desc", UtilProperties.getMessage(resource, "PosSalesTax", locale));
-            Journal.appendNode(taxLine, "td", "qty", "");
-            Journal.appendNode(taxLine, "td", "price", UtilFormatOut.formatPrice(taxAmount));
-            Journal.appendNode(taxLine, "td", "index", "-1");
-
-            XModel totalLine = Journal.appendNode(model, "tr", "total", "");
-            Journal.appendNode(totalLine, "td", "sku", "");
-            Journal.appendNode(totalLine, "td", "desc", UtilProperties.getMessage(resource, "PosGrandTotal", locale));
-            Journal.appendNode(totalLine, "td", "qty", "");
-            Journal.appendNode(totalLine, "td", "price", UtilFormatOut.formatPrice(total));
-            Journal.appendNode(totalLine, "td", "index", "-1");
+            XModel taxLine = Journal.appendNode(new JournalLineParams(model, "tr", "tax", ""));
+            JournalLineParams[] journalTaxLineParamses = new JournalLineParams[5];
+            journalTaxLineParamses[0] = new JournalLineParams(taxLine, "td", "sku", "");
+
+            journalTaxLineParamses[1] = new JournalLineParams(taxLine, "td", "desc", UtilProperties.getMessage(resource, "PosSalesTax", locale));
+            journalTaxLineParamses[2] = new JournalLineParams(taxLine, "td", "qty", "");
+            journalTaxLineParamses[3] = new JournalLineParams(taxLine, "td", "price", UtilFormatOut.formatPrice(taxAmount));
+            journalTaxLineParamses[4] = new JournalLineParams(taxLine, "td", "index", "-1");
+            appendJouralLine(journalTaxLineParamses);
+
+            XModel totalLine = Journal.appendNode(new JournalLineParams(model, "tr", "total", ""));
+            JournalLineParams[] journalTotalLineParamses = new JournalLineParams[5];
+            journalTotalLineParamses[0] = new JournalLineParams(totalLine, "td", "sku", "");
+            journalTotalLineParamses[1] = new JournalLineParams(totalLine, "td", "desc", UtilProperties.getMessage(resource, "PosGrandTotal", locale));
+            journalTotalLineParamses[2] = new JournalLineParams(totalLine, "td", "qty", "");
+            journalTotalLineParamses[3] = new JournalLineParams(totalLine, "td", "price", UtilFormatOut.formatPrice(total));
+            journalTotalLineParamses[4] = new JournalLineParams(totalLine, "td", "index", "-1");
+            appendJouralLine(journalTotalLineParamses);
         }
     }
 
@@ -1074,12 +1104,14 @@ public class PosTransaction implements S
                     amount = inf.amount;
                 }
 
-                XModel paymentLine = Journal.appendNode(model, "tr", Integer.toString(i), "");
-                Journal.appendNode(paymentLine, "td", "sku", "");
-                Journal.appendNode(paymentLine, "td", "desc", descString);
-                Journal.appendNode(paymentLine, "td", "qty", "-");
-                Journal.appendNode(paymentLine, "td", "price", UtilFormatOut.formatPrice(amount.negate()));
-                Journal.appendNode(paymentLine, "td", "index", Integer.toString(i));
+                XModel paymentLine = Journal.appendNode(new JournalLineParams(model, "tr", Integer.toString(i), ""));
+                JournalLineParams[] journalPaymentLineParamses = new JournalLineParams[5];
+                journalPaymentLineParamses[0] = new JournalLineParams(paymentLine, "td", "sku", "");
+                journalPaymentLineParamses[1] = new JournalLineParams(paymentLine, "td", "desc", descString);
+                journalPaymentLineParamses[2] = new JournalLineParams(paymentLine, "td", "qty", "-");
+                journalPaymentLineParamses[3] = new JournalLineParams(paymentLine, "td", "price", UtilFormatOut.formatPrice(amount.negate()));
+                journalPaymentLineParamses[4] = new JournalLineParams(paymentLine, "td", "index", Integer.toString(i));
+                appendJouralLine(journalPaymentLineParamses);
             }
         }
     }
@@ -1088,11 +1120,13 @@ public class PosTransaction implements S
         if (cart != null) {
             BigDecimal changeDue = this.getTotalDue().negate();
             if (changeDue.compareTo(BigDecimal.ZERO) >= 0) {
-                XModel changeLine = Journal.appendNode(model, "tr", "", "");
-                Journal.appendNode(changeLine, "td", "sku", "");
-                Journal.appendNode(changeLine, "td", "desc", "Change");
-                Journal.appendNode(changeLine, "td", "qty", "-");
-                Journal.appendNode(changeLine, "td", "price", UtilFormatOut.formatPrice(changeDue));
+                XModel changeLine = Journal.appendNode(new JournalLineParams(model, "tr", "", ""));
+                JournalLineParams[] journalPaymentLineParamses = new JournalLineParams[4];
+                journalPaymentLineParamses[0] = new JournalLineParams(changeLine, "td", "sku", "");
+                journalPaymentLineParamses[1] = new JournalLineParams(changeLine, "td", "desc", "Change");
+                journalPaymentLineParamses[2] = new JournalLineParams(changeLine, "td", "qty", "-");
+                journalPaymentLineParamses[3] = new JournalLineParams(changeLine, "td", "price", UtilFormatOut.formatPrice(changeDue));
+                appendJouralLine(journalPaymentLineParamses);
             }
         }
     }

Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java?rev=1360930&r1=1360929&r2=1360930&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java Thu Jul 12 20:49:16 2012
@@ -87,9 +87,13 @@ public class Journal {
             jtable.setModel(jmodel);
 
             for (int i = 0; i < width.length; i++) {
+                if (defaultLocale.getLanguage().equals("ar")) {
+                    jtable.setColWidth(width.length - i - 1, width[i]);
+                } else {
                 jtable.setColWidth(i, width[i]);
             }
         }
+        }
         jtable.setSelectedRow(0);
     }
 
@@ -172,26 +176,33 @@ public class Journal {
         }
         jmodel.setTagName("table");
         // create the header
-        XModel headerNode = appendNode(jmodel, "th", "header", "");
+        XModel headerNode = appendNode(new JournalLineParams(jmodel, "th", "header", ""));
+        if (defaultLocale.getLanguage().equals("ar")) {
+            for (int i = field.length - 1; i >= 0; i--) {
+                appendNode(new JournalLineParams(headerNode, "td", field[i], UtilProperties.getMessage(PosTransaction.resource, name[i], defaultLocale)));
+            }
+        } else {
         for (int i = 0 ; i < field.length; i++) {
-            appendNode(headerNode, "td", field[i],UtilProperties.getMessage(PosTransaction.resource,name[i],defaultLocale));
+                appendNode(new JournalLineParams(headerNode, "td", field[i], UtilProperties.getMessage(PosTransaction.resource, name[i], defaultLocale)));
+        }
         }
 
         return jmodel;
     }
 
     private void appendEmpty(XModel jmodel) {
-        XModel headerNode = appendNode(jmodel, "tr", "emptyrow", "");
+        XModel headerNode = appendNode(new JournalLineParams(jmodel, "tr", "emptyrow", ""));
         for (int i = 0 ; i < field.length; i++) {
-            appendNode(headerNode, "td", field[i], "");
+            appendNode(new JournalLineParams(headerNode, "td", field[i], ""));
         }
     }
 
-    public static XModel appendNode(XModel node, String tag, String name, String value) {
-        XModel newNode = (XModel) node.append(name);
-        newNode.setTagName(tag);
-        if (value != null) {
-            newNode.set(value);
+    public static XModel appendNode(JournalLineParams journalLineParams) {
+        XModel newNode = (XModel) journalLineParams.getNode().append(journalLineParams.getName());
+        newNode.setTagName(journalLineParams.getTag());
+
+        if (journalLineParams.getValue() != null) {
+            newNode.set(journalLineParams.getValue());
         }
         return newNode;
     }

Added: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java?rev=1360930&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java (added)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java Thu Jul 12 20:49:16 2012
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * 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.
+ *******************************************************************************/
+package org.ofbiz.pos.component;
+
+import net.xoetrope.xui.data.XModel;
+
+public class JournalLineParams {
+    private final XModel node;
+    private final String tag;
+    private final String name;
+    private final String value;
+
+    public JournalLineParams(XModel node, String tag, String name, String value) {
+        this.node = node;
+        this.tag = tag;
+        this.name = name;
+        this.value = value;
+    }
+
+    public XModel getNode() {
+        return node;
+    }
+
+    public String getTag() {
+        return tag;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public String getValue() {
+        return value;
+    }
+}

Propchange: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/JournalLineParams.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain