summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Mishra2012-03-29 06:09:07 (EDT)
committerManik Kishore2012-06-19 07:24:31 (EDT)
commitd162b89b473ebd10f60619c6d4150eb53f90aaa7 (patch)
tree84576839ac3297ac69053d72f13613ed7de90a7a
parent611148ce2ef32af652a876b561bbac3c8769312d (diff)
downloadorg.eclipse.stardust.ui.web-d162b89b473ebd10f60619c6d4150eb53f90aaa7.zip
org.eclipse.stardust.ui.web-d162b89b473ebd10f60619c6d4150eb53f90aaa7.tar.gz
org.eclipse.stardust.ui.web-d162b89b473ebd10f60619c6d4150eb53f90aaa7.tar.bz2
Jira-ID: CRNT-22765
Using standard message : "Operation not supported for Cases" if Case activity is selected to delegate. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@55057 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/DelegationBean.java3
-rw-r--r--views-common/src/main/resources/views-common-messages.properties1
-rw-r--r--views-common/src/main/resources/views-common-messages_de.properties1
-rw-r--r--views-common/src/main/resources/views-common-messages_ja.properties1
-rw-r--r--views-common/src/main/resources/views-common-messages_zh_CN.properties1
5 files changed, 1 insertions, 6 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/DelegationBean.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/DelegationBean.java
index 1c6fcbe..7a10529 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/DelegationBean.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/DelegationBean.java
@@ -597,8 +597,7 @@ public class DelegationBean extends PopupUIComponentBean
boolean isCaseActivities = ActivityInstanceUtils.isContainsCaseActivity(ais);
if (!delegateCase && isCaseActivities)
{
- MessageDialog.addErrorMessage(MessagesViewsCommonBean.getInstance().getString("delegation.cantDelegateCase.message"));
-
+ MessageDialog.addErrorMessage(MessagesViewsCommonBean.getInstance().getString("views.switchProcessDialog.caseAbort.message"));
return;
}
else if (delegateCase && !isCaseActivities)
diff --git a/views-common/src/main/resources/views-common-messages.properties b/views-common/src/main/resources/views-common-messages.properties
index 6f24ab0..ab76f31 100644
--- a/views-common/src/main/resources/views-common-messages.properties
+++ b/views-common/src/main/resources/views-common-messages.properties
@@ -646,7 +646,6 @@ delegation.note.label=Note
delegation.tooltip.title=Delegate
delegation.error=Cannot delegate Activity with OID {0}, since it is in Active state.
delegation.notAuthorizedonSuspend.message=You are not authorized to delegate.\n{0}
-delegation.cantDelegateCase.message=Cannot delegate Case Activity.
delegation.selectOnlyCase.message=Please select Case Process to change owner.
delegation.select.toggleLinkText=Search for Participant
delegation.applyButton.text=OK
diff --git a/views-common/src/main/resources/views-common-messages_de.properties b/views-common/src/main/resources/views-common-messages_de.properties
index 5665b4e..5ce8968 100644
--- a/views-common/src/main/resources/views-common-messages_de.properties
+++ b/views-common/src/main/resources/views-common-messages_de.properties
@@ -643,7 +643,6 @@ delegation.note.label = Notiz
delegation.tooltip.title = Delegieren
delegation.error = Aktivit\u00E4t mit OID {0} kann nicht delegiert werden, da Status aktiv.
delegation.notAuthorizedonSuspend.message = Sie haben keine Berechtigung zum Delegieren.\n{0}
-delegation.cantDelegateCase.message=+Cannot delegate Case Activity.
delegation.selectOnlyCase.message=+Please select Case Process to change owner.
delegation.select.toggleLinkText = Participant Suchen
delegation.applyButton.text = OK
diff --git a/views-common/src/main/resources/views-common-messages_ja.properties b/views-common/src/main/resources/views-common-messages_ja.properties
index 4cab58a..f01d6f5 100644
--- a/views-common/src/main/resources/views-common-messages_ja.properties
+++ b/views-common/src/main/resources/views-common-messages_ja.properties
@@ -643,7 +643,6 @@ delegation.note.label = \u30CE\u30FC\u30C8
delegation.tooltip.title = \u59D4\u8B72
delegation.error = OID {0} \u306E\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u306F\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u305F\u3081\u3001\u59D4\u8B72\u3067\u304D\u307E\u305B\u3093\u3002
delegation.notAuthorizedonSuspend.message = \u59D4\u8B72\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002 {0}
-delegation.cantDelegateCase.message=+Cannot delegate Case Activity.
delegation.selectOnlyCase.message=+Please select Case Process to change owner.
delegation.select.toggleLinkText = \u30D1\u30FC\u30C6\u30A3\u30B7\u30D1\u30F3\u30C8\u3092\u691C\u7D22
delegation.applyButton.text = OK
diff --git a/views-common/src/main/resources/views-common-messages_zh_CN.properties b/views-common/src/main/resources/views-common-messages_zh_CN.properties
index 752e140..ef734d2 100644
--- a/views-common/src/main/resources/views-common-messages_zh_CN.properties
+++ b/views-common/src/main/resources/views-common-messages_zh_CN.properties
@@ -643,7 +643,6 @@ delegation.note.label = \u5907\u6CE8
delegation.tooltip.title = \u59D4\u6D3E
delegation.error = \u4E0D\u80FD\u59D4\u6258OID\u4E3A{0}\u7684\u6D3B\u52A8\uFF0C\u56E0\u4E3A\u8BE5\u6D3B\u52A8\u5728\u88AB\u6FC0\u6D3B\u72B6\u6001\u3002
delegation.notAuthorizedonSuspend.message = \u60A8\u6CA1\u6709\u6388\u6743\u59D4\u6258\u3002{0}
-delegation.cantDelegateCase.message=+Cannot delegate Case Activity.
delegation.selectOnlyCase.message=+Please select Case Process to change owner.
delegation.select.toggleLinkText = \u641C\u7D22\u53C2\u4E0E\u8005
delegation.applyButton.text = \u53EF\u4EE5