[open-ils-commits] r13953 - in trunk/Open-ILS/xul/staff_client: chrome/content/OpenILS chrome/content/circ chrome/content/main chrome/content/util server/cat server/circ server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Sep 3 00:14:51 EDT 2009


Author: phasefx
Date: 2009-09-03 00:14:48 -0400 (Thu, 03 Sep 2009)
New Revision: 13953

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
   trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.xul
   trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul
   trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.xul
   trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.xul
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame.xul
   trunk/Open-ILS/xul/staff_client/chrome/content/util/list_clipboard.xul
   trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.xul
   trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets_quick.xul
   trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul
   trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
   trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.xul
   trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_quick.xul
   trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.xul
   trunk/Open-ILS/xul/staff_client/server/cat/volume_editor.xul
   trunk/Open-ILS/xul/staff_client/server/cat/z3950.xul
   trunk/Open-ILS/xul/staff_client/server/circ/checkin.xul
   trunk/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/circ/checkout.xul
   trunk/Open-ILS/xul/staff_client/server/circ/checkout_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul
   trunk/Open-ILS/xul/staff_client/server/circ/copy_status.xul
   trunk/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.xul
   trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul
   trunk/Open-ILS/xul/staff_client/server/patron/bills.xul
   trunk/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/patron/display.xul
   trunk/Open-ILS/xul/staff_client/server/patron/display_horiz.xul
   trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/patron/hold_details.xul
   trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul
   trunk/Open-ILS/xul/staff_client/server/patron/holds.xul
   trunk/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
   trunk/Open-ILS/xul/staff_client/server/patron/summary.xul
   trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
Log:
Replacing persist mechanism with oils_persist.

This changeset isn't as scary as it looks, I promise. :-)

In XUL you can say,   <element attribute1="foo" attribute2="bar" persist="attribute1 attribute2" />
and whenever those specified attributes change, the new values will be remembered the next time that element is loaded.

Problems with persist:
  * No longer works with remote XUL in Xulrunner 1.9 series, only chrome.  Mozilla did this for security reasons.
  * Persist was tied to the window.location of each interface, so:
    1) Settings would be lost on any "upgrade" that effectively changed the URL.  For example, /xul/rel_1_2/server/ versus /xul/rel_1_4/server/
    2) Some interfaces still make use of URL params, which effectively breaks persistance (because the URL changes constantly), and allows localstore.rdf to grow without limit (thanks to Jeff for noticing that last bit)

The solution:
  * We renamed all occurances of @persist to @oils_persist, in case Mozilla changes the behavior again.
  * We created a persist_helper() function and call it alongside font_helper() in the @onload for most windows (all that currently have elements using @oils_persist, at least)

persist_helper grabs all elements that have an @oils_persist, and constructs look-up keys based on the location.hostname, location.path, and element.id, and uses the Mozilla preference system to look for preferences with those  
keys.  These keys don't include URL parameters.  For <checkbox> elements, an event listener is added that will set the preference whenever the element fires a command event (is checked or unchecked).

TODO:
  * Tweak the keys further so that they're BUILD_ID (version) agnostic
  * Add more event listeners to accomodate @oils_persist on other elements like window, splitter, and grippy.
  * Possibly remove persist_helper (and font_helper) from the inline @onload, and load it through a window.addEventListener('load',function(){ persist_helper(); },false); in the global util overlay instead.



Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2009-09-03 04:14:48 UTC (rev 13953)
@@ -37,6 +37,45 @@
 		}
 	}
 
