동일한 버튼을 두 번 이상 클릭하면이 오류가 발생합니다. 이것이 무엇을 제안하며, 그것을 방지하기 위해 무엇을해야합니까?"이미 사용 된 ID (`form1`)로 구성 요소 등록 중"
[WARN] [WARN][Ext.Component#constructor] Registering a component with a id (`form1`) which has already been used. Please ensure the existing component has been destroyed (`Ext.Component#destroy()`.
2012-05-08 21:29:56.869 ProjectSeal[870:fb03] [WARN] [WARN][Ext.Component#constructor] Registering a component with a id (`new-note-btn1`) which has already been used. Please ensure the existing component has been destroyed (`Ext.Component#destroy()`.
오류/경고에 따르면 어떻게 구성 요소를 destroy
에 연결할 수 있습니까?
UPDATE
Ext.define('app.view.Contact',{
extend:'Ext.form.Panel',
xtype:'contactform',
id: 'form1',
....
은 어떻게 센차 내 코드에 아이디의를 추가 할 수 있습니까?
UPDATE
[WARN] 지양 [익명] 해당 itemId 직접 구성 요소의 속성 으로 중단된다. 는 config 객체 안에 넣어, 그리고 는 사용자가 버튼을 클릭 할 때 당신은 가장 가능성 창이나 폼 객체를 생성
? 그리고 내 게시물을 업데이 트했습니다. 제발 봐주세요 – user1315906
'id : 'form1'' – sha
하지만 var values = Ext.getCmp ('form1 '). getValues ();'를 사용하여 뷰의 양식 값을 가져옵니다. 만약'form1'을 제거하면 값을 얻을 수 없습니다. – user1315906