<legend id='rkcBh'><style id='rkcBh'><dir id='rkcBh'><q id='rkcBh'></q></dir></style></legend>
    1. <tfoot id='rkcBh'></tfoot>

      • <bdo id='rkcBh'></bdo><ul id='rkcBh'></ul>

    2. <small id='rkcBh'></small><noframes id='rkcBh'>

    3. <i id='rkcBh'><tr id='rkcBh'><dt id='rkcBh'><q id='rkcBh'><span id='rkcBh'><b id='rkcBh'><form id='rkcBh'><ins id='rkcBh'></ins><ul id='rkcBh'></ul><sub id='rkcBh'></sub></form><legend id='rkcBh'></legend><bdo id='rkcBh'><pre id='rkcBh'><center id='rkcBh'></center></pre></bdo></b><th id='rkcBh'></th></span></q></dt></tr></i><div id='rkcBh'><tfoot id='rkcBh'></tfoot><dl id='rkcBh'><fieldset id='rkcBh'></fieldset></dl></div>

      1. 如何禁用窗体的 struts 2 表生成?

        How to disable struts 2 Table generation for Form?(如何禁用窗体的 struts 2 表生成?)
        • <i id='QaHLL'><tr id='QaHLL'><dt id='QaHLL'><q id='QaHLL'><span id='QaHLL'><b id='QaHLL'><form id='QaHLL'><ins id='QaHLL'></ins><ul id='QaHLL'></ul><sub id='QaHLL'></sub></form><legend id='QaHLL'></legend><bdo id='QaHLL'><pre id='QaHLL'><center id='QaHLL'></center></pre></bdo></b><th id='QaHLL'></th></span></q></dt></tr></i><div id='QaHLL'><tfoot id='QaHLL'></tfoot><dl id='QaHLL'><fieldset id='QaHLL'></fieldset></dl></div>
          <tfoot id='QaHLL'></tfoot>

              <tbody id='QaHLL'></tbody>
              <bdo id='QaHLL'></bdo><ul id='QaHLL'></ul>
              <legend id='QaHLL'><style id='QaHLL'><dir id='QaHLL'><q id='QaHLL'></q></dir></style></legend>

                <small id='QaHLL'></small><noframes id='QaHLL'>

                  本文介绍了如何禁用窗体的 struts 2 表生成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  Struts 2 自动为它的 <s:form> 标签生成 HTML 表格.我怎样才能禁用它?任何帮助将不胜感激.谢谢.

                  Struts 2 automatically generate HTML table for it's <s:form> tag. How can I disable it? Any help will be appreciated. Thank You.

                  推荐答案

                  Struts2 具有主题生成功能,基于它生成基于表格的 HTMl 代码,其标签默认为 x_html,这是您的情况.您可以通过在页面级别将主题设置为简单或每个标签具有主题属性来避免这种情况,该属性将生成基于 div 的 html 内容

                  Struts2 have theme generation functionality based on which it generares either Table based HTMl code for its tags default is x_html which is your case . You can avoid this by setting theme as simple on page level or each tags has theme property which will generate div based html contents

                  <s:form name="test" theme="simple">
                  

                  或者您可以为整个页面设置主题,如下所示静态值

                  or you can set theme for entire page as below static value

                  <s:set name="theme" value="'simple'" scope="page" />
                  

                  财产

                  <s:set name="theme" value="%{myTheme}" scope="page" />
                  

                  您可以通过

                  <constant name="struts.ui.theme" value="simple" />
                  

                  这篇关于如何禁用窗体的 struts 2 表生成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Java Bytecode Manipulation Library Suggestions(Java 字节码操作库建议)
                  Java CLI UI-design: frameworks or libraries?(Java CLI UI 设计:框架还是库?)
                  About the use of Beans.xml configuration file in Spring Framework application(关于Spring Framework应用中Beans.xml配置文件的使用)
                  What is the difference between Spring, Struts, Hibernate, JavaServer Faces, Tapestry?(Spring、Struts、Hibernate、JavaServer Faces、Tapestry 有什么区别?)
                  Are there any android application framework like spring?(有没有像spring这样的android应用程序框架?)
                  Java Swing based game framework. Any advice?(基于 Java Swing 的游戏框架.有什么建议吗?)
                  <i id='zUBx2'><tr id='zUBx2'><dt id='zUBx2'><q id='zUBx2'><span id='zUBx2'><b id='zUBx2'><form id='zUBx2'><ins id='zUBx2'></ins><ul id='zUBx2'></ul><sub id='zUBx2'></sub></form><legend id='zUBx2'></legend><bdo id='zUBx2'><pre id='zUBx2'><center id='zUBx2'></center></pre></bdo></b><th id='zUBx2'></th></span></q></dt></tr></i><div id='zUBx2'><tfoot id='zUBx2'></tfoot><dl id='zUBx2'><fieldset id='zUBx2'></fieldset></dl></div>

                      • <bdo id='zUBx2'></bdo><ul id='zUBx2'></ul>
                        1. <tfoot id='zUBx2'></tfoot>
                          1. <small id='zUBx2'></small><noframes id='zUBx2'>

                              <tbody id='zUBx2'></tbody>
                            <legend id='zUBx2'><style id='zUBx2'><dir id='zUBx2'><q id='zUBx2'></q></dir></style></legend>