brief display data. misc.
[Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / cat / brief.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Cataloger's Search Result Screen -->
4
5 <!-- Stylesheets -->
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
7 <?xml-stylesheet href="chrome://evergreen/skin/evergreen.css" type="text/css"?>
8 <?xml-stylesheet href="chrome://evergreen/skin/cat.css" type="text/css"?>
9
10 <!-- Localization -->
11 <!DOCTYPE window SYSTEM "chrome://evergreen/locale/cat.dtd">
12
13 <window id="brief_win" title="Record Details" 
14         orient="vertical" style="overflow: scroll" width="800" height="500"
15         onload="my_init();"
16         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
17
18         <!-- Overlays for this XUL file -->
19         <?xul-overlay href="chrome://evergreen/content/util/util_overlay.xul"?>
20
21         <script>
22         <![CDATA[
23                 var myPackageDir = "evergreen";
24
25                 function my_init() {
26                         user_request(
27                                 'open-ils.cat',
28                                 'open-ils.cat.biblio.record.metadata.retrieve',
29                                 [ find_this_id ],
30                                 function (req) {
31                                         var meta = req.getResultObject()[0];
32                                         dump('META = ' + js2JSON(meta) + '\n');
33                                 }
34                         );
35                 }
36
37         ]]>
38         </script>
39
40         <groupbox flex="1">
41                 <caption label="Record Details"/>
42
43         </groupbox>
44
45 </window>
46