+    function persist_helper() {
+        try {
+            netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+            var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);
+            var nodes = document.getElementsByAttribute('oils_persist','*');
+            for (var i = 0; i < nodes.length; i++) {
+                var base_key = 'oils_persist_' + String(location.hostname + location.pathname + '_' + nodes[i].getAttribute('id')).replace('/','_','g') + '_';
+                var attribute_list = nodes[i].getAttribute('oils_persist').split(' ');
+                for (var j = 0; j < attribute_list.length; j++) {
+                    var key = base_key + attribute_list[j];
+                    var value = prefs.prefHasUserValue(key) ? prefs.getCharPref(key) : null;
+                    dump('persist_helper: retrieving key = ' + key + ' value = ' + value + ' for ' + nodes[i].nodeName + '\n');
+                    if (value) nodes[i].setAttribute( attribute_list[j], value );
+                }
+                if (nodes[i].nodeName == 'checkbox' && attribute_list.indexOf('checked') > -1) nodes[i].addEventListener(
+                    'command',
+                    function(bk) {
+                        return function(ev) {
+                            try {
+                                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+                                var key = bk + 'checked';
+                                var value = ev.target.checked;
+                                ev.target.setAttribute( 'checked', value );
+                                prefs.setCharPref( key, value );
+                                dump('persist_helper: setting key = ' +  key + ' value = ' + value + ' for checkbox\n');
+                            } catch(E) {
+                                alert('Error in persist_helper(), checkbox command event listener: ' + E);
+                            }
+                        };
+                    }(base_key), 
+                    false
+                );
+                // TODO: Need to add event listeners for window resizing, splitter repositioning, grippy state, etc.
+            }
+        } catch(E) {
+            alert('Error in persist_helper(): ' + E);
+        }
+    }
+
 	function getKeys(o) {
 		var keys = [];
 		for (var k in o) keys.push(k);

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -16,7 +16,7 @@
 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
 
 <window id="offline_checkin_win" sizemode="maximized"
-	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">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -50,7 +50,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&common.check_barcode.description;</description>
-					<checkbox id="strict_i_barcode" persist="checked"/>
+					<checkbox id="strict_i_barcode" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<label value="&common.step3.label;" style="font-weight: bold"/>
@@ -63,7 +63,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&staff.circ.offline.print.description;</description>
-					<checkbox id="print_receipt" persist="checked"/>
+					<checkbox id="print_receipt" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<spacer flex="1"/>

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -16,7 +16,7 @@
 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
 
 <window id="offline_checkout_win" sizemode="maximized"
-	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">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -50,7 +50,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&common.check_barcode.description;</description>
-					<checkbox id="strict_p_barcode" persist="checked"/>
+					<checkbox id="strict_p_barcode" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<label value="&common.step3.label;" style="font-weight: bold" accesskey="&common.step3.accesskey;" control="duedate"/>
@@ -87,7 +87,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&common.check_barcode.description;</description>
-					<checkbox id="strict_i_barcode" persist="checked"/>
+					<checkbox id="strict_i_barcode" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<label value="&common.step5.label;" style="font-weight: bold"/>
@@ -100,7 +100,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&staff.circ.offline.print.description;</description>
-					<checkbox id="print_receipt" persist="checked"/>
+					<checkbox id="print_receipt" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<spacer flex="1"/>

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -16,7 +16,7 @@
 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
 
 <window id="offline_checkout_win" sizemode="maximized"
-	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">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -59,7 +59,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&common.check_barcode.description;</description>
-					<checkbox id="strict_i_barcode" persist="checked"/>
+					<checkbox id="strict_i_barcode" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<label value="&common.step4.label;" style="font-weight: bold"/>
@@ -72,7 +72,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&staff.circ.offline.print.description;</description>
-					<checkbox id="print_receipt" persist="checked"/>
+					<checkbox id="print_receipt" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<spacer flex="1"/>

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -16,7 +16,7 @@
 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
 
 <window id="offline_checkout_win" sizemode="maximized"
-	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">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -50,7 +50,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&common.check_barcode.description;</description>
-					<checkbox id="strict_p_barcode" persist="checked"/>
+					<checkbox id="strict_p_barcode" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<label value="&common.step3.label;" style="font-weight: bold" accesskey="&common.step3.accesskey;" control="duedate"/>
@@ -83,7 +83,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&common.check_barcode.description;</description>
-					<checkbox id="strict_i_barcode" persist="checked"/>
+					<checkbox id="strict_i_barcode" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<label value="&common.step5.label;" style="font-weight: bold"/>
@@ -96,7 +96,7 @@
 				<hbox>
 					<spacer flex="1"/>
 					<description>&staff.circ.offline.print.description;</description>
-					<checkbox id="print_receipt" persist="checked"/>
+					<checkbox id="print_receipt" oils_persist="checked"/>
 				</hbox>
 				<hbox>
 					<spacer flex="1"/>

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -28,9 +28,9 @@
 -->
 
 <window id="menu_frame_win"
-	onload="try { my_init(); } catch(E) { alert(E); }"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
 	orient="vertical" width="800" height="500"
-	sizemode="maximized" persist="width height" title="&staff.main.menu.title;"
+	sizemode="maximized" oils_persist="width height" title="&staff.main.menu.title;"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/list_clipboard.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/list_clipboard.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/list_clipboard.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -19,8 +19,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="util_list_clipboard_win" 
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
-	width="300" height="300" persist="width height"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+	width="300" height="300" oils_persist="width height"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/cat/copy_buckets_overlay.xul"?>
 
 <window id="copy_buckets_win" title="&staff.cat.copy_buckets.window_title;"
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }" height="600" width="800" persist="height,width"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" height="600" width="800" oils_persist="height width"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets_quick.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets_quick.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets_quick.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -23,7 +23,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="copy_buckets_win" title="&staff.cat.copy_buckets_quick.title;"
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }" persist="height,width"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" oils_persist="height width"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -19,8 +19,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_copy_editor_win" 
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
-	width="800" height="580" persist="width height"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+	width="800" height="580" oils_persist="width height"
 	title="&staff.cat.copy_editor.window.label;"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -22,7 +22,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_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:html="http://www.w3.org/1999/xhtml"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
