• <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

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

                  上一篇:如何将值从 javascript 传递到 struts2 中的 java 类? 下一篇:jsp 未以正确格式传递 UTF-8 数据

                  相关文章

                    <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'>

                      <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>