andrea-patricelli commented on code in PR #363:
URL: https://github.com/apache/syncope/pull/363#discussion_r966887525


##########
client/idrepo/console/src/main/java/org/apache/syncope/client/console/pages/Realms.java:
##########
@@ -197,8 +197,8 @@ protected void onClickTemplate(final AjaxRequestTarget 
target) {
         @Override
         protected void setWindowClosedReloadCallback(final BaseModal<?> modal) 
{
             modal.setWindowClosedCallback(target -> {
-                if (modal.getContent() instanceof ResultPage) {
-                    Serializable result = 
ResultPage.class.cast(modal.getContent()).getResult();
+                if (modal.getContent() instanceof ResultPanel) {
+                    Object result = 
ResultPanel.class.cast(modal.getContent()).getResult();

Review Comment:
   Going to apply the same solution as in 
https://github.com/apache/syncope/blob/master/client/idm/console/src/main/java/org/apache/syncope/client/console/commons/IdMAnyDirectoryPanelAdditionalActionsProvider.java#L109



##########
client/idrepo/console/src/main/java/org/apache/syncope/client/console/pages/Realms.java:
##########
@@ -197,8 +197,8 @@ protected void onClickTemplate(final AjaxRequestTarget 
target) {
         @Override
         protected void setWindowClosedReloadCallback(final BaseModal<?> modal) 
{
             modal.setWindowClosedCallback(target -> {
-                if (modal.getContent() instanceof ResultPage) {
-                    Serializable result = 
ResultPage.class.cast(modal.getContent()).getResult();
+                if (modal.getContent() instanceof ResultPanel) {
+                    Object result = 
ResultPanel.class.cast(modal.getContent()).getResult();

Review Comment:
   Going to apply the same solution like in 
https://github.com/apache/syncope/blob/master/client/idm/console/src/main/java/org/apache/syncope/client/console/commons/IdMAnyDirectoryPanelAdditionalActionsProvider.java#L109



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to