Patrick Deenen created ISIS-3052:
------------------------------------

             Summary: How to get row selection and add+remove on collections?
                 Key: ISIS-3052
                 URL: https://issues.apache.org/jira/browse/ISIS-3052
             Project: Isis
          Issue Type: Bug
          Components: Isis Viewer Wicket
    Affects Versions: 2.0.0-RC1
         Environment: OSX 11.4, JDK 11, IntelliJ
            Reporter: Patrick Deenen
         Attachments: EcpHrm-HowToDefineAddRemoveButtonsToCollection.jpg, 
EcpHrm-SecurityRoleManagerApplicationRoleView.jpg

In ECP HRM we are on nightly version 2.0.0-M7.20220511-0321-29cd16bf

In the view of security > role manager > application role provided by Isis, one 
can see that both collections (permissions and users) have a additional column 
with checkboxes to enable selection of rows in the table. Those selections are 
applied to both add and remove buttons/actions in the table. See next 
screenshot:  
!EcpHrm-SecurityRoleManagerApplicationRoleView.jpg|width=1029,height=284!

How can one apply that same behaviour to application specific domain objects. 
Every attempt trying to mimic this in the communication channel collection in 
the organisation domain object of ECP HRM fails. See next screenshot:

!EcpHrm-HowToDefineAddRemoveButtonsToCollection.jpg|width=1037,height=355!

The "Remove communication channel" action is defined explicitly as an mixin, 
but for the RoleManager collections no mixins seem to be defined. So how should 
this work?

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to