You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jc...@apache.org on 2013/01/18 11:38:11 UTC

[1/2] git commit: ISIS-308: Don't show (null) for a property or a parameter that has no reference (instead show an empty string)

ISIS-308: Don't show (null) for a property or a parameter that has no reference (instead show an empty string)


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

Branch: refs/heads/master
Commit: 77f73940b98fbdb63db1dfc4d3a3005d41412e2b
Parents: 5a212be
Author: Jeroen van der Wal <je...@stromboli.it>
Authored: Thu Jan 17 18:31:43 2013 +0100
Committer: Jeroen van der Wal <je...@stromboli.it>
Committed: Thu Jan 17 18:31:43 2013 +0100

----------------------------------------------------------------------
 .../widgets/entitylink/EntityLinkSelect2Panel.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/77f73940/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/entitylink/EntityLinkSelect2Panel.java
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/entitylink/EntityLinkSelect2Panel.java b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/entitylink/EntityLinkSelect2Panel.java
index 3415042..b6999e8 100644
--- a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/entitylink/EntityLinkSelect2Panel.java
+++ b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/entitylink/EntityLinkSelect2Panel.java
@@ -305,7 +305,7 @@ public class EntityLinkSelect2Panel extends FormComponentPanelAbstract<ObjectAda
         if (adapter != null) {
             permanentlyHide(ID_ENTITY_TITLE_NULL);
         } else {
-            addOrReplace(new Label(ID_ENTITY_TITLE_NULL, "(null)"));
+            addOrReplace(new Label(ID_ENTITY_TITLE_NULL, ""));
         }
     }