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

Kanban missing options to listen to portallayout onPortalMove without affecting the UI

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 9.0.0
    • Fix Version/s: 9.5.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 9.5.1 S1

      Description

      In the current state, onPortalMove will trigger PortalLayout service() method to move the panel according to user action.

      This is fine if using the component in a MVC pattern, but it makes using a MVVM / template approach difficult.

      In order to control the component directly, we would need a way to stop onPortalMove propagation in a listener before portalLayout changes its own content.

       

      This would enable patterns such as:

      <portallayout>
       <portalchildren>
        <forEach items="@load(vm.tasks)">
         <apply templateURI="kanbanpanel.zul" item="${each}" />
        </forEach>
       </portalchildren>

       

        Attachments

          Activity

            People

            Assignee:
            Leon03 Leon03
            Reporter:
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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