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

apply template creates unexpected empty label

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      run the attached example

      depending on how the template is applied (${} vs @load/@init) a 3rd empty (and unexpected) cell is added to the grid row

        Activity

        Hide
        jumperchen jumperchen added a comment -

        Bug fixed since 9/10/2015

        Show
        jumperchen jumperchen added a comment - Bug fixed since 9/10/2015
        Hide
        cor3000 cor3000 added a comment -

        the new attachment contains 2 additional cases causing problems

        using a dynamic template name (causes the first column to be empty)

        <apply template="@init(templateName)" label="@init(each)" /> 
        

        passing in the 'label' by reference causes again a 3rd column

        <apply template="@init(templateName)" label="@ref(each)" /> 
        
        Show
        cor3000 cor3000 added a comment - the new attachment contains 2 additional cases causing problems using a dynamic template name (causes the first column to be empty) <apply template= "@init(templateName)" label= "@init(each)" /> passing in the 'label' by reference causes again a 3rd column <apply template= "@init(templateName)" label= "@ref(each)" />
        Hide
        jumperchen jumperchen added a comment -

        fixed again.

        Show
        jumperchen jumperchen added a comment - fixed again.

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            cor3000 cor3000
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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