layout:window-->tabpanel-->formpanel. if i want submit formpanel,but have a lot formpanel, i don't know how to do! is layout problem ? i'm java programmer.i use struts2+extjs...
A:
Don't use multiple form panels.
Use:
new Ext.Window({
layout: 'fit',
items: {
xtype: 'form',
layout: 'fit',
items: {
xtype: 'tabpanel',
items: {
title: 'Tab 1',
layout: 'form'
}
}
}
});
After that, you only submit the one main form.
Evan Trimboli
2010-07-28 08:38:48
you know i mean.my layout:tab-->form( layout:'form', items:[{ layout:'column', items:[{ columnWidth : .3, layout:'form', items:[{ xtype:'hidden', name:'id' }] }] }])
2010-07-30 07:48:28