summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-05-13 08:49:49 (EDT)
committer Stephan Born2013-08-28 12:51:17 (EDT)
commitc7cd20983185f0f005090df496045ea6e9d9ac8f (patch)
treea0f599cf7a800a468443d90be45b2813b20d5128
parent3159c96cc4c9d88fa269d3cb25c350cc7e0f2d34 (diff)
downloadorg.eclipse.stardust.ui.web-c7cd20983185f0f005090df496045ea6e9d9ac8f.zip
org.eclipse.stardust.ui.web-c7cd20983185f0f005090df496045ea6e9d9ac8f.tar.gz
org.eclipse.stardust.ui.web-c7cd20983185f0f005090df496045ea6e9d9ac8f.tar.bz2
Jira-ID: CRNT-27045
Changed setSource to setFilteredSource() for dualListModel and setTarget to setFilteredTarget() on CreateOrModifyDeputyPopupBean. git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@64802 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java
index d7f2c92..cbf1768 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java
@@ -47,6 +47,7 @@ import org.eclipse.stardust.ui.web.viewscommon.common.ModelHelper;
import org.eclipse.stardust.ui.web.viewscommon.common.ValidationMessageBean;
import org.eclipse.stardust.ui.web.viewscommon.dialogs.ICallbackHandler.EventType;
import org.eclipse.stardust.ui.web.viewscommon.dialogs.IParametricCallbackHandler;
+import org.eclipse.stardust.ui.web.viewscommon.docmgmt.ParametricCallbackHandler;
import org.eclipse.stardust.ui.web.viewscommon.user.UserAutocompleteMultiSelector;
import org.eclipse.stardust.ui.web.viewscommon.user.UserWrapper;
import org.eclipse.stardust.ui.web.viewscommon.utils.DateUtils;
@@ -80,7 +81,7 @@ public class CreateOrModifyDeputyPopupBean extends PopupUIComponentBean
List<ModelParticipantInfo> modelParticipantInfoList;
UserQuery query;
- private IParametricCallbackHandler callbackHandler;
+ private ParametricCallbackHandler callbackHandler;
private ValidationMessageBean validationMessageBean = new ValidationMessageBean();
/**
@@ -105,7 +106,7 @@ public class CreateOrModifyDeputyPopupBean extends PopupUIComponentBean
* @param modifyMode
* @param callbackHandler
*/
- public void openPopup(DeputyTableEntry deputyTableEntry, User user, IParametricCallbackHandler callbackHandler)
+ public void openPopup(DeputyTableEntry deputyTableEntry, User user, ParametricCallbackHandler callbackHandler)
{
this.deputyTableEntry = deputyTableEntry;
this.user = user;
@@ -203,7 +204,7 @@ public class CreateOrModifyDeputyPopupBean extends PopupUIComponentBean
false));
}
}
- dualListModel.setSource(assignedList);
+ dualListModel.setFilteredSource(assignedList);
// Selected Participants
List<SelectItemModel> assignablesList = new ArrayList<SelectItemModel>();
@@ -212,7 +213,7 @@ public class CreateOrModifyDeputyPopupBean extends PopupUIComponentBean
assignablesList.add(new SelectItemModel(ModelHelper.getParticipantName(participant), ParticipantUtils
.getParticipantUniqueKey(participant), participant, false));
}
- dualListModel.setTarget(assignablesList);
+ dualListModel.setFilteredTarget(assignablesList);
}
/**