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 2017/07/20 09:53:35 UTC

isis git commit: ISIS-1652: fixes issue with bulk actions no longer being serializable.

Repository: isis
Updated Branches:
  refs/heads/master c94a24007 -> 148572044


ISIS-1652: fixes issue with bulk actions no longer being serializable.


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/14857204
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/14857204
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/14857204

Branch: refs/heads/master
Commit: 148572044160a9f526485504a7148362aba4a4f0
Parents: c94a240
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Thu Jul 20 10:52:17 2017 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Thu Jul 20 10:52:17 2017 +0100

----------------------------------------------------------------------
 .../actionmenu/entityactions/AdditionalLinksPanel.java         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/14857204/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
----------------------------------------------------------------------
diff --git a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
index 8e4248c..3761e47 100644
--- a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
+++ b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
@@ -85,15 +85,15 @@ public class AdditionalLinksPanel extends PanelAbstract<ListOfLinksModel> {
     }
 
 
-    protected AdditionalLinksPanel(final String id, final List<LinkAndLabel> links) {
-        super(id, new ListOfLinksModel(links));
+    protected AdditionalLinksPanel(final String id, final List<LinkAndLabel> linksDoNotUseDirectlyInsteadUseOfListOfLinksModel) {
+        super(id, new ListOfLinksModel(linksDoNotUseDirectlyInsteadUseOfListOfLinksModel));
 
         final List<LinkAndLabel> linkAndLabels = getModel().getObject();
 
         final WebMarkupContainer container = new WebMarkupContainer(ID_ADDITIONAL_LINK_LIST) {
             @Override
             public boolean isVisible() {
-                for (LinkAndLabel linkAndLabel : links) {
+                for (LinkAndLabel linkAndLabel : linkAndLabels) {
                     final AbstractLink link = linkAndLabel.getLink();
                     if(link.isVisible()) {
                         return true;