0
Sencha 2 KitchenSink에서 볼 수있는 Sencha Picker를 구현할 수있는 사람이 누구든 도와주세요. 예/예/kitchensink/# 데모/오버레이Sencha Picker를 구현하는 방법
나는이 오류가 계속 ...
02-15 13 : 41 : 38.879 : E/웹 콘솔 (285)와 구성 요소를 만들려고 등록되지 않은 위해 xtype : [개체 개체] 정의에서 : 여기에 0
는
MrFantastic.views.faith = new Ext.Panel({
id:'faith',
title:'Faith',
scroll:'vertical',
style:'background-color:#ffffff',
items: [
{
xtype: 'fieldset',
layout: {
align: 'stretch',
type: 'vbox'
},
defaults:{
xtype: 'radiofield',
flex: 1,
labelWidth:'85%'
},
items: [
{
label: 'Intolerable',
name:'mode'
},
{
label: 'Tolerable',
name:'mode'
},
{
label: 'Compatible',
name:'mode'
},
{
label: 'Admirable',
name:'mode'
}
]
}
],
dockedItems: [
{
dock:'top',
cls:"faith",
width:'100%',
height:'50%'
},
{
html:'<div class="text_pane"><h3>faith <span>{noun} {feyth}</span>:</h3><ol><li>belief in God or in the doctrines or teachings of religion</li><li>a system of religious belief</li><li>a strong belief in a supernatural power or powers</li></ol><!--<span>If you ask almost any lady what kind of man she wants for a husband, she is likely to say to you, "I want a God fearing man." This probably because she believes that a God feating man will be more faithful and truthful.</span>--></div>'
},
{
xtype: 'toolbar',
dock: 'bottom',
items: [
{
xtype: 'button',
itemId: 'Previous',
ui:'back',
text: 'Previous',
handler: function() {
MrFantastic.views.viewport.setActiveItem('mrf_home', { type: 'slide', direction: 'right' });
}
},
{
xtype: 'spacer'
},
{
xtype:'button',
text: 'Score Him',
handler: function() {
if(!this.picker)
{
this.picker = Ext.create('Ext.Picker',{
slots:[
{
name:'compat',
title:'Compatibility Score',
data:[
{text:'Intolerable', value:1},
{text:'Tolerable', value:2},
{text:'Compatible', value:3},
{text:'Intolerable', value:4}
]
}
]
});
}
this.picker.show();
}
},
{
xtype: 'spacer'
},
{
xtype: 'button',
text: 'Next',
ui:'foward',
handler: function() {
MrFantastic.views.viewport.setActiveItem('family', { type: 'slide', direction: 'left' });
}
}
]
}
]
});
제발 도와주세요 내 코드의 조각이다. 고맙습니다.
에이 코드를 넣어! 하나님, 당신이하는 모든 일에서 당신을 축복하십시오. 고마워요 – Shoppyonline
:)) 내가 아끼지 않을 것 같아서 가장 기쁘게 생각하고 재미 있겠다. - 천만에요 :) – ilija139