Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2306694
  • 博文数量: 266
  • 博客积分: 5485
  • 博客等级: 大校
  • 技术积分: 3695
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-20 11:05
个人简介

多读书,多做事,广交朋友,趣味丛生

文章分类

全部博文(266)

分类: Python/Ruby

2011-11-11 09:44:45

  1. var returnComBox = new Ext.form.ComboBox({
  2.                     id:'isReturnCom',
  3.                     fieldLabel:'是否已退款',
  4.                     triggerAction:'all',
  5.                     store:new Ext.data.SimpleStore({
  6.                         fields:['isReturnText','isReturnNum'],
  7.                         data:[['全部','2'],['已退款','1'],['未退款','0']]
  8.                     }),
  9.                     hiddenName:'isReturn',//提交到后台的input的name
  10.                     displayField:'isReturnText',
  11.                     valueField:'isReturnNum',
  12.                     mode:'local',
  13.                     forceSelection:true,
  14.                     resizable:false,
  15.                     value:'2',
  16.                     width : 100
  17.                 });
重要属性设置 hiddenName:'isReturn'。  后台直接通过 String alertLevel = request.getParameter("isReturn");获取值
阅读(3509) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~