• <bdo id='dHycl'></bdo><ul id='dHycl'></ul>
    <tfoot id='dHycl'></tfoot>

  • <small id='dHycl'></small><noframes id='dHycl'>

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

        我想根据 Struts 2 中的值排序显示键值 bean

        I want to display the key value bean based on sorting of value in Struts 2(我想根据 Struts 2 中的值排序显示键值 bean)
          <tfoot id='uYX0O'></tfoot>
          <legend id='uYX0O'><style id='uYX0O'><dir id='uYX0O'><q id='uYX0O'></q></dir></style></legend>

            • <bdo id='uYX0O'></bdo><ul id='uYX0O'></ul>
              • <small id='uYX0O'></small><noframes id='uYX0O'>

                  <tbody id='uYX0O'></tbody>
                • <i id='uYX0O'><tr id='uYX0O'><dt id='uYX0O'><q id='uYX0O'><span id='uYX0O'><b id='uYX0O'><form id='uYX0O'><ins id='uYX0O'></ins><ul id='uYX0O'></ul><sub id='uYX0O'></sub></form><legend id='uYX0O'></legend><bdo id='uYX0O'><pre id='uYX0O'><center id='uYX0O'></center></pre></bdo></b><th id='uYX0O'></th></span></q></dt></tr></i><div id='uYX0O'><tfoot id='uYX0O'></tfoot><dl id='uYX0O'><fieldset id='uYX0O'></fieldset></dl></div>
                  本文介绍了我想根据 Struts 2 中的值排序显示键值 bean的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想根据 Struts 2 中的值排序显示键值 bean.

                  I want to display the key value bean based on sorting of value in Struts 2.

                  <s:select list="preferredBranchList"  listKey="displayKey"
                            listValue="displayValue" name="preferredBranch" 
                            cssClass="selectpicker show-tick" required="true"  /> 
                  

                  它是根据 listKey 对值进行排序.请建议我根据 listValue 对值进行排序.

                  It's sorting of the values based on listKey. Please, suggest me to sort the values based on listValue.

                  推荐答案

                  您可以尝试对 Action 类本身的值进行排序,因此当呈现 select 时,列表将显示为已排序

                  You can try and sort the values in Action class itself, so when select is rendered the list will appear sorted

                  这篇关于我想根据 Struts 2 中的值排序显示键值 bean的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 中的默认语言环境设置以使其保持一致?)
                      <bdo id='ZlscA'></bdo><ul id='ZlscA'></ul>

                    • <legend id='ZlscA'><style id='ZlscA'><dir id='ZlscA'><q id='ZlscA'></q></dir></style></legend>

                        1. <tfoot id='ZlscA'></tfoot>

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

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