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

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

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 9.5.1
    • 9.0.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 9.5.1 S1

      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>

       

            Leon03 Leon03
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 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