@@ -186,7 +186,7 @@
 
 	<groupbox id="groupbox" flex="1" style="overflow: none; min-height: 80;">
 		<caption label="&staff.cat.copy_summary.label;" id="caption"/>
-		<deck id="item_deck" persist="selectedIndex">
+		<deck id="item_deck" oils_persist="selectedIndex">
 			<tree id="item_summary_list" enableColumnDrag="true" flex="1"/>
 			<grid>
 				<columns>

Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -11,7 +11,7 @@
 
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="try { my_init(); font_helper(); } catch(E) { alert(E); }">
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }">
 
 <scripts id="openils_util_scripts"/>
 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
@@ -24,11 +24,11 @@
 <groupbox flex="0">
 	<caption label="&staff.cat.marcedit.options.label;"/>
 	<hbox flex="1">
-		<checkbox persist="checked" accesskey="&staff.cat.marcedit.stackSubfields.accesskey;" label="&staff.cat.marcedit.stackSubfields.label;" oncommand="stackSubfields(this);" checked="false" id="stackSubfields"/>
-        <checkbox persist="checked" accesskey="&staff.cat.marcedit.fastItemAdd.accesskey;" label="&staff.cat.marcedit.fastItemAdd.label;" oncommand="fastItemAdd_toggle(this);" checked="false" id="fastItemAdd_checkbox"/>
+		<checkbox oils_persist="checked" accesskey="&staff.cat.marcedit.stackSubfields.accesskey;" label="&staff.cat.marcedit.stackSubfields.label;" oncommand="stackSubfields(this);" checked="false" id="stackSubfields"/>
+        <checkbox oils_persist="checked" accesskey="&staff.cat.marcedit.fastItemAdd.accesskey;" label="&staff.cat.marcedit.fastItemAdd.label;" oncommand="fastItemAdd_toggle(this);" checked="false" id="fastItemAdd_checkbox"/>
         <hbox id="fastItemAdd_textboxes">
             <label control="fastItemAdd_callnumber" accesskey="&staff.cat.marcedit.fastItemAdd_callnumber.accesskey;" value="&staff.cat.marcedit.fastItemAdd_callnumber.label;" />
-            <textbox context="clipboard" id="fastItemAdd_callnumber" persist="value" onchange="this.setAttribute('value',this.value);"/>
+            <textbox context="clipboard" id="fastItemAdd_callnumber" oils_persist="value" onchange="this.setAttribute('value',this.value);"/>
             <label control="fastItemAdd_barcode" accesskey="&staff.cat.marcedit.fastItemAdd_barcode.accesskey;" value="&staff.cat.marcedit.fastItemAdd_barcode.label;" />
             <textbox context="clipboard" id="fastItemAdd_barcode"/>
         </hbox>
@@ -61,7 +61,7 @@
 				<label id="recordTypeLabel" context="recordTypeMenu"/>
 			</caption>
 			<vbox flex="0">
-				<grid flex="0" id="leaderGrid" type="BKS" hidden="false" persist="hidden">
+				<grid flex="0" id="leaderGrid" type="BKS" hidden="false" oils_persist="hidden">
 					<columns>
 						<column flex="1"/>
 						<column flex="1"/>

Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/cat/record_buckets_overlay.xul"?>
 
 <window id="record_buckets_win" title="&staff.cat.record_buckets.title;"
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }" height="300" width="300" persist="height,width"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" height="300" width="300" oils_persist="height width"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -17,7 +17,7 @@
 </box>
 
 <vbox id="cmvb1" flex="1">
-    <tabbox id="record_buckets_tabbox" flex="1" persist="selectedIndex">
+    <tabbox id="record_buckets_tabbox" flex="1" oils_persist="selectedIndex">
         <tabs>
             <tab id="record_query_tab" label="&staff.cat.record_buckets_overlay.record_query_tab.label;"
 									accesskey="&staff.cat.record_buckets_overlay.record_query_tab.accesskey;"/>

Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_quick.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_quick.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets_quick.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="record_buckets_win" title="&staff.cat.record_buckets_quick.add_to_bucket.title;"
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }" persist="height,width"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" oils_persist="height width"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="spine_labels_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">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -50,112 +50,112 @@
 
 			<hbox>
 				<label value="&staff.cat.spine_labels.font_size.label;" control="pt"/>
-				<textbox id="pt" value="10" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/>
+				<textbox id="pt" value="10" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/>
 			</hbox>
 			<grid><columns><column/><column/><column/><column/></columns><rows>
 				<row> <label class="header" value="&staff.cat.spine_labels.spine_label.label;"/><spacer/> </row>
