summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-01-03 08:02:53 (EST)
committerStephan Born2013-01-25 13:19:10 (EST)
commitb38029188f2b8259781acf30d083500f7194c7e7 (patch)
treef2c72f1e5072400c70d57b4845c979cd3d29656c
parent5b243f47f57e3ec1617809dcf5a7827ba96e5ad8 (diff)
downloadorg.eclipse.stardust.ui.web-b38029188f2b8259781acf30d083500f7194c7e7.zip
org.eclipse.stardust.ui.web-b38029188f2b8259781acf30d083500f7194c7e7.tar.gz
org.eclipse.stardust.ui.web-b38029188f2b8259781acf30d083500f7194c7e7.tar.bz2
Jira-ID: CRNT-26647
Added if/else block for value in parseParams() in View.java git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@61794 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java9
1 files changed, 8 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 79da2ce..6978bfb 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
@@ -297,7 +297,14 @@ public class View extends AbstractUiElement implements TabScopeManager
{
try
{
- viewParams.put(name, URLDecoder.decode(value, "UTF-8"));
+ if (StringUtils.isNotEmpty(value))
+ {
+ viewParams.put(name, URLDecoder.decode(value, "UTF-8"));
+ }
+ else
+ {
+ viewParams.put(name, null);
+ }
}
catch (Exception e)
{