summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-05-17 02:16:38 (EDT)
committerManik Kishore2012-06-19 07:29:58 (EDT)
commit7d099649f435bcd42f9131d1a0a4c68d0f9aa17f (patch)
tree7ff74ff18d79a4580233e27256654f375e3e4d37
parentedaf250746c9a00126128f689093a01230774092 (diff)
downloadorg.eclipse.stardust.ui.web-7d099649f435bcd42f9131d1a0a4c68d0f9aa17f.zip
org.eclipse.stardust.ui.web-7d099649f435bcd42f9131d1a0a4c68d0f9aa17f.tar.gz
org.eclipse.stardust.ui.web-7d099649f435bcd42f9131d1a0a4c68d0f9aa17f.tar.bz2
Jira-ID: CRNT-24549
-Added code to show Stranded Activities view On Invalidating User have Case assigned to him. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@56402 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/UserManagementBean.java18
-rw-r--r--admin-portal/src/main/resources/META-INF/xhtml/views/participantMgmtView.xhtml9
2 files changed, 20 insertions, 7 deletions
diff --git a/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/UserManagementBean.java b/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/UserManagementBean.java
index e9312e2..e5a8976 100644
--- a/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/UserManagementBean.java
+++ b/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/UserManagementBean.java
@@ -116,6 +116,7 @@ public class UserManagementBean extends PopupUIComponentBean
private List<FilterToolbarItem> userMgmtFilterToolbarItems;
private ConfirmationDialog userMgmtConfirmationDialog;
+ private ConfirmationDialog userMgmtStrandedActConfirmationDialog;
/**
*
@@ -372,11 +373,13 @@ public class UserManagementBean extends PopupUIComponentBean
public void openStrandedActivitiesAlert()
{
AdminMessagesPropertiesBean propsBean = AdminMessagesPropertiesBean.getInstance();
- userMgmtConfirmationDialog = new ConfirmationDialog(DialogContentType.NONE, DialogActionType.OK_CANCEL, DialogType.ACCEPT_ONLY,
- DialogStyle.COMPACT, this);
- userMgmtConfirmationDialog.setTitle(propsBean.getString("common.strandedActivitiesAlert.title"));
- userMgmtConfirmationDialog.setMessage(propsBean.getString("common.strandedActivitiesAlert.message.label"));
- userMgmtConfirmationDialog.openPopup();
+ userMgmtStrandedActConfirmationDialog = new ConfirmationDialog(DialogContentType.NONE,
+ DialogActionType.OK_CANCEL, DialogType.ACCEPT_ONLY, DialogStyle.COMPACT, null);
+ userMgmtStrandedActConfirmationDialog.setTitle(propsBean.getString("common.strandedActivitiesAlert.title"));
+ userMgmtStrandedActConfirmationDialog.setMessage(propsBean
+ .getString("common.strandedActivitiesAlert.message.label"));
+ userMgmtStrandedActConfirmationDialog.openPopup();
+ initialize();
}
/**
@@ -822,6 +825,11 @@ public class UserManagementBean extends PopupUIComponentBean
return userMgmtConfirmationDialog;
}
+ public ConfirmationDialog getUserMgmtStrandedActConfirmationDialog()
+ {
+ return userMgmtStrandedActConfirmationDialog;
+ }
+
/**
* @author Subodh.Godbole
*
diff --git a/admin-portal/src/main/resources/META-INF/xhtml/views/participantMgmtView.xhtml b/admin-portal/src/main/resources/META-INF/xhtml/views/participantMgmtView.xhtml
index 56f3c3c..8436f4a 100644
--- a/admin-portal/src/main/resources/META-INF/xhtml/views/participantMgmtView.xhtml
+++ b/admin-portal/src/main/resources/META-INF/xhtml/views/participantMgmtView.xhtml
@@ -10,10 +10,15 @@
<ui:include src="createUser.xhtml" />
<ui:include src="confirmInvalidateUser.xhtml"/>
<ui:include src="/plugins/views-common/contentmgmt/views/notificationMessage.xhtml" />
- <ui:include src="/plugins/common/views/dialog/confirmationDialog.xhtml">
- <ui:param name="dialogBean" value="#{userMgmtBean.userMgmtConfirmationDialog}" />
+ <ui:include src="/plugins/common/views/dialog/confirmationDialog.xhtml">
+ <ui:param name="dialogBean" value="#{userMgmtBean.userMgmtConfirmationDialog}" />
</ui:include>
</ice:panelGroup>
+ <ice:panelGroup>
+ <ui:include src="/plugins/common/views/dialog/confirmationDialog.xhtml">
+ <ui:param name="dialogBean" value="#{userMgmtBean.userMgmtStrandedActConfirmationDialog}" />
+ </ui:include>
+ </ice:panelGroup>
<ice:panelGroup>
<ice:panelGroup styleClass="heading" style="width: 100%;">