-				<row> <label value="&staff.cat.spine_labels.spine_label.left_margin.label;" control="lm"/><textbox id="lm" value="0" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/> </row>
-				<row> <label value="&staff.cat.spine_labels.spine_label.label_width.label;" control="lw"/><textbox id="lw" value="8" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/> </row>
-				<row> <label value="&staff.cat.spine_labels.spine_label.label_length.label;" control="ll"/><textbox id="ll" value="9" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/> </row>
-				<row> <label class="header" value="&staff.cat.spine_labels.pocket_label.label;"/><checkbox id="pl" checked="false" persist="checked" label="Enabled"/> </row>
-				<row> <label value="&staff.cat.spine_labels.pocket_label.middle_margin.label;" control="mm"/><textbox id="mm" value="2" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/> </row>
-				<row> <label value="&staff.cat.spine_labels.pocket_label.label_width.label;" control="plw"/><textbox id="plw" value="28" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/> </row>
-				<row> <label value="&staff.cat.spine_labels.pocket_label.label_length.label;" control="pll"/><textbox id="pll" value="9" onchange="this.setAttribute('value',this.value)" persist="value" context="clipboard"/> </row>
+				<row> <label value="&staff.cat.spine_labels.spine_label.left_margin.label;" control="lm"/><textbox id="lm" value="0" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/> </row>
+				<row> <label value="&staff.cat.spine_labels.spine_label.label_width.label;" control="lw"/><textbox id="lw" value="8" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/> </row>
+				<row> <label value="&staff.cat.spine_labels.spine_label.label_length.label;" control="ll"/><textbox id="ll" value="9" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/> </row>
+				<row> <label class="header" value="&staff.cat.spine_labels.pocket_label.label;"/><checkbox id="pl" checked="false" oils_persist="checked" label="Enabled"/> </row>
+				<row> <label value="&staff.cat.spine_labels.pocket_label.middle_margin.label;" control="mm"/><textbox id="mm" value="2" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/> </row>
+				<row> <label value="&staff.cat.spine_labels.pocket_label.label_width.label;" control="plw"/><textbox id="plw" value="28" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/> </row>
+				<row> <label value="&staff.cat.spine_labels.pocket_label.label_length.label;" control="pll"/><textbox id="pll" value="9" onchange="this.setAttribute('value',this.value)" oils_persist="value" context="clipboard"/> </row>
 				<row>
-					<checkbox id="title" checked="true" persist="checked" label="&staff.cat.spine_labels.pocket_label.title.label;"/>
+					<checkbox id="title" checked="true" oils_persist="checked" label="&staff.cat.spine_labels.pocket_label.title.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="title_line" value="4" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="title_line" value="4" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
-					<checkbox id="title_r" checked="true" persist="checked" label="&staff.cat.spine_labels.pocket_label.include_title.label;"/>
+					<checkbox id="title_r" checked="true" oils_persist="checked" label="&staff.cat.spine_labels.pocket_label.include_title.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="title_r_line" value="5" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="title_r_line" value="5" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
-				<row> <spacer/><checkbox id="title_r_indent" checked="true" persist="checked" label="&staff.cat.spine_labels.indent_title.label;"/> </row>
+				<row> <spacer/><checkbox id="title_r_indent" checked="true" oils_persist="checked" label="&staff.cat.spine_labels.indent_title.label;"/> </row>
 				<row>
-					<checkbox id="author" checked="true" persist="checked" label="Include Author"/>
+					<checkbox id="author" checked="true" oils_persist="checked" label="Include Author"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="author_line" value="3" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="author_line" value="3" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
-					<checkbox id="call_number" checked="true" persist="checked" label="&staff.cat.spine_labels.inc_call_number.label;"/>
+					<checkbox id="call_number" checked="true" oils_persist="checked" label="&staff.cat.spine_labels.inc_call_number.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="call_number_line" value="2" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="call_number_line" value="2" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
-					<checkbox id="owning_lib_shortname" checked="false" persist="checked" label="&staff.cat.spine_labels.inc_owning_library_policy_code.label;"/>
+					<checkbox id="owning_lib_shortname" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.inc_owning_library_policy_code.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="owning_lib_shortname_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="owning_lib_shortname_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
-					<checkbox id="owning_lib" checked="false" persist="checked" label="&staff.cat.spine_labels.inc_owning_library.label;"/>
+					<checkbox id="owning_lib" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.inc_owning_library.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="owning_lib_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="owning_lib_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
-					<checkbox id="shelving_location" checked="false" persist="checked" label="&staff.cat.spine_labels.inc_shelving_location.label;"/>
+					<checkbox id="shelving_location" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.inc_shelving_location.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="shelving_location_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="shelving_location_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 				</hbox>
 				</row>
 				<row>
-					<checkbox id="barcode" checked="true" persist="checked" label="&staff.cat.spine_labels.inc_item_barcode.label;"/>
+					<checkbox id="barcode" checked="true" oils_persist="checked" label="&staff.cat.spine_labels.inc_item_barcode.label;"/>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="barcode_line" value="1" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="barcode_line" value="1" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
 					<hbox>
-						<checkbox id="custom1" checked="false" persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
-						<textbox id="custom1_tb" value="%price%" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<checkbox id="custom1" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
+						<textbox id="custom1_tb" value="%price%" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="custom1_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="custom1_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
 					<hbox>
