[
https://issues.apache.org/jira/browse/CAUSEWAY-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber updated CAUSEWAY-3052:
---------------------------------
Issue Type: Question (was: Bug)
> How to get row selection and add+remove on collections?
> -------------------------------------------------------
>
> Key: CAUSEWAY-3052
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3052
> Project: Causeway
> Issue Type: Question
> Components: Viewer Wicket
> Affects Versions: 2.0.0-M8
> Environment: OSX 11.4, JDK 11, IntelliJ
> Reporter: Patrick Deenen
> Priority: Major
> 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.10#820010)