52,797
社区成员
发帖
与我相关
我的任务
分享
var editForm = new Ext.form.FormPanel({
url:'updateSpecialPrefix.action',
method : 'post',
labelAlign : 'right',
// labelWidth : 100,
bodyStyle : 'padding:5px',
border : false,
fileUpload : true,
frame:true,
layout : 'form',
baseCls : 'x-plain',
items : [{
name:'id',
xtype:'textfield',
fieldLabel : 'ID码',
width:160
},
{
name : 'specialPrefix',
xtype : 'textfield',
fieldLabel : '特殊',
width:160,
allowBlank : false
},
{
name : 'usage',
xtype : 'textfield',
fieldLabel : '用法',
width:160,
allowBlank : false
},
{
name : 'callType',
xtype : 'textfield',
fieldLabel : '类型',
width:160,
allowBlank : true
},
{
name : 'carrierId',
xtype : 'textfield',
fieldLabel : 'carri码',
width:160,
allowBlank : false
}
,
{
name : 'remark',
xtype : 'textarea',
fieldLabel : '备注',
width:160,
allowBlank : true
}
],
buttonAlign : 'center',
buttons : [
{
text : '修改',
handler : function(){
editForm.getForm().submit({
success : function(editForm,action){
Ext.Msg.alert('成功','修改成功');
},
failure : function(){
Ext.Msg.alert('失败','修改失败');
}
});
}
},
{
text : '重置',
handler : function(){
var record = grid.getSelectionModel().getSelected();
if(record){
editForm.getForm().loadRecord(record);
}
}
},
{
text : '关闭',
handler : function(){
window_edit.hide();
}
}
]
});
<ERROR-interceptor.ParametersInterceptor>: ParametersInterceptor - [setParameters]:
Unexpected Exception caught setting 'callType' on ListSpecialPrefixAction: Error setting expression 'callType' with value '[Ljava.lang.String;@1203875'
<ERROR-interceptor.ParametersInterceptor>: ParametersInterceptor - [setParameters]:
Unexpected Exception caught setting 'carrierId' on ListSpecialPrefixAction: Error setting expression 'carrierId' with value '[Ljava.lang.String;@5a9c5d'
callType
carrierId
有没有getter/setter方法
把struts.xml文件贴上来看看,我怀疑没有配置拦截器
加载中
试试用AI创作助手写篇文章吧