-						<checkbox id="custom2" checked="false" persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
-						<textbox id="custom2_tb" value="%deposit_amount%" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<checkbox id="custom2" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
+						<textbox id="custom2_tb" value="%deposit_amount%" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 					<hbox>
 							<label value="&staff.cat.spine_labels.on_line.label;"/>
-							<textbox id="custom2_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+							<textbox id="custom2_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
 					<hbox>
-						<checkbox id="custom3" checked="false" persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
-						<textbox id="custom3_tb" value="%alert_message%" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<checkbox id="custom3" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
+						<textbox id="custom3_tb" value="%alert_message%" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="custom3_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="custom3_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 				<row>
 					<hbox>
-						<checkbox id="custom4" checked="false" persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
-						<textbox id="custom4_tb" value="Don't sell me on eBay" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<checkbox id="custom4" checked="false" oils_persist="checked" label="&staff.cat.spine_labels.custom.label;"/>
+						<textbox id="custom4_tb" value="Don't sell me on eBay" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 					<hbox>
 						<label value="&staff.cat.spine_labels.on_line.label;"/>
-						<textbox id="custom4_line" value="" persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
+						<textbox id="custom4_line" value="" oils_persist="value" onchange="this.setAttribute('value',this.value)" context="clipboard"/>
 					</hbox>
 				</row>
 			</rows></grid>

Modified: trunk/Open-ILS/xul/staff_client/server/cat/volume_editor.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/volume_editor.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_editor.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -19,8 +19,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_volume_editor_win" 
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
-	title="&staff.cat.volume_editor.title;" height="400" width="300" persist="height,width"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+	title="&staff.cat.volume_editor.title;" height="400" width="300" oils_persist="height width"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="cat_z3950_win2" 
-	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">
 
@@ -92,8 +92,8 @@
 
 	<groupbox flex="1">
 		<caption label="&staff.cat.z3950.marc_import.label;"/>
-            <hbox id="top_pane" persist="height" flex="1">
-                <groupbox id="x_splitter1" persist="width" flex="1">
+            <hbox id="top_pane" oils_persist="height" flex="1">
+                <groupbox id="x_splitter1" oils_persist="width" flex="1">
                     <caption label="&staff.cat.z3950.query.label;"/>
                     <vbox>
                         <spacer flex="1"/>
@@ -132,8 +132,8 @@
                         <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" persist="state hidden"><grippy id="splitter_grippy1"/></splitter>
-                <groupbox id="x_splitter2" persist="width" flex="1">
+                <splitter id="x_splitter" collapse="after" oils_persist="state hidden"><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">
                         <columns>
@@ -160,8 +160,8 @@
                     </hbox>
                 </groupbox>
             </hbox>
-            <splitter id="z_splitter" collapse="before" persist="state hidden"><grippy id="splitter_grippy2"/></splitter>
-            <groupbox id="z_splitter2" persist="height" flex="1">
+            <splitter id="z_splitter" collapse="before" oils_persist="state hidden"><grippy id="splitter_grippy2"/></splitter>
+            <groupbox id="z_splitter2" oils_persist="height" flex="1">
                 <caption label="&staff.cat.z3950.results_caption.label;"/>
                 <hbox>
                     <hbox id="result_message" />

Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkin.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkin.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkin.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/circ/checkin_overlay.xul"?>
 
 <window id="checkin_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: trunk/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -120,11 +120,11 @@
 		label="&staff.checkin.print_receipt.label;" 
 		command="cmd_checkin_print"
 		accesskey="&staff.checkin.print_receipt.accesskey;"/>
-	<checkbox id="trim_list" label="&staff.circ.checkin_overlay.trim_list.label;" checked="true" persist="checked"/> 
-	<checkbox id="strict_barcode" label="&staff.circ.checkin_overlay.strict_barcode.label;" checked="false" persist="checked"/> 
-	<checkbox id="do_not_alert_on_precat" label="&staff.circ.checkin_overlay.do_not_alert_on_precat.label;" persist="checked"/> 
+	<checkbox id="trim_list" label="&staff.circ.checkin_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
+	<checkbox id="strict_barcode" label="&staff.circ.checkin_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
+	<checkbox id="do_not_alert_on_precat" label="&staff.circ.checkin_overlay.do_not_alert_on_precat.label;" oils_persist="checked"/> 
 	<spacer id="pcii3s" flex="1"/>
