struts2 通用属性(表单标签)

来源:互联网 发布:网络播放量vlinkage 编辑:程序博客网 时间:2024/05/16 05:09

通用属性

属性                              Theme                       数据类型                     描述  

cssClass                    simple                         String                       定义 html class 属性 
cssStyle                      simple                        String                         定义html style 属性 
title                                simple                        String                        定义html title 属性 
disabled                       simple                       String                        定义html disabled 属性 
label                              xhtml                          String                      定义表单元素的label 
labelPosition               xhtml                          String                        定义表单元素的label位置(top/left),缺省为left 
requiredposition         xhtml                         String                        定义required 标识相对label元素的位置 (left/right),缺省是 right 
name                           simple                      String                         表单元素的name映射 
required                       xhtml                       Boolean                     在label中添加 * (true增加,否则不增加) 
tabIndex                     simple                       String                        定义html tabindex 属性 
value                           simple                      Object                           定义表单元素的value 

 


0 0
原创粉丝点击