summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-12-14 06:09:34 (EST)
committerStephan Born2013-01-25 12:36:01 (EST)
commit4927000fee99fae5cd2d79ada2e375d5938fbb07 (patch)
treeffb610a567c5cc9796254519554d4ed16988697e
parent902fd1a72ee8045df9fe0d3598943b0ee680ae01 (diff)
downloadorg.eclipse.stardust.ui.web-4927000fee99fae5cd2d79ada2e375d5938fbb07.zip
org.eclipse.stardust.ui.web-4927000fee99fae5cd2d79ada2e375d5938fbb07.tar.gz
org.eclipse.stardust.ui.web-4927000fee99fae5cd2d79ada2e375d5938fbb07.tar.bz2
Jira-ID: CRNT-26580
Added a check if viewId is null pass empty String in View.java git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@61579 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java
index 31b50ed..47d864f 100644
--- a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java
+++ b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java
@@ -356,7 +356,7 @@ public class View extends AbstractUiElement implements TabScopeManager
{
idParams = viewKey; // Keep the backward compatibility
}
-
+ idParams = (idParams == null) ? "" : idParams;
return idParams;
}
@@ -472,6 +472,7 @@ public class View extends AbstractUiElement implements TabScopeManager
public String getViewId()
{
String viewId = (definition == null) ? getId() : definition.getName();
+ viewId = (definition == null) ? "" : viewId;
return viewId;
}