Pman.Tab.AdminEnum.bjs
[Pman.Admin] / Pman.Tab.AdminEnum.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 Roo.namespace('Pman.Tab');
6
7 Pman.Tab.AdminEnum = new Roo.XComponent({
8
9  _strings : {
10   '2df80d5febcde0c10a66818488622b7c' :"Pulldown Options",
11   'd1228f5476d15142b1358ae4b5fa2454' :"Order #",
12   'fdff10eac021dfbb69e9c38204237fdc' :"Add new pulldown list",
13   '1206eb8aea05be4625371c9c12818785' :"Pulldown",
14   '801ab24683a4a8c433c6eb40c48bcd9d' :"Download",
15   '7af54708cf5a4286cf0cfa58ff5148a8' :"Internal #",
16   'be53a0541a6d36f6ecb879fa2c584b08' :"Image",
17   'b48968e1c912da07df5e8d6d246291ec' :"Display Name",
18   '510bc6e58593b2b8002c9fe0c21f3fde' :"Displaying core_enum{0} - {1} of {2}",
19   '1ba4d808fc7b27a7f60ce2ff75a8af3a' :"No core_enum found",
20   'c550aeed26e71a81a88360c1889245ab' :"Upload Values",
21   'd9ec74f5aa29ceef6bf7b45f7fec5d0f' :"Add Value",
22   'b9c49611cfda3259a2b837b39489e650' :"Add Image",
23   '4d3d769b812b6faa6b76e1a8abaece2d' :"Active",
24   'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
25   '49ee3087348e8d44e1feda1917443987' :"Name",
26   '7215ee9c7d9dc229d2921a40e899ec5f' :" "
27  },
28
29   part     :  ["Admin", "Enum" ],
30   order    : '500-Pman.Tab.AdminEnum',
31   region   : 'center',
32   parent   : 'Pman.Tab.Admin',
33   name     : "Pman.Tab.AdminEnum",
34   disabled : false, 
35   permname : '', 
36   _tree : function()
37   {
38    var _this = this;
39    var MODULE = this;
40    return {
41    layout : {
42     west : {
43      '|xns' : 'Roo',
44      split : true,
45      width : 200,
46      xns : Roo,
47      xtype : 'LayoutRegion'
48     },
49     center : {
50      '|xns' : 'Roo',
51      xns : Roo,
52      xtype : 'LayoutRegion'
53     },
54     '|xns' : 'Roo',
55     xns : Roo,
56     xtype : 'BorderLayout',
57     items : [
58      {
59       grid : {
60        dataSource : {
61         proxy : {
62          '|xns' : 'Roo.data',
63          method : 'GET',
64          url : baseURL + '/Roo/core_enum.php',
65          xns : Roo.data,
66          xtype : 'HttpProxy'
67         },
68         reader : {
69          '|xns' : 'Roo.data',
70          fields : [
71              {
72                  'name': 'id',
73                  'type': 'int'
74              },
75              {
76                  'name': 'etype',
77                  'type': 'string'
78              },
79              {
80                  'name': 'name',
81                  'type': 'string'
82              },
83              {
84                  'name': 'active',
85                  'type': 'int'
86              },
87              {
88                  'name': 'seqid',
89                  'type': 'int'
90              }
91          ],
92          id : 'id',
93          root : 'data',
94          totalProperty : 'total',
95          xns : Roo.data,
96          xtype : 'JsonReader'
97         },
98         '|xns' : 'Roo.data',
99         remoteSort : true,
100         sortInfo : { field : 'etype', direction: 'ASC' },
101         xns : Roo.data,
102         xtype : 'Store',
103         listeners : {
104          beforeload : function (_self, o)
105           {
106               o.params['query[empty_etype]'] = 1; 
107             
108           },
109          update : function (_self, record, operation)
110           {
111               if (operation != Roo.data.Record.COMMIT) {
112                   return;
113               }
114               // got commit..
115               new Pman.Request({
116                   url : baseURL + '/Roo/Core_enum.php',
117                   method : 'POST',
118                   params : {
119                       id : record.data.id,
120                       etype : _this.grid.ds.getById(record.id).data.etype,
121                       name : record.data.name,
122                       active : record.data.active,
123                       seqid : record.data.seqid,
124                       display_name : record.data.display_name
125                   }, 
126                   success : function(res) {
127                       //Roo.log(data);
128                       // update the ID if it's not set..
129                       if (record.data.id * 1 < 1) {
130                           record.set('id', res.data.id);
131                       }
132                   }
133               });
134               
135           }
136         },
137         items : [
138
139         ]
140
141        },
142        sm : {
143         '|xns' : 'Roo.grid',
144         xns : Roo.grid,
145         xtype : 'CellSelectionModel',
146         listeners : {
147          selectionchange : function (_self, selection)
148           {
149               _this.grid.footer.onClick('first');
150           }
151         }
152        },
153        footer : {
154         '|xns' : 'Roo',
155         displayInfo : false,
156         displayMsg : _this._strings['7215ee9c7d9dc229d2921a40e899ec5f'],
157         emptyMsg : _this._strings['1ba4d808fc7b27a7f60ce2ff75a8af3a'],
158         pageSize : 100,
159         xns : Roo,
160         xtype : 'PagingToolbar'
161        },
162        toolbar : {
163         '|xns' : 'Roo',
164         xns : Roo,
165         xtype : 'Toolbar',
166         items : [
167          {
168           '|xns' : 'Roo.Toolbar',
169           cls : 'x-btn-text-icon',
170           icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
171           text : _this._strings['fdff10eac021dfbb69e9c38204237fdc'],
172           xns : Roo.Toolbar,
173           xtype : 'Button',
174           listeners : {
175            click : function()
176             {
177                 
178                 var data = {
179                     active:1,
180                     display_name:'',
181                     etype:'',
182                     name:''
183                 };
184                 Pman.Dialog.AdminEnumType.show(data,function(){
185                     
186                     _this.egrid.footer.onClick('first');
187                 });
188                      
189                      
190             
191             }
192           }
193          }
194         ]
195
196        },
197        '|xns' : 'Roo.grid',
198        autoExpandColumn : 'display_name',
199        clicksToEdit : 1,
200        loadMask : true,
201        xns : Roo.grid,
202        xtype : 'EditorGrid',
203        colModel : [
204          {
205           '|xns' : 'Roo.grid',
206           dataIndex : 'display_name',
207           header : _this._strings['1206eb8aea05be4625371c9c12818785'],
208           renderer : function(v,x,r) { 
209           
210           
211               return String.format('<span qtip="{1}">{0}</span>', (''+v).length ? v : r.data.name, r.data.name); 
212           },
213           width : 200,
214           xns : Roo.grid,
215           xtype : 'ColumnModel'
216          },
217 {
218           '|xns' : 'Roo.grid',
219           dataIndex : 'active',
220           header : _this._strings['4d3d769b812b6faa6b76e1a8abaece2d'],
221           renderer : function(v) {  
222               var state = v> 0 ?  '-checked' : '';
223           
224               return '<img class="x-grid-check-icon' + state + '" src="' + Roo.BLANK_IMAGE_URL + '"/>';
225                           
226            },
227           width : 50,
228           xns : Roo.grid,
229           xtype : 'ColumnModel'
230          }
231        ],
232        listeners : {
233         afteredit : function (e)
234          {
235             e.record.commit();     
236          },
237         beforeedit : function (e)
238          {
239              if(e.field == 'name' && e.record.data.is_system_enum*1 == 1){
240                  return false;
241              }
242          },
243         cellclick : function (_self, rowIndex, columnIndex, e)
244          {
245          
246                  var di = this.colModel.getDataIndex(columnIndex);
247                  if (di != 'active') {
248                      return;
249                  }
250                   
251                  var rec = _this.grid.ds.getAt(rowIndex);
252                  
253                  rec.set('active', rec.data.active ? 0 : 1);
254                  rec.commit();
255                   
256                  
257          },
258         celldblclick : function (_self, rowIndex, columnIndex, e)
259          {
260              var rec = _this.egrid.ds.getAt(rowIndex);
261              Pman.Dialog.AdminEnumType.show(rec.data,function(){
262                  
263                  _this.egrid.footer.onClick('first');
264              });
265          },
266         render : function() 
267          {
268              _this.egrid = this; 
269              //_this.dialog = Pman.Dialog.FILL_IN
270              if (_this.epanel.active) {
271                 this.footer.onClick('first');
272              }
273          }
274        },
275        items : [
276
277        ]
278
279       },
280       '|xns' : 'Roo',
281       background : false,
282       region : 'west',
283       tableName : 'core_enum',
284       title : _this._strings['2df80d5febcde0c10a66818488622b7c'],
285       xns : Roo,
286       xtype : 'GridPanel',
287       listeners : {
288        activate : function() {
289             _this.epanel = this;
290             //if (_this.egrid) {
291             //    _this.egrid.footer.onClick('first');
292             //}
293         }
294       },
295       items : [
296
297       ]
298
299      },
300      {
301       grid : {
302        dataSource : {
303         proxy : {
304          '|xns' : 'Roo.data',
305          method : 'GET',
306          url : baseURL + '/Roo/core_enum.php',
307          xns : Roo.data,
308          xtype : 'HttpProxy'
309         },
310         reader : {
311          '|xns' : 'Roo.data',
312          fields : [
313              {
314                  'name': 'id',
315                  'type': 'int'
316              },
317              {
318                  'name': 'etype',
319                  'type': 'string'
320              },
321              {
322                  'name': 'name',
323                  'type': 'string'
324              },
325              {
326                  'name': 'active',
327                  'type': 'int'
328              },
329              {
330                  'name': 'seqid',
331                  'type': 'int'
332              }
333          ],
334          id : 'id',
335          root : 'data',
336          totalProperty : 'total',
337          xns : Roo.data,
338          xtype : 'JsonReader'
339         },
340         '|xns' : 'Roo.data',
341         remoteSort : true,
342         sortInfo : { field : 'etype', direction: 'ASC' },
343         xns : Roo.data,
344         xtype : 'Store',
345         listeners : {
346          beforeload : function (_self, options)
347           {
348           
349               var s =     _this.egrid.getSelectionModel().getSelectedCell();
350               
351           
352               if (!s) {
353                   return false;
354               }
355               var d = _this.egrid.dataSource.getAt(s[0]);
356               
357               options.params.etype = d.data.name;
358               options.params['query[search]'] = _this.searchBox.getValue();
359               if (!options.params.etype.length) {
360                   return false;
361               }
362           },
363          update : function (_self, record, operation)
364           {
365               if (operation != Roo.data.Record.COMMIT) {
366                   return;
367               }
368               // got commit..
369               new Pman.Request({
370                   url : baseURL + '/Roo/Core_enum.php',
371                   method : 'POST',
372                   params : {
373                       id : record.data.id,
374                       etype : _this.grid.ds.getById(record.id).data.etype,
375                       name : record.data.name,
376                       active : record.data.active,
377                       seqid : record.data.seqid,
378                       display_name : record.data.display_name
379                   }, 
380                   success : function(res) {
381                       //Roo.log(data);
382                       // update the ID if it's not set..
383                       if (record.data.id * 1 < 1) {
384                           record.set('id', res.data.id);
385                       }
386                   }
387               });
388               
389           }
390         },
391         items : [
392
393         ]
394
395        },
396        footer : {
397         '|xns' : 'Roo',
398         displayInfo : true,
399         displayMsg : _this._strings['510bc6e58593b2b8002c9fe0c21f3fde'],
400         emptyMsg : _this._strings['1ba4d808fc7b27a7f60ce2ff75a8af3a'],
401         pageSize : 25,
402         xns : Roo,
403         xtype : 'PagingToolbar',
404         items : [
405          {
406           '|xns' : 'Roo.Toolbar',
407           text : _this._strings['801ab24683a4a8c433c6eb40c48bcd9d'],
408           xns : Roo.Toolbar,
409           xtype : 'Button',
410           listeners : {
411            click : function (_self, e)
412             {
413                 new Pman.Download({
414                     grid : _this.grid
415                 });
416                 Roo.MessageBox.alert("Downloading", "File is downloading");
417             }
418           }
419          },
420          {
421           '|xns' : 'Roo.Toolbar',
422           text : _this._strings['c550aeed26e71a81a88360c1889245ab'],
423           xns : Roo.Toolbar,
424           xtype : 'Button',
425           listeners : {
426            click : function (_self, e)
427             {
428             
429               var s =     _this.egrid.getSelectionModel().getSelectedCell();
430                 
431             
432                 if (!s) {
433                     Roo.MessageBox.alert("Error", "Select a pulldown");
434                 }
435                 
436                 var d = _this.egrid.dataSource.getAt(s[0]);
437              
438             
439                 var etype = d.data.name;
440                 
441                 if(!etype.length){
442                     Roo.MessageBox.alert('Error', 'Please select a pulldown');
443                     return;
444                 }
445                 
446                 Pman.Dialog.Image.show(
447                    {
448                         _url : baseURL+'/Admin/Import/Enum?' + Roo.urlEncode({'etype' : etype})
449                     
450                    },
451                    function () {
452                         _this.grid.footer.onClick('first');
453                    }
454                );
455             }
456           }
457          }
458         ]
459
460        },
461        toolbar : {
462         '|xns' : 'Roo',
463         xns : Roo,
464         xtype : 'Toolbar',
465         items : [
466          {
467           '|xns' : 'Roo.Toolbar',
468           cls : 'x-btn-text-icon',
469           icon : baseURL + '/Pman/templates/images/search.gif',
470           text : _this._strings['d9ec74f5aa29ceef6bf7b45f7fec5d0f'],
471           xns : Roo.Toolbar,
472           xtype : 'Button',
473           listeners : {
474            click : function()
475             {
476                 
477                 // if we do not have a selected type... - what should we show..?
478                 
479                 
480                 var s =     _this.egrid.getSelectionModel().getSelectedCell();
481                 
482             
483                 if (!s) {
484                     Roo.MessageBox.alert("Error", "Select a pulldown");
485                 }
486                 
487                 var d = _this.egrid.dataSource.getAt(s[0]);
488              
489             
490                 var ds = _this.grid.getDataSource();
491             
492                 var add = ds.reader.newRow({    
493                          id: 0, 
494                          display_name : '', 
495                          name : '', 
496                          etype: d.data.name, 
497                          active: 1, 
498                          seqid: 0
499                   });
500                  var r = ds.data.length;
501                 ds.insert(r  , add);  
502                 
503                 _this.grid.startEditing(r, 2); // name... 
504             }
505           }
506          },
507          {
508           '|xns' : 'Roo.Toolbar',
509           cls : 'x-btn-text-icon',
510           icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
511           text : _this._strings['b9c49611cfda3259a2b837b39489e650'],
512           xns : Roo.Toolbar,
513           xtype : 'Button',
514           listeners : {
515            click : function()
516             {
517                 
518                 // if we do not have a selected type... - what should we show..?
519                 var et = _this.etypeCombo.getValue();
520                 
521                 if (!et) {
522                     Roo.MessageBox.alert("Error", "Select a pulldown");
523                     return;
524                 }
525                 var sc = _this.grid.getSelectionModel().getSelectedCell();
526                 Roo.log(sc);
527                 var ds = _this.grid.ds.getAt(sc[0]);
528                 if (!ds) {
529                     Roo.MessageBox.alert("Error", "Select enum");
530                     return;
531                 }
532                 
533                 Roo.log(ds);
534                 Pman.Dialog.AdminEnumImages.show({onid:ds.data.id}, function(){
535                     _this.grid.footer.onClick('first');
536                 });
537                 
538             }
539           }
540          },
541          {
542           '|xns' : 'Roo.form',
543           fieldLabel : 'Search',
544           name : 'search',
545           xns : Roo.form,
546           xtype : 'TextField',
547           listeners : {
548            render : function (_self)
549             {
550                 _this.searchBox = this;
551             }
552           }
553          },
554          {
555           '|xns' : 'Roo.Toolbar',
556           cls : 'x-btn-icon',
557           icon : rootURL + '/Pman/templates/images/search.gif',
558           xns : Roo.Toolbar,
559           xtype : 'Button',
560           listeners : {
561            click : function (_self, e)
562             {
563                 _this.grid.footer.onClick('first');
564             }
565           }
566          },
567          {
568           '|xns' : 'Roo.Toolbar',
569           cls : 'x-btn-icon',
570           icon : rootURL + '/Pman/templates/images/edit-clear.gif',
571           xns : Roo.Toolbar,
572           xtype : 'Button',
573           listeners : {
574            click : function (_self, e)
575             {
576                  _this.searchBox.setValue('');
577                  _this.grid.footer.onClick('first');
578             }
579           }
580          },
581          {
582           '|xns' : 'Roo.Toolbar',
583           xns : Roo.Toolbar,
584           xtype : 'Fill'
585          },
586          {
587           '|xns' : 'Roo.Toolbar',
588           cls : 'x-btn-text-icon',
589           icon : rootURL + '/Pman/templates/images/trash.gif',
590           text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'],
591           xns : Roo.Toolbar,
592           xtype : 'Button',
593           listeners : {
594            click : function()
595             {
596                 var ids = [];
597                 _this.grid.dataSource.each(function(rr) {
598                     if (rr.selected) {
599                         ids.push(rr.data.id);
600                     }
601                 });   
602                 if (!ids.length) {
603                     Roo.MessageBox.alert("Error", "Select rows by clicking on the Internal# column");
604                     return;
605                 }
606                 
607                 Roo.MessageBox.confirm(
608                     "Confirm", 
609                     "Confirm Deletion of selected rows (some rows can not be deleted if they are referenced elsewhere", 
610                     function(res) {
611                         if(res != 'yes') {
612                             return;
613                         }
614                         new Pman.Request({
615                             method : 'POST',
616                             url : baseURL + '/Roo/Core_enum',
617                             params : {
618                                 _delete  : ids.join(',')
619                             },
620                             success : function() {
621                                 _this.grid.footer.onClick('refresh');
622                             }
623                         });
624                     }
625                 );
626                 
627                 
628             }
629           }
630          }
631         ]
632
633        },
634        '|xns' : 'Roo.grid',
635        autoExpandColumn : 'display_name',
636        clicksToEdit : 1,
637        loadMask : true,
638        xns : Roo.grid,
639        xtype : 'EditorGrid',
640        colModel : [
641          {
642           '|xns' : 'Roo.grid',
643           dataIndex : 'id',
644           header : _this._strings['7af54708cf5a4286cf0cfa58ff5148a8'],
645           renderer : function(v,x,r) { 
646               var fmt = '{0}';
647               if (r.selected) {
648                   fmt = '<span style="color:orange;font-weight:bold;">{0}</span>';
649               }
650               return String.format(fmt, v); },
651           sortable : true,
652           width : 75,
653           xns : Roo.grid,
654           xtype : 'ColumnModel'
655          },
656 {
657           '|xns' : 'Roo.grid',
658           dataIndex : 'images_id_id',
659           header : _this._strings['be53a0541a6d36f6ecb879fa2c584b08'],
660           renderer : function(v,x,r) { return String.format('<img src="{0}/Images/Thumb/25/{1}/{2}" width="25" height="25">', baseURL, v, r.data.images_id_filename); },
661           width : 75,
662           xns : Roo.grid,
663           xtype : 'ColumnModel'
664          },
665 {
666           editor : {
667            field : {
668             '|xns' : 'Roo.form',
669             xns : Roo.form,
670             xtype : 'TextField'
671            },
672            '|xns' : 'Roo.grid',
673            xns : Roo.grid,
674            xtype : 'GridEditor',
675            items : [
676
677            ]
678
679           },
680           '|xns' : 'Roo.grid',
681           dataIndex : 'name',
682           header : _this._strings['49ee3087348e8d44e1feda1917443987'],
683           renderer : function(v) { return String.format('{0}', v); },
684           sortable : true,
685           width : 200,
686           xns : Roo.grid,
687           xtype : 'ColumnModel',
688           items : [
689
690           ]
691
692          },
693 {
694           editor : {
695            field : {
696             '|xns' : 'Roo.form',
697             xns : Roo.form,
698             xtype : 'TextField'
699            },
700            '|xns' : 'Roo.grid',
701            xns : Roo.grid,
702            xtype : 'GridEditor',
703            items : [
704
705            ]
706
707           },
708           '|xns' : 'Roo.grid',
709           dataIndex : 'display_name',
710           header : _this._strings['b48968e1c912da07df5e8d6d246291ec'],
711           renderer : function(v) { return String.format('{0}', v); },
712           sortable : true,
713           width : 200,
714           xns : Roo.grid,
715           xtype : 'ColumnModel',
716           items : [
717
718           ]
719
720          },
721 {
722           '|xns' : 'Roo.grid',
723           dataIndex : 'active',
724           header : _this._strings['4d3d769b812b6faa6b76e1a8abaece2d'],
725           renderer : function(v) {  
726               var state = v> 0 ?  '-checked' : '';
727           
728               return '<img class="x-grid-check-icon' + state + '" src="' + Roo.BLANK_IMAGE_URL + '"/>';
729                           
730            },
731           sortable : true,
732           width : 75,
733           xns : Roo.grid,
734           xtype : 'ColumnModel'
735          },
736 {
737           editor : {
738            field : {
739             '|xns' : 'Roo.form',
740             allowDecimals : false,
741             allowNegative : true,
742             decimalPrecision : 0,
743             xns : Roo.form,
744             xtype : 'NumberField'
745            },
746            '|xns' : 'Roo.grid',
747            xns : Roo.grid,
748            xtype : 'GridEditor',
749            items : [
750
751            ]
752
753           },
754           '|xns' : 'Roo.grid',
755           dataIndex : 'seqid',
756           header : _this._strings['d1228f5476d15142b1358ae4b5fa2454'],
757           renderer : function(v) { return String.format('{0}', v); },
758           sortable : true,
759           sortable : true,
760           width : 75,
761           xns : Roo.grid,
762           xtype : 'ColumnModel',
763           items : [
764
765           ]
766
767          }
768        ],
769        listeners : {
770         afteredit : function (e)
771          {
772             e.record.commit();     
773          },
774         beforeedit : function (e)
775          {
776              if(e.field == 'name' && e.record.data.is_system_enum*1 == 1){
777                  return false;
778              }
779          },
780         cellclick : function (_self, rowIndex, columnIndex, e)
781          {
782          
783                  var di = this.colModel.getDataIndex(columnIndex);
784                  var rec = _this.grid.ds.getAt(rowIndex);
785                      
786                  if (di == 'active') {
787                      
788                      rec.set('active', rec.data.active ? 0 : 1);
789                      rec.commit();
790                      return;
791                  }
792                  if (di == 'id' ) {
793                      
794                      if (!e.ctrlKey && !e.shiftKey) { // shift or control not pressed -clear selection.
795                      
796                          this.dataSource.each(function(rr) {
797                              rr.selected = 0;
798                              rr.set('sel', 0);
799                          });
800                      }
801                      
802                      if (this.last_selected && e.shiftKey) {
803                          // the highlight all the lines between the one last selected, and this one.
804                          var s = this.dataSource.indexOf(this.last_selected);
805                          var e = this.dataSource.indexOf(rec);
806                          var ss = Math.min(s,e);
807                          var ee = Math.max(s,e) +1;
808                          for(var i = ss; i < ee; i++) {
809                              var rr = this.dataSource.getAt(i);
810                              rr.selected = 1;
811                              rr.set('sel', 1);
812                          }
813                          this.last_selected = rec;
814                          return;
815          
816                      }
817                      
818                      rec.selected = rec.selected ? 0 : 1;
819                      this.last_selected = rec.selected ? rec : false;
820                      rec.set('sel', rec.data.sel ? 0 : 1);
821                  }
822                   
823          
824                   
825                  
826          },
827         keypress : function (e)
828          {
829              if(e.keyCode == 13){
830                  _this.grid.footer.onClick('first');
831              }
832          },
833         render : function() 
834          {
835              _this.grid = this; 
836              //_this.dialog = Pman.Dialog.FILL_IN
837              if (_this.panel.active) {
838                 this.footer.onClick('first');
839              }
840          }
841        },
842        items : [
843
844        ]
845
846       },
847       '|xns' : 'Roo',
848       background : false,
849       fitToframe : true,
850       region : 'center',
851       tableName : 'core_enum',
852       title : _this._strings['2df80d5febcde0c10a66818488622b7c'],
853       xns : Roo,
854       xtype : 'GridPanel',
855       listeners : {
856        activate : function() {
857             _this.panel = this;
858             if (_this.grid) {
859                 _this.grid.footer.onClick('first');
860             }
861         }
862       },
863       items : [
864
865       ]
866
867      }
868     ]
869
870    },
871    '|xns' : 'Roo',
872    region : 'center',
873    title : _this._strings['2df80d5febcde0c10a66818488622b7c'],
874    xns : Roo,
875    xtype : 'NestedLayoutPanel',
876    items : [
877
878    ]
879
880   };  }
881 });