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

Listbox renders unexpected blank listitems when specifying "rows" attribute

XMLWordPrintable

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

      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>
      

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

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

              Created:
              Updated:
              Resolved:

                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