[open-ils-commits] r18032 - in branches/rel_2_0/Open-ILS/xul/staff_client: chrome/content/OpenILS chrome/content/main external server/admin server/cat server/circ server/main server/patron server/serial (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Sep 27 12:38:12 EDT 2010


Author: phasefx
Date: 2010-09-27 12:38:08 -0400 (Mon, 27 Sep 2010)
New Revision: 18032

Modified:
   branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
   branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/external/dojo_template.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/external/template.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/do_not_auto_attempt_print_setting.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/font_settings.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/transit_list.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/work_log.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/bib_brief.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_buckets_overlay.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_editor.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_notes.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_new.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_view.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/spine_labels.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/z3950.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/copy_details.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/missing_pieces.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/pre_cat_fields.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/main/simple_auth.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/main/verify_credentials.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill2.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_details.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/edit_standing_penalty.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_cancel.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_details.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_group.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_notes.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_stat_cats.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_surveys.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items_overlay.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/new_standing_penalty.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form_horiz.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_result.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/summary.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/user_buckets.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_items.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_subs.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/notes.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sdist_editor.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/siss_editor.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sitem_editor.xul
   branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/ssub_editor.xul
Log:
merge part of r18002, and all of r18003 and r18004 from trunk for persistent/sticky slider positions and window sizes

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2010-09-27 16:38:08 UTC (rev 18032)
@@ -94,6 +94,9 @@
                             if (ev.explicitOriginalTarget != node) return;
                         } else {
                             target = ev.target;
+                            if (target == window) {
+                                target = window.document.documentElement;
+                            }
                         }
                         var filename = location.pathname.split('/')[ location.pathname.split('/').length - 1 ];
                         var base_key = 'oils_persist_' + String(location.hostname + '_' + filename + '_' + target.getAttribute('id')).replace('/','_','g') + '_' + base_key_suffix;
@@ -108,11 +111,21 @@
                             } else if ( attribute_list[j] == 'value' && ['textbox'].indexOf( target.nodeName ) > -1 ) {
                                 value = target.value;
                                 dump('\t' + value + ' <== .' + attribute_list[j] + '\n');
+                            } else if ( attribute_list[j] == 'sizemode' && ['window'].indexOf( target.nodeName ) > -1 ) {
+                                value = window.windowState;
+                                dump('\t' + value + ' <== window.windowState, @' + attribute_list[j] + '\n');
+                            } else if ( attribute_list[j] == 'height' && ['window'].indexOf( target.nodeName ) > -1 ) {
+                                value = window.outerHeight;
+                                dump('\t' + value + ' <== window.outerHeight, @' + attribute_list[j] + '\n');
+                            } else if ( attribute_list[j] == 'width' && ['window'].indexOf( target.nodeName ) > -1 ) {
+                                value = window.outerWidth;
+                                dump('\t' + value + ' <== window.outerWidth, @' + attribute_list[j] + '\n');
                             } else {
                                 dump('\t' + value + ' <== @' + attribute_list[j] + '\n');
                             }
                             prefs.setCharPref( key, value );
