This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 94ba6a1f18 [SYNCOPE-1846] Allow for extensions
94ba6a1f18 is described below
commit 94ba6a1f18c6a0c886ea79a2cf888897b9d45225
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Tue Dec 10 14:27:34 2024 +0100
[SYNCOPE-1846] Allow for extensions
---
.../apache/syncope/client/console/wizards/any/Relationships.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
index f017a2d857..a04054e42f 100644
---
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
+++
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
@@ -122,6 +122,10 @@ public class Relationships extends WizardStep implements
ICondition {
return super.getHeader(id, parent, wizard).setVisible(false);
}
+ protected Specification newSpecification() {
+ return new Specification();
+ }
+
protected Fragment getViewFragment() {
Fragment viewFragment = new Fragment("relationships", "viewFragment",
this);
viewFragment.setOutputMarkupId(true);
@@ -145,7 +149,7 @@ public class Relationships extends WizardStep implements
ICondition {
public void onClick(final AjaxRequestTarget target, final
RelationshipTO ignore) {
Fragment addFragment = new Fragment("relationships",
"addFragment", Relationships.this);
addOrReplace(addFragment);
- addFragment.add(new Specification().setRenderBodyOnly(true));
+ addFragment.add(newSpecification().setRenderBodyOnly(true));
target.add(Relationships.this);
}
}, ActionType.CREATE,
AnyEntitlement.UPDATE.getFor(anyTO.getType())).hideLabel();