You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by md...@apache.org on 2020/03/15 08:43:42 UTC

[syncope] branch 2_1_X updated: [SYNCOPE-1548] Groups wizard step

This is an automated email from the ASF dual-hosted git repository.

mdisabatino pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_1_X by this push:
     new 0451e4b  [SYNCOPE-1548] Groups wizard step
0451e4b is described below

commit 0451e4b16bfc4ea2b837ad0ff2c797acd8601c42
Author: Marco Di Sabatino Di Diodoro <ma...@tirasa.net>
AuthorDate: Sun Mar 15 09:43:12 2020 +0100

    [SYNCOPE-1548] Groups wizard step
---
 .../syncope/client/console/wizards/any/Groups.java       | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Groups.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Groups.java
index 4ec5a26..6caed6b 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Groups.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Groups.java
@@ -60,20 +60,22 @@ public class Groups extends WizardStep implements ICondition {
 
     private static final long serialVersionUID = 552437609667518888L;
 
-    private final GroupRestClient groupRestClient = new GroupRestClient();
+    private final AnyTO anyTO;
 
-    private final List<DynRealmTO> allDynRealms = new DynRealmRestClient().list();
+    private boolean templateMode;
 
-    private GroupsModel groupsModel;
+    protected final GroupRestClient groupRestClient = new GroupRestClient();
 
-    private final AnyTO anyTO;
+    protected final List<DynRealmTO> allDynRealms = new DynRealmRestClient().list();
 
-    private boolean templateMode;
+    protected GroupsModel groupsModel;
 
     protected WebMarkupContainer dyngroupsContainer;
 
     protected WebMarkupContainer dynrealmsContainer;
 
+    protected WebMarkupContainer groupsContainer;
+
     public <T extends AnyTO> Groups(final AnyWrapper<T> modelObject, final boolean templateMode) {
         super();
         this.templateMode = templateMode;
@@ -92,7 +94,7 @@ public class Groups extends WizardStep implements ICondition {
 
         setOutputMarkupId(true);
 
-        WebMarkupContainer groupsContainer = new WebMarkupContainer("groupsContainer");
+        groupsContainer = new WebMarkupContainer("groupsContainer");
         groupsContainer.setOutputMarkupId(true);
         groupsContainer.setOutputMarkupPlaceholderTag(true);
         add(groupsContainer);
@@ -214,7 +216,7 @@ public class Groups extends WizardStep implements ICondition {
                         isActionAuthorized(this, RENDER);
     }
 
-    private class GroupsModel extends ListModel<GroupTO> {
+    protected class GroupsModel extends ListModel<GroupTO> {
 
         private static final long serialVersionUID = -4541954630939063927L;