服务于区块链开拓者

www.zhidnet.com

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年10月13日

摘要: 页面中经常用到下拉列表,下面是个人对于STRUTS中标签使用的一点总结: STRUTS中的下拉选择列表标签必须嵌套在<html:form>标签中,包括: 1.<html:select> 2.<html:option> 3.<html:options> 4.<html:optionsCollection> 使用时嵌套如下: <html:select property="ationForm.property"> <html:option>或<html:options>或<htm 阅读全文
posted @ 2012-10-13 16:51 知点网 阅读(1535) 评论(0) 推荐(0)

摘要: 1 Validation-rule中的子元素<validator>中对应的属性有name,classname,method,methodparams ,msg,depends,jsfunctionname其中msg属性对应resource bundle中的消息key在<validator></validator>中的属性msg的值为 msg=”errors.required” 所以在resource bundle中必须有key为error.required的键值对Error.required={0} is required在validation-rule.x 阅读全文
posted @ 2012-10-13 16:40 知点网 阅读(1300) 评论(0) 推荐(0)