-                            // TODO: Need to add logic for window resizing, splitter repositioning, grippy state, etc.
+                            // TODO: Need to add logic for splitter repositioning, grippy state, etc.
+                            // NOTE: oils_persist_peers and oils_persist="width" on those peers can help with the elements adjacent to a splitter
                         }
                         if (target.hasAttribute('oils_persist_peers') && ! ev.cancelable) { // We abuse the .cancelable field on the oils_persist event to prevent looping
                             var peer_list = target.getAttribute('oils_persist_peers').split(' ');
@@ -152,6 +165,22 @@
                         } else if ( attribute_list[j] == 'value' && ['textbox'].indexOf( nodes[i].nodeName ) > -1 ) {
                             nodes[i].value = value;
                             dump('\t' + value + ' ==> .' + attribute_list[j] + '\n');
+                        } else if ( attribute_list[j] == 'sizemode' && ['window'].indexOf( nodes[i].nodeName ) > -1 ) {
+                            switch(value) {
+                                case window.STATE_MAXIMIZED:
+                                    window.maximize();
+                                    break;
+                                case window.STATE_MINIMIZED:
+                                    window.minimize();
+                                    break;
+                            };
+                            dump('\t' + value + ' ==> window.windowState, @' + attribute_list[j] + '\n');
+                        } else if ( attribute_list[j] == 'height' && ['window'].indexOf( nodes[i].nodeName ) > -1 ) {
+                            window.outerHeight = value;
+                            dump('\t' + value + ' ==> window.outerHeight, @' + attribute_list[j] + '\n');
+                        } else if ( attribute_list[j] == 'width' && ['window'].indexOf( nodes[i].nodeName ) > -1 ) {
+                            window.outerWidth = value;
+                            dump('\t' + value + ' ==> window.outerWidth, @' + attribute_list[j] + '\n');
                         } else {
                             nodes[i].setAttribute( attribute_list[j], value);
                             dump('\t' + value + ' ==> @' + attribute_list[j] + '\n');
@@ -191,29 +220,33 @@
                         false
                     );
                 } else {
+                    var node = nodes[i];
                     var event_types = [];
-                    if (nodes[i].hasAttribute('oils_persist_events')) {
-                        var event_type_list = nodes[i].getAttribute('oils_persist_events').split(' ');
+                    if (node.hasAttribute('oils_persist_events')) {
+                        var event_type_list = node.getAttribute('oils_persist_events').split(' ');
                         for (var j = 0; j < event_type_list.length; j++) {
                             event_types.push( event_type_list[j] );
                         }
                     } else {
-                        if (nodes[i].nodeName == 'textbox') { 
+                        if (node.nodeName == 'textbox') { 
                             event_types.push('change'); 
+                        } else if (node.nodeName == 'window') {
+                            event_types.push('resize'); 
+                            node = window; // xul window is an element of window.document
                         } else {
                             event_types.push('command'); 
                         }
                     }
                     for (var j = 0; j < event_types.length; j++) {
-                        nodes[i].addEventListener(
+                        node.addEventListener(
                             event_types[j],
-                            gen_event_handler(event_types[j],nodes[i]),
+                            gen_event_handler(event_types[j],node),
                             false
                         );
                     }
-                    nodes[i].addEventListener(
+                    node.addEventListener(
                         'oils_persist',
-                        gen_oils_persist_handler( base_key, nodes[i] ),
+                        gen_oils_persist_handler( base_key, node ),
                         false
                     );
                 }

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -21,7 +21,7 @@
 <window id="main_win" 
     onload="try { main_init(); } catch(E) { alert(E); }"
     onunload="try { G.auth.logoff(); } catch(E) { alert(E); }"
-    title="&staff.auth.title;"
+    title="&staff.auth.title;" persist="width height sizemode"
     width="640" height="480"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/external/dojo_template.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/external/dojo_template.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/external/dojo_template.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="main_test_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/external/template.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/external/template.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/external/template.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="example_template_win" 
-    onload="try { my_init(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/do_not_auto_attempt_print_setting.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/do_not_auto_attempt_print_setting.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/do_not_auto_attempt_print_setting.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="main_test_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/font_settings.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/font_settings.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/font_settings.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="font_settings_win" 
-    onload="try { my_init(); } catch(E) { alert(E); }" style="background: white;"
+    onload="try { my_init(); persist_helper(); } catch(E) { alert(E); }" style="background: white;"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="admin_offline_manage_xacts_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -55,7 +55,7 @@
 
     <vbox id="admin_offline_manage_xacts_main" flex="1">
 
-        <groupbox flex="1">
+        <groupbox flex="1" id="before_splitter" oils_persist="height">
             <caption label="&staff.server.admin.offline.xacts.caption;"/>
             <hbox>
                 <button id="refresh" label="&common.refresh;" accesskey="&staff.server.admin.offline.xacts.refresh.accesskey;"/>
@@ -66,8 +66,8 @@
             </hbox>
             <tree id="session_tree" enableColumnDrag="true" seltype="single" flex="1"/>
         </groupbox>
-            <splitter><grippy/></splitter>
-        <deck flex="1" id="deck">
+        <splitter id="splitter" oils_persist="state" oils_persist_peers="before_splitter deck"><grippy/></splitter>
+        <deck flex="1" id="deck" oils_persist="height">
             <label value=" "/>
             <groupbox flex="1">
                 <caption id="status_caption" label="&staff.server.admin.offline.xacts.status.label;"/>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/transit_list.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/transit_list.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/transit_list.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="admin_transit_list_win" active="true" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/work_log.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/work_log.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/admin/work_log.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -33,7 +33,7 @@
     <script type="text/javascript" src="work_log.js"/>
 
     <vbox flex="1">
-        <vbox flex="1">
+        <vbox flex="1" id="before_splitter" oils_persist="height">
             <hbox>
                 <textbox id="desire_number_of_work_log_entries" type="number" oils_persist="value" />
                 <label value="&staff.admin.work_log.list1.header;" class="header1"/>
@@ -44,8 +44,8 @@
             </hbox>
             <tree id="work_action_log" flex="1" enableColumnDrag="true" context="work_log_actions"/>
         </vbox>
-        <splitter><grippy/></splitter>
-        <vbox flex="1">
+        <splitter id="splitter" oils_persist="state hidden" oils_persist_peers="before_splitter after_splitter"><grippy/></splitter>
+        <vbox flex="1" id="after_splitter" oils_persist="height">
             <hbox>
                 <textbox id="desire_number_of_patron_log_entries" type="number" oils_persist="value" />
                 <label value="&staff.admin.work_log.list2.header;" class="header1"/>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/bib_brief.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/bib_brief.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/bib_brief.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -22,7 +22,7 @@
 <?xul-overlay href="/xul/server/cat/bib_brief_overlay.xul"?>
 
 <window id="cat_bib_brief_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -22,7 +22,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_copy_browser" active="true"
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_buckets_overlay.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_buckets_overlay.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_buckets_overlay.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -14,14 +14,14 @@
 </box>
 
 <vbox id="cmvb1" flex="1">
-    <groupbox flex="1">
+    <groupbox flex="1" id="before_splitter" oils_persist="height">
         <caption label="&staff.cat.copy_buckets_overlay.pending_copies;" />
         <hbox id="pending_buckets_top_ui" />
         <tree id="pending_copies_list" flex="1" enableColumnDrag="true"/>
         <hbox id="pending_buckets_bottom_ui" />
     </groupbox>
-    <splitter><grippy /></splitter>
-    <groupbox flex="2">
+    <splitter id="splitter" oils_persist="state hidden" oils_persist_peers="before_splitter after_splitter"><grippy /></splitter>
+    <groupbox flex="2" id="after_splitter" oils_persist="height">
         <caption label="&staff.cat.copy_buckets_overlay.bucket_view;" />
         <hbox id="copy_buckets_top_ui" />
         <hbox id="info_box"/>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_editor.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_editor.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_editor.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -56,27 +56,27 @@
         </hbox>
 
         <hbox flex="1" style="overflow: scroll">
-            <vbox flex="1">
+            <vbox flex="1" id="before_splitter1" oils_persist="width">
                 <label value="&staff.cat.copy_editor.identification.label;" style="font-weight: bold; font-size: large"/>
                 <vbox id="left_pane" flex="1"/>
             </vbox>
-            <splitter><grippy /></splitter>
-            <vbox flex="1">
+            <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="before_splitter1 after_splitter1"><grippy /></splitter>
+            <vbox flex="1" id="after_splitter1" oils_persist="width">
                 <button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.location.label;" accesskey="&staff.cat.copy_editor.identification.location.accesskey;" oncommand="document.getElementById('right_pane').firstChild.firstChild.focus();"/>
                 <vbox id="right_pane" flex="1"/>
             </vbox>
-            <splitter><grippy /></splitter>
-            <vbox flex="1">
+            <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="after_splitter1 after_splitter2"><grippy /></splitter>
+            <vbox flex="1" id="after_splitter2" oils_persist="width">
                 <button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.circulation.label;" accesskey="&staff.cat.copy_editor.identification.circulation.accesskey;" oncommand="document.getElementById('right_pane2').firstChild.firstChild.focus();"/>
                 <vbox id="right_pane2" flex="1"/>
             </vbox>
-            <splitter><grippy /></splitter>
-            <vbox flex="1">
+            <splitter id="splitter3" oils_persist="state hidden" oils_persist_peers="after_splitter2 after_splitter3"><grippy /></splitter>
+            <vbox flex="1" id="after_splitter3" oils_persist="width">
                 <button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.miscellaneous.label;" accesskey="&staff.cat.copy_editor.identification.miscellaneous.accesskey;" oncommand="document.getElementById('right_pane3').firstChild.firstChild.focus();"/>
                 <vbox id="right_pane3" flex="1"/>
             </vbox>
-            <splitter><grippy /></splitter>
-            <vbox flex="1">
+            <splitter id="splitter4" oils_persist="state hidden" oils_persist_peers="after_splitter3 after_splitter4"><grippy /></splitter>
+            <vbox flex="1" id="after_splitter4" oils_persist="width">
                 <button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.statistics.label;" accesskey="&staff.cat.copy_editor.identification.statistics.accesskey;" oncommand="document.getElementById('right_pane4').firstChild.firstChild.focus();"/>
                 <menu label="&staff.cat.copy_editor.stat_cat_lib_filter_menu.label;" id="stat_cat_lib_filter_menu">
                     <menupopup />

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_notes.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_notes.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_notes.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -22,8 +22,9 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="copy_notes_win" width="700" height="550"
+    oils_persist="height width sizemode"
     title="&staff.cat.copy_editor.copy_notes.label;"
-    onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_new.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_new.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_new.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="example_template_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_view.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_view.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marc_view.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_marc_view_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/spine_labels.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/spine_labels.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/spine_labels.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -35,7 +35,7 @@
 
     <vbox id="spine_labels_main" flex="1" class="my_overflow">
         <hbox flex="1" class="my_overflow">
-        <vbox>
+        <vbox id="before_splitter" oils_persist="width">
             <hbox>
                 <button label="&staff.cat.spine_labels.re-generate.label;"
                     accesskey="&staff.cat.spine_labels.re-generate.accesskey;" oncommand="generate()"/>
@@ -166,8 +166,8 @@
             </rows></grid>
             <button label="&staff.cat.spine_labels.available_macros.label;" oncommand="show_macros()"/>
         </vbox>
-        <splitter><grippy/></splitter>
-        <vbox id="panel" flex="1" class="my_overflow"/>
+        <splitter id="splitter" oils_persist="state hidden" oils_persist_peers="before_splitter panel"><grippy/></splitter>
+        <vbox id="panel" flex="1" class="my_overflow" oils_persist="width"/>
         </hbox>
     </vbox>
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="example_template_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,8 +18,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_volume_copy_creator_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
-    width="800" height="580"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+    width="800" height="580" oils_persist="height width sizemode"
     title="&staff.cat.volume_copy_creator.title;"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/z3950.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/z3950.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/z3950.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -131,7 +131,7 @@
                         <button id="search" label="&staff.cat.z3950.search.label;" accesskey="&staff.cat.z3950.search.accesskey;" disabled="true"/>
                     </hbox>
                 </groupbox>
-                <splitter id="x_splitter" collapse="after" oils_persist="state hidden"><grippy id="splitter_grippy1"/></splitter>
+                <splitter id="x_splitter" collapse="after" oils_persist="state hidden" oils_persist_peers="x_splitter1 x_splitter2"><grippy id="splitter_grippy1"/></splitter>
                 <groupbox id="x_splitter2" oils_persist="width" flex="1">
                     <caption label="&staff.cat.z3950.service_credentials.label;"/>
                     <grid flex="1">
@@ -159,7 +159,7 @@
                     </hbox>
                 </groupbox>
             </hbox>
-            <splitter id="z_splitter" collapse="before" oils_persist="state hidden"><grippy id="splitter_grippy2"/></splitter>
+            <splitter id="z_splitter" collapse="before" oils_persist="state hidden" oils_persist_peers="top_pane z_splitter2"><grippy id="splitter_grippy2"/></splitter>
             <groupbox id="z_splitter2" oils_persist="height" flex="1">
                 <caption label="&staff.cat.z3950.results_caption.label;"/>
                 <hbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/cat/bib_brief_overlay.xul"?>
 
 <window id="alt_copy_summary_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -282,14 +282,14 @@
                     </grid>
                 </tabpanel>
                 <tabpanel orient="vertical"><!-- Hold/Transit -->
-                    <groupbox flex="1" id="holds" style="overflow: none; min-height: 80;">
+                    <groupbox flex="1" id="holds" style="overflow: none; min-height: 80;" oils_persist="height">
                         <caption id="hold_caption" label="&staff.circ.copy_details.hold_caption;"/>
                         <label id="hold_patron_name" class="patronNameLarge"/>
                         <tree id="hold" flex="1" enableColumnDrag="true"/>
                         <spacer FIXME="label and tree get swapped without this"/>
                     </groupbox>
-                    <splitter><grippy/></splitter>
-                    <groupbox flex="1" id="transits" style="overflow: none; min-height: 80;">
+                    <splitter id="splitter" oils_persist="state hidden" oils_persist_peers="holds transits"><grippy/></splitter>
+                    <groupbox flex="1" id="transits" style="overflow: none; min-height: 80;" oils_persist="height">
                         <caption id="transit_caption" label="&staff.circ.copy_details.transit_caption;"/>
                         <tree id="transit" flex="1" enableColumnDrag="true"/>
                     </groupbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="circ_circ_brief_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns:html="http://www.w3.org/1999/xhtml"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_summary.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/circ_summary.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,8 +19,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="circ_circ_brief_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
-    width="750" height="550"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+    width="750" height="550" oils_persist="height width sizemode"
     xmlns:html="http://www.w3.org/1999/xhtml"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
@@ -137,11 +137,11 @@
     </script>
 
     <vbox flex="1" class="my_overflow">
-        <vbox id="top_vbox" flex="1" class="my_overflow"/>
-        <splitter><grippy/></splitter>
-        <vbox id="mid_vbox" flex="1" class="my_overflow"/>
-        <splitter><grippy/></splitter>
-        <groupbox flex="1" id="circs" class="my_overflow">
+        <vbox id="top_vbox" flex="1" class="my_overflow" oils_persist="height"/>
+        <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="top_vbox mid_vbox"><grippy/></splitter>
+        <vbox id="mid_vbox" flex="1" class="my_overflow" oils_persist="height"/>
+        <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="mid_vbox circs"><grippy/></splitter>
+        <groupbox flex="1" id="circs" class="my_overflow" oils_persist="height">
             <caption label="&staff.circ.circ_summary.caption;"/>
         </groupbox>
         <hbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/copy_details.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/copy_details.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/copy_details.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -197,23 +197,23 @@
     <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
 
     <vbox flex="1" style="overflow: auto;">
-        <vbox id="top_box" flex="1" style="border: none; overflow: none; min-height: 80;"/>
-        <splitter><grippy/></splitter>
-        <vbox id="item_summary_box" flex="1" style="border: none; overflow: none; min-height: 80;"/>
-        <splitter><grippy/></splitter>
-        <groupbox flex="1" id="holds" style="overflow: none; min-height: 80;">
+        <vbox id="top_box" flex="1" style="border: none; overflow: none; min-height: 80;" oils_persist="height"/>
+        <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="top_box item_summary_box"><grippy/></splitter>
+        <vbox id="item_summary_box" flex="1" style="border: none; overflow: none; min-height: 80;" oils_persist="height"/>
+        <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="item_summary_box holds"><grippy/></splitter>
+        <groupbox flex="1" id="holds" style="overflow: none; min-height: 80;" oils_persist="height">
             <caption id="hold_caption" label="&staff.circ.copy_details.hold_caption;"/>
             <label id="patron_name" class="patronNameLarge"/>
             <tree id="hold" flex="1" enableColumnDrag="true"/>
             <spacer FIXME="label and tree get swapped without this"/>
         </groupbox>
-        <splitter><grippy/></splitter>
-        <groupbox flex="1" id="transits" style="overflow: none; min-height: 80;">
+        <splitter id="splitter3" oils_persist="state hidden" oils_persist_peers="holds transits"><grippy/></splitter>
+        <groupbox flex="1" id="transits" style="overflow: none; min-height: 80;" oils_persist="height">
             <caption id="transit_caption" label="&staff.circ.copy_details.transit_caption;"/>
             <tree id="transit" flex="1" enableColumnDrag="true"/>
         </groupbox>
-        <splitter><grippy/></splitter>
-        <groupbox flex="1" id="circs" style="overflow: none; min-height: 80;">
+        <splitter id="splitter4" oils_persist="state hidden" oils_persist_peers="transits circs"><grippy/></splitter>
+        <groupbox flex="1" id="circs" style="overflow: none; min-height: 80;" oils_persist="height">
             <caption id="circ_caption" label="&staff.circ.copy_details.circ_caption;" style="font-weight: bold"/>
             <vbox id="circ_box" flex="1" style="min-height: 80"/>
         </groupbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/missing_pieces.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/missing_pieces.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/missing_pieces.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="main_test_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/pre_cat_fields.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/pre_cat_fields.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/pre_cat_fields.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -21,8 +21,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="pre_cat_fields" title="&staff.circ.pre_cat.window.title;"
-    orient="vertical" style="overflow: auto"
-    onload="try{my_init();font_helper(); }catch(E){alert(E);}"
+    orient="vertical" style="overflow: auto" oils_persist="height width sizemode"
+    onload="try{ my_init(); font_helper(); persist_helper(); }catch(E){alert(E);}"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="print_list_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/main/simple_auth.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/main/simple_auth.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/main/simple_auth.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -21,8 +21,8 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="simple_auth_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="simple_auth_win" oils_persist="height width sizemode"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/main/verify_credentials.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/main/verify_credentials.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/main/verify_credentials.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -17,7 +17,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="verify_win" onload="try { verify_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="verify_win" onload="try { verify_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_barcode_entry_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill2.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill2.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill2.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -58,7 +58,7 @@
     <vbox flex="1" class="my_overflow">
         <groupbox orient="vertical" flex="1">
             <caption id="caption" label="&staff.patron.bill_interface.caption.label;"/>
-            <hbox>
+            <hbox id="before_splitter1" oils_persist="height">
                 <grid flex="1">
                     <columns flex="1">
                         <column/>
@@ -116,8 +116,8 @@
                     </hbox>
                 </groupbox>
             </hbox>
-            <splitter />
-            <vbox flex="1">
+            <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="before_splitter1 after_splitter1" />
+            <vbox flex="1" id="after_splitter1" oils_persist="height">
                 <hbox>
                     <button id="bill_patron_btn" label="&staff.patron.bills_overlay.bill_patron.label;" accesskey="&staff.patron.bills_overlay.bill_patron.accesskey;" />
                     <button id="bill_history_btn" label="&staff.patron.bills_overlay.history.label;" accesskey="&staff.patron.bills_overlay.history.accesskey;" />
@@ -162,8 +162,8 @@
                     </button>
                 </hbox>
             </vbox>
-            <splitter />
-            <hbox>
+            <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="after_splitter1 after_splitter2" />
+            <hbox id="after_splitter2" oils_persist="height">
                 <vbox>
                     <hbox>
                         <label value='&staff.patron.bill_interface.voided_this_session.label;' class="emphasis1"/><label id="currently_voided" value="0.00"/>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,8 +19,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_bill" title="&staff.patron.bill_cc_info.title;"
-    orient="vertical" style="overflow: auto"
-    onload="try{info_init(); font_helper();refresh_fields();}catch(E){alert(E);}"
+    orient="vertical" style="overflow: auto" oils_persist="height width sizemode"
+    onload="try{info_init(); font_helper(); refresh_fields(); persist_helper(); }catch(E){alert(E);}"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,8 +19,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_bill" title="&staff.patron.bill_check_info.title;"
-    orient="vertical" style="overflow: auto"
-    onload="try{info_init(); font_helper();}catch(E){alert(E);}"
+    orient="vertical" style="overflow: auto" oils_persist="height width sizemode"
+    onload="try{info_init(); font_helper(); persist_helper(); }catch(E){alert(E);}"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_details.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_details.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_details.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,8 +20,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
 
-<window id="bill_details_win" width="700" height="550"
-    onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="bill_details_win" width="700" height="550" oils_persist="width height sizemode"
+    onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -37,15 +37,15 @@
     <vbox flex="1" class="my_overflow">
         <label id="patron_name" class="patronNameLarge"/>
 
-        <groupbox orient="vertical" flex="1" id="summary" />
+        <groupbox orient="vertical" flex="1" id="summary" oils_persist="height"/>
 
-        <splitter><grippy/></splitter>
+        <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="summary copy_summary_vbox"><grippy/></splitter>
 
         <vbox id="copy_summary_vbox" flex="1" />
 
-        <splitter id="copy_summary_splitter"><grippy/></splitter>
+        <splitter id="copy_summary_splitter" oils_persist="state hidden" oils_persist_peers="copy_summary_vbox after_copy_summary_splitter"><grippy/></splitter>
 
-            <groupbox orient="vertical" flex="2">
+            <groupbox id="after_copy_summary_splitter" oils_persist="height" orient="vertical" flex="2">
                 <caption label="&staff.patron.bill_details.bills.label;" style="color: red"/>
                 <tree id="bill_tree" flex="1" enableColumnDrag="true"/>
                 <hbox>
@@ -56,9 +56,9 @@
                 </hbox>
             </groupbox>
 
-            <splitter><grippy/></splitter>
+            <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="after_copy_summary_splitter after_splitter2"><grippy/></splitter>
 
-            <groupbox orient="vertical" flex="2">
+            <groupbox orient="vertical" flex="2" id="after_splitter2" oils_persist="height">
                 <caption label="&staff.patron.bill_details.payments.label;" style="color: green"/>
                 <tree id="payment_tree" flex="1" enableColumnDrag="true"/>
                 <hbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,8 +20,8 @@
 <?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
 
 <window id="patron_bill" title="&staff.patron.bill_wizard.title;"
-    orient="vertical" style="overflow: auto"
-    onload="try { patron_bill_init(); font_helper(); } catch(E) { alert(E); }" width="700" height="550"
+    orient="vertical" style="overflow: auto" oils_persist="width height sizemode"
+    onload="try { patron_bill_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" width="700" height="550"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -35,7 +35,7 @@
         <hbox id="left_deck_vbox" flex="1" oils_persist="height"> 
             <deck id="patron_left_deck" oils_persist="height"/>
         </hbox>
-        <splitter id="deck_splitter" collapse="before" oils_persist="state hidden"><grippy id="splitter_grippy"/></splitter>
+        <splitter id="deck_splitter" collapse="before" oils_persist="state hidden" oils_persist_peers="left_deck_vbox right_deck_vbox"><grippy id="splitter_grippy"/></splitter>
         <hbox id="right_deck_vbox" flex="3" oils_persist="height">
             <deck id="patron_right_deck" oils_persist="height"/>
         </hbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_overlay.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display_overlay.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -35,7 +35,7 @@
         <vbox id="left_deck_vbox" flex="1" oils_persist="width"> 
             <deck id="patron_left_deck" oils_persist="width"/>
         </vbox>
-        <splitter id="deck_splitter" collapse="before" oils_persist="state hidden"><grippy id="splitter_grippy"/></splitter>
+        <splitter id="deck_splitter" collapse="before" oils_persist="state hidden" oils_persist_peers="left_deck_vbox right_deck_vbox"><grippy id="splitter_grippy"/></splitter>
         <vbox id="right_deck_vbox" flex="3" oils_persist="width">
             <deck id="patron_right_deck" oils_persist="width"/>
         </vbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/edit_standing_penalty.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/edit_standing_penalty.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/edit_standing_penalty.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="edit_penalty_win" 
-    onload="try { edit_penalty_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { edit_penalty_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+    oils_persist="height width sizemode"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     title="&staff.patron_display.edit_penalty_dialog.title;">
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_cancel.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_cancel.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_cancel.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="hold_cancel_win" 
-    onload="try { hold_cancel_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { hold_cancel_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     title="&staff.hold_list.cancel_hold_dialog.title;">
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_details.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_details.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/hold_details.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -65,7 +65,7 @@
         <vbox id="bib_brief_box" flex="1" style="min-height: 10em;"/>
     </vbox>
 
-    <splitter><grippy/></splitter>
+    <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="v1 v2"><grippy/></splitter>
 
     <vbox id="v2" flex="1" oils_persist="height">
         <vbox flex="1">
@@ -74,9 +74,9 @@
         </vbox>
     </vbox>
 
-    <splitter><grippy/></splitter>
+    <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="v2 after_splitter2"><grippy/></splitter>
 
-    <tabbox flex="1">
+    <tabbox flex="1" id="after_splitter2" oils_persist="height">
         <tabs>
             <tab label="&staff.patron.holds.notes_tab.label;" accesskey="&staff.patron.holds.notes_tab.accesskey;" />
             <tab label="&staff.patron.holds.notices_tab.label;" accesskey="&staff.patron.holds.notices_tab.accesskey;" />

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_group.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_group.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_group.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_info_group_win" width="700" height="550" active="true"
-    onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_notes.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_notes.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_notes.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_info_win" width="700" height="550"
-    onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_stat_cats.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_stat_cats.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_stat_cats.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_info_stat_cats_win" width="700" height="550"
-    onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_surveys.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_surveys.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/info_surveys.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_info_surveys_win" width="700" height="550"
-    onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/patron/items_overlay.xul"?>
 
 <window id="items_win" active="true" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items_overlay.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items_overlay.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items_overlay.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -99,7 +99,7 @@
 </box>
 
 <vbox id="cmvb1" flex="1">
-    <groupbox id="cmgb1" flex="1">
+    <groupbox id="cmgb1" flex="1" oils_persist="height">
         <caption label="&staff.patron_navbar.items;" />
         <vbox flex="0">
             <hbox id="items_top_ui" />
@@ -110,8 +110,8 @@
             <hbox id="items_bottom_ui" />
         </vbox>
     </groupbox>
-    <splitter><grippy/></splitter>
-    <groupbox flex="1">
+    <splitter id="splitter" oils_persist="state hidden" oils_persist_peers="cmgb1 after_splitter"><grippy/></splitter>
+    <groupbox flex="1" id="after_splitter" oils_persist="height">
         <caption label="&staff.patron_navbar.items.problem_items.caption;" />
         <vbox flex="0">
             <hbox id="items_top_ui2" />

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/new_standing_penalty.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/new_standing_penalty.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/new_standing_penalty.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="new_penalty_win" 
-    onload="try { new_penalty_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { new_penalty_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+    oils_persist="height width sizemode"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     title="&staff.patron_display.apply_penalty_dialog.title;">
 

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/patron/search_form_overlay.xul"?>
 
 <window id="patron_search_form_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form_horiz.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form_horiz.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_form_horiz.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/patron/search_form_horiz_overlay.xul"?>
 
 <window id="patron_search_form_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_result.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_result.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/search_result.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/patron/search_result_overlay.xul"?>
 
 <window id="patron_search_result_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -44,7 +44,7 @@
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
     <!-- CONTENT -->
-    <groupbox id="penalty_groupbox" flex="1" class="my_overflow">
+    <groupbox id="penalty_groupbox" flex="1" class="my_overflow" oils_persist="height">
         <caption id="penalty_caption" label="&staff.patron_display.penalty.caption;"/>
         <vbox flex="0">
             <hbox flex="1">
@@ -84,8 +84,8 @@
         </vbox>
         <tree id="ausp_list" flex="1" enableColumnDrag="true" context="ausp_actions" />
     </groupbox>
-    <splitter id="list_splitter" collapse="after" oils_persist="state hidden"><grippy id="splitter_grippy"/></splitter>
-    <groupbox id="archived_penalty_groupbox" flex="1" class="my_overflow">
+    <splitter id="list_splitter" collapse="after" oils_persist="state hidden" oils_persist_peers="penalty_groupbox archived_penalty_groupbox"><grippy id="splitter_grippy"/></splitter>
+    <groupbox id="archived_penalty_groupbox" flex="1" class="my_overflow" oils_persist="height">
         <caption id="penalty_caption" label="&staff.patron_display.archived_penalty.caption;"/>
         <vbox flex="0">
             <toolbox flex="1">

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/summary.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/summary.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/summary.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_summary_win" 
-    onload="try { font_helper(); my_init(); } catch(E) { alert(E); }" onunload="try { observer.unregister(); } catch(E) { alert(E); }"
+    onload="try { font_helper(); my_init(); persist_helper(); } catch(E) { alert(E); }" onunload="try { observer.unregister(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/user_buckets.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/user_buckets.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/user_buckets.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -18,7 +18,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="example_template_win" 
-    onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_items.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_items.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_items.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -82,9 +82,9 @@
                 </menu>
             </menubar>
         </hbox>
-        <tree id="item_tree" flex="2" enableColumnDrag="true" context="serial_manage_items_popup"/>
-        <splitter state="open" collapse="after" resizebefore="closest" resizeafter="farthest"/>
-        <hbox align="center">
+        <tree id="item_tree" flex="2" enableColumnDrag="true" context="serial_manage_items_popup" oils_persist="height"/>
+        <splitter state="open" collapse="after" resizebefore="closest" resizeafter="farthest" id="splitter" oils_persist="state hidden" oils_persist_peers="item_tree after_splitter"/>
+        <hbox align="center" id="after_splitter" oils_persist="height">
             <label style="font-weight: bold" value="Showing: "/>
             <label id="serial_workarea_mode_label" value="Recently Received"/>
             <spacer flex="1"/>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_subs.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_subs.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/manage_subs.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -65,7 +65,7 @@
                 </popupset>
 
                 <hbox flex="1">
-                    <vbox flex="1">
+                    <vbox flex="1" id="before_splitter" oils_persist="width">
                         <hbox id="serial_sub_lib_menu"/>
                         <hbox>
                             <checkbox id="show_ssubs" label="Show Subs." />
@@ -92,8 +92,8 @@
                         </hbox>
                         <tree id="subs_tree" flex="15" enableColumnDrag="true" context="serial_manage_subs_popup"/>
                     </vbox>
-                    <splitter state="open" collapse="before" resizebefore="closest" resizeafter="farthest"/>
-                    <deck id="serial_manage_subs_editor_deck" flex="20">
+                    <splitter state="open" collapse="before" resizebefore="closest" resizeafter="farthest" id="splitter" oils_persist="state hidden" oils_persist_peers="before_splitter serial_manage_subs_editor_deck"/>
+                    <deck id="serial_manage_subs_editor_deck" flex="20" oils_persist="width">
                         <description value="Please select an object to edit"/>
                         <vbox id="serial_ssub_editor_panel" />
                         <vbox id="serial_sdist_editor_panel" />

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/notes.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/notes.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/notes.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -22,8 +22,8 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="notes_win" width="700" height="550"
-	onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="notes_win" width="700" height="550" oils_persist="height width sizemode"
+	onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sdist_editor.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sdist_editor.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sdist_editor.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -14,12 +14,12 @@
         <vbox id="brief_display_box"/>
 
 		<hbox flex="1" style="overflow: auto">
-			<vbox flex="1">
+			<vbox flex="1" id="before_splitter" oils_persist="height">
 				<label value="Distribution" style="font-weight: bold; font-size: large"/>
 				<vbox id="sdist_editor_left_pane" flex="1"/>
 			</vbox>
-			<splitter><grippy /></splitter>
-			<vbox flex="1">
+			<splitter id="splitter" oils_persist="state hidden" oils_persist_peers="before_splitter after_splitter"><grippy /></splitter>
+			<vbox flex="1" id="after_splitter" oils_persist="height">
 				<vbox id="sdist_editor_right_pane"/>
                 <groupbox>
                     <caption label="Library Specific Options" />

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -25,7 +25,7 @@
 <?xul-overlay href="/xul/server/serial/manage_subs.xul"?>
 
 <window id="serial_serctrl_main" 
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/siss_editor.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/siss_editor.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/siss_editor.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -14,16 +14,16 @@
         <vbox id="brief_display_box"/>
 
 		<hbox flex="1" style="overflow: auto">
-			<vbox flex="1">
+			<vbox flex="1" id="before_splitter1" oils_persist="width">
 				<label value="Issuance" style="font-weight: bold; font-size: large"/>
 				<vbox id="siss_editor_left_pane" flex="1"/>
 			</vbox>
-			<splitter><grippy /></splitter>
-			<vbox flex="1">
+			<splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="before_splitter1 after_splitter1"><grippy /></splitter>
+			<vbox flex="1" id="after_splitter1" oils_persist="width">
 				<vbox id="siss_editor_middle_pane"/>
 			</vbox>
-			<splitter><grippy /></splitter>
-			<vbox flex="1">
+			<splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="after_splitter1 after_splitter2"><grippy /></splitter>
+			<vbox flex="1" id="after_splitter2" oils_persist="width">
 				<vbox id="siss_editor_right_pane"/>
 			</vbox>
 		</hbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sitem_editor.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sitem_editor.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/sitem_editor.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -66,17 +66,17 @@
 
 	<groupbox flex="1" class="my_overflow">
 		<hbox flex="1" style="overflow: auto">
-			<vbox flex="1">
+			<vbox flex="1" id="before_splitter1" oils_persist="width">
 				<label value="Item" style="font-weight: bold; font-size: large"/>
 				<vbox id="sitem_editor_left_pane" flex="1"/>
 			</vbox>
-			<splitter><grippy /></splitter>
-			<vbox flex="1">
+			<splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="before_splitter1 after_splitter1"><grippy /></splitter>
+			<vbox flex="1" id="after_splitter1" oils_persist="width">
 				<label value=" " style="font-weight: bold; font-size: large"/>
 				<vbox id="sitem_editor_middle_pane" flex="1"/>
 			</vbox>
-			<splitter><grippy /></splitter>
-			<vbox flex="1">
+			<splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="after_slitter1 after_splitter2"><grippy /></splitter>
+			<vbox flex="1" id="after_splitter2" oils_persist="width">
 				<button style="font-weight: bold; font-size: normal" label="Item Dates" accesskey="1" oncommand="document.getElementById('sitem_editor_right_pane').firstChild.firstChild.focus();"/>
 				<vbox id="sitem_editor_right_pane" flex="1"/>
 			</vbox>

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/ssub_editor.xul
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/ssub_editor.xul	2010-09-27 16:31:04 UTC (rev 18031)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/serial/ssub_editor.xul	2010-09-27 16:38:08 UTC (rev 18032)
@@ -14,12 +14,12 @@
         <vbox id="brief_display_box"/>
 
 		<hbox flex="1" style="overflow: auto">
-			<vbox flex="1">
+			<vbox flex="1" id="before_splitter" oils_persist="width">
 				<label value="Subscription" style="font-weight: bold; font-size: large"/>
 				<vbox id="left_pane" flex="1"/>
 			</vbox>
-			<splitter><grippy /></splitter>
-			<vbox flex="1">
+			<splitter id="splitter" oils_persist="state hidden" oils_persist_peers="before_splitter after_splitter"><grippy /></splitter>
+			<vbox flex="1" id="after_splitter" oils_persist="width">
 				<label value=" " style="font-weight: bold; font-size: large"/>
 				<vbox id="right_pane" flex="1"/>
 			</vbox>



More information about the open-ils-commits mailing list