<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 表生成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  <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>