私はsencha touchを使ってform.fieldsetを作成しています。私のモデルではイメージフィールドがありますが、私のモデルの現在のイメージを表示するにはどうしたらいいですか?私form.fieldsetは、次のようになります。/ロードformfield
でimage
を使用してについてイメージフィールドとセンチャタッチ
/**
* This is used by the NestedList example to allow editing of an item in the Store
*/
Ext.define('ParkingSencha.view.EditorPanel', {
extend: 'Ext.form.Panel',
requires: ['Ext.form.FieldSet'],
id: 'editorPanel',
config: {
modal: true,
hideOnMaskTap: false,
centered: true,
width: 500,
scrollable: false,
items: [{
xtype: 'fieldset',
items: [
{
xtype: 'textfield',
name: 'keyword',
label: 'Mots clés'
},
{
xtype: 'textfield',
name: 'title',
label: 'Titre'
},
{
xtype: 'textfield',
name: 'image',
label: 'image'
}
]
}]
}]
}
});
イメージは、3番目のテキストフィールド領域にロードしますか? –
画像はどこに保存されていますか? –
はい、私は3番目のテキストフィールドにロードします。私の画像は私のサーバーに保存されています。 – Sebastien