ViewPort.js 816 B

123456789101112131415161718192021222324
  1. Ext.define('erp.view.opensys.commonpage.ViewPort',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items:[{
  9. xtype:'erpFormPanel2',
  10. autoScroll: true,
  11. anchor:'100% 100%',
  12. saveUrl: 'opensys/saveCommon.action?caller=' +caller,
  13. deleteUrl: 'opensys/deleteCommon.action?caller=' +caller,
  14. updateUrl: 'opensys/updateCommon.action?caller=' +caller,
  15. auditUrl: 'opensys/auditCommon.action?caller=' +caller,
  16. resAuditUrl: 'opensys/resAuditCommon.action?caller=' +caller,
  17. submitUrl: 'opensys/submitCommon.action?caller=' +caller,
  18. resSubmitUrl: 'opensys/resSubmitCommon.action?caller=' +caller,
  19. getIdUrl: 'opensys/getCommonId.action?caller=' +caller
  20. }]
  21. });
  22. me.callParent(arguments);
  23. }
  24. });