summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-05-14 09:48:09 (EDT)
committerManik Kishore2012-06-19 07:29:41 (EDT)
commit6e50ed62e1425d325f5a8d9a7a64a0f5d2a89da3 (patch)
tree7576bec666063cd8cc5ef95d9d4e00b52e0d99ff
parent4ae9fd1e1cf288145c760a41c1eec5a8ec57ed16 (diff)
downloadorg.eclipse.stardust.ui.web-6e50ed62e1425d325f5a8d9a7a64a0f5d2a89da3.zip
org.eclipse.stardust.ui.web-6e50ed62e1425d325f5a8d9a7a64a0f5d2a89da3.tar.gz
org.eclipse.stardust.ui.web-6e50ed62e1425d325f5a8d9a7a64a0f5d2a89da3.tar.bz2
Jira-ID: CRNT-23229
-Made changes to PreferenceManagerBean.java performSearch() -Commented the code to show Preference Manager Store View in administrativeViews.xhtml git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@56329 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java7
-rw-r--r--admin-portal/src/main/resources/META-INF/xhtml/extensions/launchpad/administrativeViews.xhtml4
2 files changed, 4 insertions, 7 deletions
diff --git a/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java b/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java
index eef8612..4ac9fee 100644
--- a/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java
+++ b/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java
@@ -74,7 +74,6 @@ public class PreferenceManagerBean extends UIComponentBean implements ViewEventH
private String prefSearchTxt;
private SortableTable<PreferenceManagerTableEntry> prefManagerTable;
private List<PreferenceManagerTableEntry> prefList;
- private List<PreferenceManagerTableEntry> partitionCacheList;
private ConfirmationDialog prefMngrConfirmationDialog;
private PreferenceManagerTableEntry selectedPrefMngrObj;
private QueryService qService;
@@ -116,8 +115,6 @@ public class PreferenceManagerBean extends UIComponentBean implements ViewEventH
prefList = CollectionUtils.newArrayList();
createTable();
update();
- partitionCacheList = CollectionUtils.newArrayList();
- partitionCacheList.addAll(prefList);
}
public void update()
@@ -248,14 +245,14 @@ public class PreferenceManagerBean extends UIComponentBean implements ViewEventH
*/
public void performSearch()
{
- if (StringUtils.isNotEmpty(prefSearchTxt) || PREF_VIEW_TYPE.USER.name().equals(selectedView))
+ if (StringUtils.isNotEmpty(prefSearchTxt))
{
fetchPreferences();
updatePrefStoreTable(polulateSearchResult());
}
else
{
- updatePrefStoreTable(partitionCacheList);
+ update();
}
}
diff --git a/admin-portal/src/main/resources/META-INF/xhtml/extensions/launchpad/administrativeViews.xhtml b/admin-portal/src/main/resources/META-INF/xhtml/extensions/launchpad/administrativeViews.xhtml
index 4563ec9..3be2b25 100644
--- a/admin-portal/src/main/resources/META-INF/xhtml/extensions/launchpad/administrativeViews.xhtml
+++ b/admin-portal/src/main/resources/META-INF/xhtml/extensions/launchpad/administrativeViews.xhtml
@@ -109,10 +109,10 @@
<ice:outputText value="#{messages_admin['views.qaManagementView.label']} &amp;raquo;"
styleClass="action-link" escape="false" />
</ice:commandLink>
- <ice:commandLink action="#{ippPortalApp.openView}">
+ <!-- <ice:commandLink action="#{ippPortalApp.openView}">
<f:param name="viewId" value="prefManagerBean" />
<ice:outputText value="#{messages_admin['views.prefManagerBean.label']} &amp;raquo;"
styleClass="action-link" escape="false" />
- </ice:commandLink>
+ </ice:commandLink> -->
</ice:panelGrid>
</f:view> \ No newline at end of file