-	<checkbox id="checkin_auto" label="&staff.circ.checkin_overlay.checkin_auto.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto.accesskey;" persist="checked"/> 
+	<checkbox id="checkin_auto" label="&staff.circ.checkin_overlay.checkin_auto.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto.accesskey;" oils_persist="checked"/> 
 </hbox>
 
 </overlay>

Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkout.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkout.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkout.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/circ/checkout_overlay.xul"?>
 
 <window id="checkout_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: trunk/Open-ILS/xul/staff_client/server/circ/checkout_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkout_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkout_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -63,9 +63,9 @@
 		accesskey="&staff.circ.checkout_overlay.export.accesskey;"/>
 	<button id="clip_button" disabled="true" command="sel_clip" label="&staff.circ.checkout_overlay.sel_clip.label;" />
 	<button id="save_col_btn" command="save_columns" label="&staff.circ.checkout_overlay.save_columns.label;" />
-	<checkbox id="strict_barcode" label="&staff.circ.checkout_overlay.strict_barcode.label;" checked="false" persist="checked"/> 
+	<checkbox id="strict_barcode" label="&staff.circ.checkout_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
 	<spacer id="pcii3s" flex="1"/>
-	<checkbox id="checkout_auto" persist="checked"
+	<checkbox id="checkout_auto" oils_persist="checked"
 		label="&staff.patron_display.checkout.auto_print.label;" 
 		accesskey_old="&staff.patron_display.checkout.auto_print.accesskey;"/> 
 	<button id="checkout_done" 

Modified: trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -20,8 +20,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="circ_copy_details_win" 
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
-	width="800" height="600" persist="width height"
+	onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+	width="800" height="600" oils_persist="width height"
 	xmlns:html="http://www.w3.org/1999/xhtml"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 

Modified: trunk/Open-ILS/xul/staff_client/server/circ/copy_status.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_status.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_status.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/circ/copy_status_overlay.xul"?>
 
 <window id="copy_status_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: trunk/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -169,8 +169,8 @@
     <hbox id="list_actions"/>
 
 	<button id="copy_status_print" label="&staff.circ.copy_status_overlay.copy_status_print.label;" command="cmd_copy_status_print" accesskey="&staff.circ.copy_status_overlay.copy_status_print.accesskey;"/>
-    <checkbox id="trim_list" label="&staff.circ.copy_status_overlay.trim_list.label;" checked="true" persist="checked" oncommand="try{this.setAttribute('checked',this.checked);}catch(E){alert(E);}" />
-	<checkbox id="strict_barcode" label="&staff.circ.copy_status_overlay.strict_barcode.label;" checked="false" persist="checked" oncommand="try{this.setAttribute('checked',this.checked);}catch(E){alert(E);}" /> 
+    <checkbox id="trim_list" label="&staff.circ.copy_status_overlay.trim_list.label;" checked="true" oils_persist="checked" oncommand="try{this.setAttribute('checked',this.checked);}catch(E){alert(E);}" />
+	<checkbox id="strict_barcode" label="&staff.circ.copy_status_overlay.strict_barcode.label;" checked="false" oils_persist="checked" oncommand="try{this.setAttribute('checked',this.checked);}catch(E){alert(E);}" /> 
 	<spacer flex="1"/>
 </hbox>
 

Modified: trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="in_house_use_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">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -121,8 +121,8 @@
 			label="&staff.circ.in_house_use.print.label;" 
 			command="cmd_in_house_use_print"
 			accesskey=""/>
-		<checkbox id="trim_list" label="&staff.circ.in_house_use.trim_list.label;" checked="true" persist="checked"/> 
-		<checkbox id="strict_barcode" label="&staff.circ.in_house_use.strict_barcode.label;" checked="false" persist="checked"/> 
+		<checkbox id="trim_list" label="&staff.circ.in_house_use.trim_list.label;" checked="true" oils_persist="checked"/> 
+		<checkbox id="strict_barcode" label="&staff.circ.in_house_use.strict_barcode.label;" checked="false" oils_persist="checked"/> 
 		<spacer id="pcii3s" flex="1"/>
 	</hbox>
 

Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,8 +21,8 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
 
-<window id="bill_history_win" width="700" height="550" persist="sizemode width height"
-	onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="bill_history_win" width="700" height="550" oils_persist="sizemode width height"
+	onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -348,20 +348,20 @@
 	<messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
 
 	<vbox flex="1" class="my_overflow">
-        <vbox id="v1" persist="height" flex="1">
+        <vbox id="v1" oils_persist="height" flex="1">
     		<label id="patron_name" class="patronNameLarge"/>
     		<groupbox orient="vertical" id="summary" hidden="true" flex="1"/>
         </vbox>
 
 	    <splitter><grippy/></splitter>
 
-        <vbox id="v2" persist="height" flex="1">
+        <vbox id="v2" oils_persist="height" flex="1">
        		<iframe id="copy_summary" hidden="true"/>
         </vbox>
 
 		<splitter><grippy/></splitter>
 
