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>

     

  • 相关阅读:
    pycharm连接数据库报错:1130-host ... is not allowed to connect to this MySql server如何处理
    Linux 下清空或删除大文件内容的 5 种方法
    使用dos命令创建多模块Maven项目
    使用Java API创建(create),查看(describe),列举(list),删除(delete)Kafka主题(Topic)
    Kafka设计解析(二) Kafka High Availability (上)
    Kafka设计解析(一) Kafka背景及架构介绍
    nginx日志切割并使用flume-ng收集日志
    kafka迁移与扩容
    Kafka中的Message Delivary机制
    Kafka Topic动态迁移 (源代码解析)
  • 原文地址:https://www.cnblogs.com/Prozhu/p/5886554.html
Copyright © 2011-2022 走看看