summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-01-25 07:19:29 (EST)
committer Sven Rottstock2013-01-25 07:19:29 (EST)
commit124c73ed6007afcb527f5ab0ae904e9e9fa66999 (patch)
tree668366550ead68bd8a5e55fbd83f5b62dcd37178
parentb2c44deea6fec49fa57d0edc7103a57882dcbfdb (diff)
downloadorg.eclipse.stardust.ui.web-124c73ed6007afcb527f5ab0ae904e9e9fa66999.zip
org.eclipse.stardust.ui.web-124c73ed6007afcb527f5ab0ae904e9e9fa66999.tar.gz
org.eclipse.stardust.ui.web-124c73ed6007afcb527f5ab0ae904e9e9fa66999.tar.bz2
Jira-ID: CRNT-27700
Moved code to setProcessName in handleEvent from initialize() git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@62380 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/processContextExplorer/ProcessInstanceDetailsBean.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/processContextExplorer/ProcessInstanceDetailsBean.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/processContextExplorer/ProcessInstanceDetailsBean.java
index 4816a3c..cad0958 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/processContextExplorer/ProcessInstanceDetailsBean.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/processContextExplorer/ProcessInstanceDetailsBean.java
@@ -143,12 +143,6 @@ public class ProcessInstanceDetailsBean extends PopupUIComponentBean
processInstance = ProcessInstanceUtils.getProcessInstance(processInstanceOID, true, true);
- //set process Name
- if (null != thisView && StringUtils.isEmpty((String) thisView.getViewParams().get("processInstanceName")))
- {
- thisView.getViewParams().put("processInstanceName", getProcessName());
- }
-
duration=ProcessInstanceUtils.getDuration(processInstance);
// Only initialize in refresh/update, for 1st time this will be initialized in
// expand methods
@@ -205,6 +199,8 @@ public class ProcessInstanceDetailsBean extends PopupUIComponentBean
{
processInstanceOID = Long.parseLong(pOID);
initialize();
+ // set process Name
+ thisView.getViewParams().put("processInstanceName", getProcessName());
}
catch (Exception ex)
{