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

nested shadow component order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 8.5.2
    • 8.5.0
    • Databind 2
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      run the attachement shadow-insertion-order.zul

      Current Result

      in the minimum case the page renders

      div 2
      div 1
      div 3
      

      Expected Result

      div 1
      div 2
      div 3
      

      Debug Info

      only happens when the test expression use a dynamic @load or @init annotation

      Workaround

      surround the children with a component e.g. <nodom>

                  <apply>
                      <nodom>
                          <if test="@load(true)">
                              <div>div 1</div>
                          </if>
                          <div>div 2</div>
                          <div>div 3</div>
                      </nodom>
                  </apply>
      

            klyvechen klyvechen
            cor3000 cor3000
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified