Form.js 419 B

1234567891011121314151617
  1. Ext.define('erp.view.plm.document.Form',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype:'erpFormPanel',
  10. anchor: '100% 100%',
  11. saveUrl: 'common/saveCommon.action?caller=' +caller,
  12. getIdUrl: 'common/getCommonId.action?caller=' +caller
  13. }]
  14. });
  15. me.callParent(arguments);
  16. }
  17. });