页面中map接受用户输入
2015-07-14 11:01
288 查看
<input type="text"
class="form-control" id="goodsAttributeName<s:property value='languageList[#status.index]'/>"
name="goodsAttributeName.<s:property value='languageList[#status.index]'/>"
value="" cssClass="form-control" required="required" style="width:240px"/>
如上面的结构, 在<s:text 中使用时,后台action中接受不到这些参数,使用input后台得到的map如下:
zh=颜色,en=Color,fr=ColorFr,it=ColorIt
class="form-control" id="goodsAttributeName<s:property value='languageList[#status.index]'/>"
name="goodsAttributeName.<s:property value='languageList[#status.index]'/>"
value="" cssClass="form-control" required="required" style="width:240px"/>
如上面的结构, 在<s:text 中使用时,后台action中接受不到这些参数,使用input后台得到的map如下:
zh=颜色,en=Color,fr=ColorFr,it=ColorIt
相关文章推荐
- 页面中map接受用户输入
- 80x86寄存器详解
- Spring MVC 解读——@Autowired
- 使用PLSql连接Oracle时报错ORA-12541: TNS: 无监听程序
- linux中的source、sh、bash、./命令
- x.509数字证书编码详解
- (转)GrabPass捕捉屏幕纹理
- Sort Colors
- 学习笔记
- Android网络通信:通过volley和gson获取聚合数据
- ibatis[mybatis]的安全加固
- SQL_常用函数
- css 圆角效果
- C语言时间处理实例分享
- (LeetCode)用两个栈实现一个队列
- MySql数据库迁移图文展示
- PAT 数据结构 08-排序5. Sort with Swap(0,*) (25)
- Unsupported Content Type
- 【java】论integer是地址传递还是值传递
- 在drawable文件中的图片获取bitmap对象