-        <vbox id="v3" persist="height" flex="3">
+        <vbox id="v3" oils_persist="height" flex="3">
             <groupbox orient="vertical" flex="1">
                 <caption id="caption" label="&staff.patron.bill_history.caption.label;"/>
                 <tree id="bill_tree" flex="1" enableColumnDrag="true" seltype="single"/>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/bills.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bills.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bills.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/patron/bills_overlay.xul"?>
 
 <window id="bills_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: trunk/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -109,8 +109,8 @@
 		<button id="bill_wizard" label="&staff.patron.bills_overlay.bill_patron.label;" accesskey="&staff.patron.bills_overlay.bill_patron.accesskey;" command="cmd_bill_wizard"/>
 		<button id="bill_history" label="&staff.patron.bills_overlay.history.label;" accesskey="&staff.patron.bills_overlay.history.accesskey;" command="cmd_bill_history"/>
 		<spacer flex="2"/>
-		<checkbox id="annotate_payment" label="&staff.patron.bills_overlay.annotate_payment.label;" persist="checked" checked="false" />
-		<checkbox id="auto_print" label="&staff.patron.bills_overlay.auto_print.label;" persist="checked" checked="true" />
+		<checkbox id="annotate_payment" label="&staff.patron.bills_overlay.annotate_payment.label;" oils_persist="checked" checked="false" />
+		<checkbox id="auto_print" label="&staff.patron.bills_overlay.auto_print.label;" oils_persist="checked" checked="true" />
 		<button class="hide_patron_credit" hidden="true" disabled="true" id="change_to_credit" label="&staff.patron.bills_overlay.convert_change_to_credit.label;" command="cmd_change_to_credit"/>
 		<button id="bill_apply_payment" label="&staff.patron.bills_overlay.apply_payment.label;" accesskey="&staff.patron.bills_overlay.apply_payment.accesskey;" command="cmd_bill_apply_payment"/>
 	</hbox>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/patron/display_overlay.xul"?>
 
 <window id="patron_display_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: trunk/Open-ILS/xul/staff_client/server/patron/display_horiz.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display_horiz.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display_horiz.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/patron/display_horiz_overlay.xul"?>
 
 <window id="patron_display_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: trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -32,12 +32,12 @@
 		<label class="hideme invalid_address_indicator" value="&staff.patron.display_overlay.invalid_address.value;"/>
 	</hbox>
 	<vbox id="PatronNotNavBar" flex="1" class="my_bg">
-        <hbox id="left_deck_vbox" flex="1" persist="height"> 
-            <deck id="patron_left_deck" persist="height"/>
+        <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" persist="state hidden"><grippy id="splitter_grippy"/></splitter>
-        <hbox id="right_deck_vbox" flex="8" persist="height">
-            <deck id="patron_right_deck" persist="height"/>
+        <splitter id="deck_splitter" collapse="before" oils_persist="state hidden"><grippy id="splitter_grippy"/></splitter>
+        <hbox id="right_deck_vbox" flex="8" oils_persist="height">
+            <deck id="patron_right_deck" oils_persist="height"/>
         </hbox>
 	</vbox>
 </vbox>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -32,12 +32,12 @@
 		<label class="hideme invalid_address_indicator" value="&staff.patron.display_overlay.invalid_address.value;"/>
 	</hbox>
 	<hbox id="PatronNotNavBar" flex="1" class="my_bg">
-        <vbox id="left_deck_vbox" flex="1" persist="width"> 
-            <deck id="patron_left_deck" persist="width"/>
+        <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" persist="state hidden"><grippy id="splitter_grippy"/></splitter>
-        <vbox id="right_deck_vbox" flex="3" persist="width">
-            <deck id="patron_right_deck" persist="width"/>
+        <splitter id="deck_splitter" collapse="before" oils_persist="state hidden"><grippy id="splitter_grippy"/></splitter>
+        <vbox id="right_deck_vbox" flex="3" oils_persist="width">
+            <deck id="patron_right_deck" oils_persist="width"/>
         </vbox>
 	</hbox>
 </vbox>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/hold_details.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/hold_details.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/hold_details.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -19,8 +19,8 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="hold_notices_win" persist="sizemode width height"
-	onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }" title="&staff.patron.hold_details.title;"
+<window id="hold_notices_win" oils_persist="sizemode width height"
+	onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" title="&staff.patron.hold_details.title;"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -34,12 +34,12 @@
     <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
     <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
 
-    <vbox id="v1" flex="1" persist="height">
+    <vbox id="v1" flex="1" oils_persist="height">
         <label id="patron_name" class="patronNameLarge"/>
         <vbox id="bib_brief_box" height="200"/>
     </vbox> 
     <spacer flex="1"/>
-    <vbox id="v2" flex="1" persist="height">
+    <vbox id="v2" flex="1" oils_persist="height">
         <vbox flex="1">
             <tree id="holds_list" enableColumnDrag="true" height="100"/>
         </vbox>
@@ -68,7 +68,7 @@
         </tabs>
         <tabpanels>
             <tabpanel id="notes" orient="vertical" overflow="scroll">
