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

Listbox template and shadow missing value in first iteration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 8.5.0
    • 8.5.0
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      http://zkfiddle.org/sample/1dp6akj/2-Listbox-template-and-shadow-missing-value-in-first-iteration

      Current Result

      usign ${bean[variableFieldName]} return empty for the first iteration of the surrounding foreach
      bean, bean['fieldName'], bean.fieldName all are returning the expected value

      Expected Result

      usign ${bean[variableFieldName]} should return the same value on each iteration of the surrounding foreach

      Debug Info

      Root Cause

      Workaround

      @init(bean[variableFieldName])

            rudyhuang rudyhuang
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h