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                 _this.grid.startEditing(r, 1); // name... 
503             }
504           }
505          },
506          {
507           '|xns' : 'Roo.Toolbar',
508           cls : 'x-btn-text-icon',
509           icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
510           text : _this._strings['b9c49611cfda3259a2b837b39489e650'],
511           xns : Roo.Toolbar,
512           xtype : 'Button',
513           listeners : {
514            click : function()
515             {
516                 
517                 // if we do not have a selected type... - what should we show..?
518                 var et = _this.etypeCombo.getValue();
519                 
520                 if (!et) {
521                     Roo.MessageBox.alert("Error", "Select a pulldown");
522                     return;
523                 }
524                 var sc = _this.grid.getSelectionModel().getSelectedCell();
525                 Roo.log(sc);
526                 var ds = _this.grid.ds.getAt(sc[0]);
527                 if (!ds) {
528                     Roo.MessageBox.alert("Error", "Select enum");
529                     return;
530                 }
531                 
532                 Roo.log(ds);
533                 Pman.Dialog.AdminEnumImages.show({onid:ds.data.id}, function(){
534                     _this.grid.footer.onClick('first');
535                 });
536                 
537             }
538           }
539          },
540          {
541           '|xns' : 'Roo.form',
542           fieldLabel : 'Search',
543           name : 'search',
544           xns : Roo.form,
545           xtype : 'TextField',
546           listeners : {
547            render : function (_self)
548             {
549                 _this.searchBox = this;
550             }
551           }
552          },
553          {
554           '|xns' : 'Roo.Toolbar',
555           cls : 'x-btn-icon',
556           icon : rootURL + '/Pman/templates/images/search.gif',
557           xns : Roo.Toolbar,
558           xtype : 'Button',
559           listeners : {
560            click : function (_self, e)
561             {
562                 _this.grid.footer.onClick('first');
563             }
564           }
565          },
566          {
567           '|xns' : 'Roo.Toolbar',
568           cls : 'x-btn-icon',
569           icon : rootURL + '/Pman/templates/images/edit-clear.gif',
570           xns : Roo.Toolbar,
571           xtype : 'Button',
572           listeners : {
573            click : function (_self, e)
574             {
575                  _this.searchBox.setValue('');
576                  _this.grid.footer.onClick('first');
577             }
578           }
579          },
580          {
581           '|xns' : 'Roo.Toolbar',
582           xns : Roo.Toolbar,
583           xtype : 'Fill'
584          },
585          {
586           '|xns' : 'Roo.Toolbar',
587           cls : 'x-btn-text-icon',
588           icon : rootURL + '/Pman/templates/images/trash.gif',
589           text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'],
590           xns : Roo.Toolbar,
591           xtype : 'Button',
592           listeners : {
593            click : function()
594             {
595                 var ids = [];
596                 _this.grid.dataSource.each(function(rr) {
597                     if (rr.selected) {
598                         ids.push(rr.data.id);
599                     }
600                 });   
601                 if (!ids.length) {
602                     Roo.MessageBox.alert("Error", "Select rows by clicking on the Internal# column");
603                     return;
604                 }
605                 
606                 Roo.MessageBox.confirm(
607                     "Confirm", 
608                     "Confirm Deletion of selected rows (some rows can not be deleted if they are referenced elsewhere", 
609                     function(res) {
610                         if(res != 'yes') {
611                             return;
612                         }
613                         new Pman.Request({
614                             method : 'POST',
615                             url : baseURL + '/Roo/Core_enum',
616                             params : {
617                                 _delete  : ids.join(',')
618                             },
619                             success : function() {
620                                 _this.grid.footer.onClick('refresh');
621                             }
622                         });
623                     }
624                 );
625                 
626                 
627             }
628           }
629          }
630         ]
631
632        },
633        '|xns' : 'Roo.grid',
634        autoExpandColumn : 'display_name',
635        clicksToEdit : 1,
636        loadMask : true,
637        xns : Roo.grid,
638        xtype : 'EditorGrid',
639        colModel : [
640          {
641           '|xns' : 'Roo.grid',
642           dataIndex : 'id',
643           header : _this._strings['7af54708cf5a4286cf0cfa58ff5148a8'],
644           renderer : function(v,x,r) { 
645               var fmt = '{0}';
646               if (r.selected) {
647                   fmt = '<span style="color:orange;font-weight:bold;">{0}</span>';
648               }
649               return String.format(fmt, v); },
650           sortable : true,
651           width : 75,
652           xns : Roo.grid,
653           xtype : 'ColumnModel'
654          },
655 {
656           '|xns' : 'Roo.grid',
657           dataIndex : 'images_id_id',
658           header : _this._strings['be53a0541a6d36f6ecb879fa2c584b08'],
659           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); },
660           width : 75,
661           xns : Roo.grid,
662           xtype : 'ColumnModel'
663          },
664 {
665           editor : {
666            field : {
667             '|xns' : 'Roo.form',
668             xns : Roo.form,
669             xtype : 'TextField'
670            },
671            '|xns' : 'Roo.grid',
672            xns : Roo.grid,
673            xtype : 'GridEditor',
674            items : [
675
676            ]
677
678           },
679           '|xns' : 'Roo.grid',
680           dataIndex : 'name',
681           header : _this._strings['49ee3087348e8d44e1feda1917443987'],
682           renderer : function(v) { return String.format('{0}', v); },
683           sortable : true,
684           width : 200,
685           xns : Roo.grid,
686           xtype : 'ColumnModel',
687           items : [
688
689           ]
690
691          },
692 {
693           editor : {
694            field : {
695             '|xns' : 'Roo.form',
696             xns : Roo.form,
697             xtype : 'TextField'
698            },
699            '|xns' : 'Roo.grid',
700            xns : Roo.grid,
701            xtype : 'GridEditor',
702            items : [
703
704            ]
705
706           },
707           '|xns' : 'Roo.grid',
708           dataIndex : 'display_name',
709           header : _this._strings['b48968e1c912da07df5e8d6d246291ec'],
710           renderer : function(v) { return String.format('{0}', v); },
711           sortable : true,
712           width : 200,
713           xns : Roo.grid,
714           xtype : 'ColumnModel',
715           items : [
716
717           ]
718
719          },
720 {
721           '|xns' : 'Roo.grid',
722           dataIndex : 'active',
723           header : _this._strings['4d3d769b812b6faa6b76e1a8abaece2d'],
724           renderer : function(v) {  
725               var state = v> 0 ?  '-checked' : '';
726           
727               return '<img class="x-grid-check-icon' + state + '" src="' + Roo.BLANK_IMAGE_URL + '"/>';
728                           
729            },
730           sortable : true,
731           width : 75,
732           xns : Roo.grid,
733           xtype : 'ColumnModel'
734          },
735 {
736           editor : {
737            field : {
738             '|xns' : 'Roo.form',
739             allowDecimals : false,
740             allowNegative : true,
741             decimalPrecision : 0,
742             xns : Roo.form,
743             xtype : 'NumberField'
744            },
745            '|xns' : 'Roo.grid',
746            xns : Roo.grid,
747            xtype : 'GridEditor',
748            items : [
749
750            ]
751
752           },
753           '|xns' : 'Roo.grid',
754           dataIndex : 'seqid',
755           header : _this._strings['d1228f5476d15142b1358ae4b5fa2454'],
756           renderer : function(v) { return String.format('{0}', v); },
757           sortable : true,
758           sortable : true,
759           width : 75,
760           xns : Roo.grid,
761           xtype : 'ColumnModel',
762           items : [
763
764           ]
765
766          }
767        ],
768        listeners : {
769         afteredit : function (e)
770          {
771             e.record.commit();     
772          },
773         beforeedit : function (e)
774          {
775              if(e.field == 'name' && e.record.data.is_system_enum*1 == 1){
776                  return false;
777              }
778          },
779         cellclick : function (_self, rowIndex, columnIndex, e)
780          {
781          
782                  var di = this.colModel.getDataIndex(columnIndex);
783                  var rec = _this.grid.ds.getAt(rowIndex);
784                      
785                  if (di == 'active') {
786                      
787                      rec.set('active', rec.data.active ? 0 : 1);
788                      rec.commit();
789                      return;
790                  }
791                  if (di == 'id' ) {
792                      
793                      if (!e.ctrlKey && !e.shiftKey) { // shift or control not pressed -clear selection.
794                      
795                          this.dataSource.each(function(rr) {
796                              rr.selected = 0;
797                              rr.set('sel', 0);
798                          });
799                      }
800                      
801                      if (this.last_selected && e.shiftKey) {
802                          // the highlight all the lines between the one last selected, and this one.
803                          var s = this.dataSource.indexOf(this.last_selected);
804                          var e = this.dataSource.indexOf(rec);
805                          var ss = Math.min(s,e);
806                          var ee = Math.max(s,e) +1;
807                          for(var i = ss; i < ee; i++) {
808                              var rr = this.dataSource.getAt(i);
809                              rr.selected = 1;
810                              rr.set('sel', 1);
811                          }
812                          this.last_selected = rec;
813                          return;
814          
815                      }
816                      
817                      rec.selected = rec.selected ? 0 : 1;
818                      this.last_selected = rec.selected ? rec : false;
819                      rec.set('sel', rec.data.sel ? 0 : 1);
820                  }
821                   
822          
823                   
824                  
825          },
826         keypress : function (e)
827          {
828              if(e.keyCode == 13){
829                  _this.grid.footer.onClick('first');
830              }
831          },
832         render : function() 
833          {
834              _this.grid = this; 
835              //_this.dialog = Pman.Dialog.FILL_IN
836              if (_this.panel.active) {
837                 this.footer.onClick('first');
838              }
839          }
840        },
841        items : [
842
843        ]
844
845       },
846       '|xns' : 'Roo',
847       background : false,
848       fitToframe : true,
849       region : 'center',
850       tableName : 'core_enum',
851       title : _this._strings['2df80d5febcde0c10a66818488622b7c'],
852       xns : Roo,
853       xtype : 'GridPanel',
854       listeners : {
855        activate : function() {
856             _this.panel = this;
857             if (_this.grid) {
858                 _this.grid.footer.onClick('first');
859             }
860         }
861       },
862       items : [
863
864       ]
865
866      }
867     ]
868
869    },
870    '|xns' : 'Roo',
871    region : 'center',
872    title : _this._strings['2df80d5febcde0c10a66818488622b7c'],
873    xns : Roo,
874    xtype : 'NestedLayoutPanel',
875    items : [
876
877    ]
878
879   };  }
880 });