zoukankan      html  css  js  c++  java
  • 二十三、常用的标签:见源码

    二十三、常用的标签:见源码

    <!--Struts2标签:表单 -->

        <s:form id="userAction_save_do" name="Form1" action="addUser" namespace="/user"

            enctype="multipart/form-data">

                

                

                        <!--struts 标签: <s:textfield/> -->

                        登录名:<s:textfield name="logonName" id="userAction_save_do_logonName" class="bg"></s:textfield>

                                

                        <!--struts 标签:<s:password/> -->

                        密码:<s:password name="logonPwd" id="logonPwd"></s:password>

                    

                        <!--struts 标签:<s:textfield/> -->

                        用户姓名:<s:textfield name="userName" id="userAction_save_do_userName" class="bg"></s:textfield>

                    

                        <!--struts 标签:<s:radio /> ContextMap中存储信息 -->

                         性别 <s:radio name="sex" id="sex" list="#{'male':'','female':''}" value="{'male'}"></s:radio>

                    

                        <!--struts 标签: <s:select/> 在值栈的栈顶存储信息 -->

                        学历:<s:select name="education" id="education" list="{'博士','硕士','本科','专科','高中','胎教'}" headerKey=""

                            headerValue="--请选择--"></s:select>

                

                        <!--struts 标签: <s:textfield/>-->

                        出生日期:<s:textfield name="birthday" size="20" value="" readonly="readonly" id="birthday"></s:textfield>

                    

                        <!--struts 标签:<s:textfield/> -->

                        电话:<s:textfield name="telephone" value="" id="telephone"></s:textfield>

                    

                        <!-- Struts2 的标签:checkbox集合 在值栈的栈顶存储信息-->

                        爱好:<s:checkboxlist name="interests" list="{'看电影','旅游','健身','购物','睡觉'}"></s:checkboxlist>

                    

                        <!--struts 标签:<s:file/> -->

                        简历资料:<s:file name="upload" size="30" value="" id="userAction_save_do_upload"></s:file>

                    

                        <!--struts 标签:<s:textarea/> -->

                        备注:<s:textarea name="remark" cols="30" rows="3" id="userAction_save_do_remark" style="WIDTH: 96%"></s:textarea>

                    </s:form>

     

  • 相关阅读:
    【转】return 使用示例
    java基础_二维数组的行和列
    新版SQL授权用户时报错 near 'IDENTIFIED BY '密码' with grant option' at line 1
    GO kafka sarama 生产者 消费者 简单 实现
    Windows 安装kafka
    windows 连接nsq
    reflect: call of reflect.Value.NumField on ptr Value
    django 数据库 mysql 事务 处理
    python 类的继承
    python 中 insert 返回 None
  • 原文地址:https://www.cnblogs.com/Prozhu/p/5886554.html
Copyright © 2011-2022 走看看