You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/01/04 17:09:43 UTC

[isis] 03/03: ISIS-1465: removes broken support for bookmarked actions.

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

danhaywood pushed a commit to branch release-1.16.0-RC1
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 92f51ab033fb7f4ab95a4043b3d4dbfd7d675800
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Jan 4 17:00:43 2018 +0000

    ISIS-1465: removes broken support for bookmarked actions.
    
    Have raised ISIS-1806 to reinstate.
---
 .../wicket/ui/components/actions/ActionFormExecutorStrategy.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionFormExecutorStrategy.java b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionFormExecutorStrategy.java
index 4a7af28..4f79632 100644
--- a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionFormExecutorStrategy.java
+++ b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionFormExecutorStrategy.java
@@ -18,7 +18,6 @@
  */
 package org.apache.isis.viewer.wicket.ui.components.actions;
 
-import org.apache.wicket.Session;
 import org.apache.wicket.ajax.AjaxRequestTarget;
 
 import org.apache.isis.core.metamodel.adapter.ObjectAdapter;
@@ -26,10 +25,8 @@ import org.apache.isis.core.runtime.system.context.IsisContext;
 import org.apache.isis.core.runtime.system.session.IsisSessionFactory;
 import org.apache.isis.viewer.wicket.model.models.ActionModel;
 import org.apache.isis.viewer.wicket.model.models.ActionPrompt;
-import org.apache.isis.viewer.wicket.model.models.BookmarkedPagesModel;
 import org.apache.isis.viewer.wicket.ui.actionresponse.ActionResultResponse;
 import org.apache.isis.viewer.wicket.ui.actionresponse.ActionResultResponseType;
-import org.apache.isis.viewer.wicket.ui.pages.BookmarkedPagesModelProvider;
 import org.apache.isis.viewer.wicket.ui.panels.FormExecutorStrategy;
 
 public class ActionFormExecutorStrategy implements FormExecutorStrategy<ActionModel> {
@@ -56,9 +53,11 @@ public class ActionFormExecutorStrategy implements FormExecutorStrategy<ActionMo
     public void onExecuteAndProcessResults(final AjaxRequestTarget target) {
 
         if (model.isBookmarkable()) {
+/*
             BookmarkedPagesModelProvider application = (BookmarkedPagesModelProvider) Session.get();
             BookmarkedPagesModel bookmarkedPagesModel = application.getBookmarkedPagesModel();
             bookmarkedPagesModel.bookmarkPage(model);
+*/
         }
 
         if (actionPrompt != null) {

-- 
To stop receiving notification emails like this one, please contact
"commits@isis.apache.org" <co...@isis.apache.org>.