-                <vbox persist="height" class="my_overflow" id="notes_panel">
+                <vbox oils_persist="height" class="my_overflow" id="notes_panel">
                 </vbox>
                 
                 <textbox id="hold_note_title" multiline="false" value="circStrings-ADD NOTE TITLE HERE" onfocus="$('hold_note_title').value=''; $('hold_note_title').onfocus=''"/>
@@ -85,7 +85,7 @@
                 
             </tabpanel>
             <tabpanel id="notification" orient="vertical">
-                <vbox persist="height" class="my_overflow" id="notifications_panel">
+                <vbox oils_persist="height" class="my_overflow" id="notifications_panel">
                 </vbox>
                 <button label="&staff.patron.hold_notices.add_record_notification.label;" accesskey="&staff.patron.hold_notices.add_record_notification.accesskey;" oncommand="new_notification()"/>
                 <button label="&staff.patron.hold_notices.close_window.label;" accesskey="&staff.patron.hold_notices.close_window.accesskey;" oncommand="window.close()"/>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -19,8 +19,8 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="hold_notices_win" width="700" height="550" persist="sizemode width height"
-	onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }" title="&staff.patron.hold_notices.title;"
+<window id="hold_notices_win" width="700" height="550" oils_persist="sizemode width height"
+	onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" title="&staff.patron.hold_notices.title;"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -240,14 +240,14 @@
 		</groupbox>
 	</stack>
 
-    <vbox id="v1" flex="1" persist="height">
+    <vbox id="v1" flex="1" oils_persist="height">
         <label id="patron_name" class="patronNameLarge"/>
         <vbox id="bib_brief_box" flex="1"/>
     </vbox>
 
     <splitter><grippy/></splitter>
 
-    <vbox id="v2" flex="1" persist="height">
+    <vbox id="v2" flex="1" oils_persist="height">
         <vbox flex="1">
             <tree id="holds_list" flex="1" enableColumnDrag="true" style=""/>
         </vbox>
@@ -260,7 +260,7 @@
 
     <splitter><grippy/></splitter>
 
-	<vbox persist="height" flex="9" class="my_overflow" id="notifications_panel">
+	<vbox oils_persist="height" flex="9" class="my_overflow" id="notifications_panel">
 	</vbox>
 
 

Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/patron/holds_overlay.xul"?>
 
 <window id="holds_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: trunk/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -85,8 +85,8 @@
 
     <hbox id="holds_top_ui" flex="1">
         <button id="place_hold_btn" hidden="true" label="&staff.patron.holds_overlay.place_hold.label;" accesskey="&staff.patron.holds_overlay.place_hold.accesskey;" command="cmd_search_opac" />
-        <checkbox id="lib_filter_checkbox" persist="checked" checked="true" hidden="true" label="&staff.patron.holds_overlay.lib_filter_checkbox.label;"/>
-        <menulist id="lib_type_menu" hidden="true" persist="value">
+        <checkbox id="lib_filter_checkbox" oils_persist="checked" checked="true" hidden="true" label="&staff.patron.holds_overlay.lib_filter_checkbox.label;"/>
+        <menulist id="lib_type_menu" hidden="true" oils_persist="value">
             <menupopup>
                 <menuitem id="pickup_lib" value="pickup_lib" label="&staff.patron.holds_overlay.pickup_lib.label;"/>
                 <menuitem id="request_lib" value="request_lib" label="&staff.patron.holds_overlay.request_lib.label;"/>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -18,7 +18,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="penalty_win" onload="try { penalty_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="penalty_win" onload="try { penalty_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -85,7 +85,7 @@
         </vbox>
         <tree id="ausp_list" flex="1" enableColumnDrag="true" context="ausp_actions" />
 	</groupbox>
-    <splitter id="list_splitter" collapse="after" persist="state hidden"><grippy id="splitter_grippy"/></splitter>
+    <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">
 		<caption id="penalty_caption" label="&staff.patron_display.archived_penalty.caption;"/>
         <vbox flex="0">

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
 <window id="patron_summary_win" 
-	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }" onunload="try { observer.unregister(); } catch(E) { alert(E); }"
+	onload="try { my_init(); font_helper(); 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: trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul	2009-09-03 03:00:39 UTC (rev 13952)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul	2009-09-03 04:14:48 UTC (rev 13953)
@@ -27,7 +27,7 @@
                 <rows>
                     <row>
                         <label id="PatronSummaryContact_date_of_birth_label" click_to_hide_dob="true" class="text_left dob label click_link" value="&staff.patron_display.date_of_birth.label;"/>
-                        <label id="patron_date_of_birth" class="dob value" hide_value="true" persist="hide_value"/><!-- FIXME: persist doesn't work for this -->
+                        <label id="patron_date_of_birth" class="dob value" hide_value="true" oils_persist="hide_value"/><!-- FIXME: persist doesn't work for this -->
                     </row>
                     <row>
                         <label id="PatronSummaryContact_library_card_label" class="text_left card label"



More information about the open-ils-commits mailing list