Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4583

Listbox renders unexpected blank listitems when specifying "rows" attribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.5.0
    • 9.0.1, 9.0.1.2
    • None
    • Security Level: Jimmy
    • None

    Description

      Steps to Reproduce

      1. run attached zul
      2. click "search" button

      Current Result

      Expected Result

      only shows 3 rows

      Debug Information

      Workaround

      	<script><![CDATA[
      	var old = {};
      	zk.afterLoad('zul.sel', function () {
      		zk.override(zul.sel.Listbox.prototype, old, {
      			getOuterPartialSkipper_: function () {
      				return null;
      			}
      		});
      	});
      	]]>
      	</script>
      

      Attachments

        1. Car.java
          2 kB
        2. CarService.java
          0.4 kB
        3. CarServiceImpl.java
          7 kB
        4. SearchController.java
          2 kB
        5. searchMvc.zul
          0.9 kB
        6. unexpected-items.png
          unexpected-items.png
          42 kB

        Issue Links

          Activity

            People

              rudyhuang rudyhuang
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 6 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 6 hours Remaining Estimate - 2 hours
                  6h