Author: julien_viet
Date: 2010-03-13 04:59:41 -0500 (Sat, 13 Mar 2010)
New Revision: 2230
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java
Log:
minor
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java 2010-03-13
09:59:10 UTC (rev 2229)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationManagement.java 2010-03-13
09:59:41 UTC (rev 2230)
@@ -100,15 +100,15 @@
UINavigationManagement uiManagement = event.getSource();
UINavigationNodeSelector uiNodeSelector =
uiManagement.getChild(UINavigationNodeSelector.class);
DataStorage dataService =
uiManagement.getApplicationComponent(DataStorage.class);
- UserPortalConfigService portalConfigService =
- uiManagement.getApplicationComponent(UserPortalConfigService.class);
+ UserPortalConfigService portalConfigService =
uiManagement.getApplicationComponent(UserPortalConfigService.class);
PageNavigation navigation = uiNodeSelector.getSelectedNavigation();
String editedOwnerType = navigation.getOwnerType();
String editedOwnerId = navigation.getOwnerId();
// Check existed
PageNavigation persistNavigation =
dataService.getPageNavigation(editedOwnerType, editedOwnerId);
- if (persistNavigation == null) {
+ if (persistNavigation == null)
+ {
UIApplication uiApp = Util.getPortalRequestContext().getUIApplication();
uiApp.addMessage(new
ApplicationMessage("UINavigationManagement.msg.NavigationNotExistAnymore",
null));
UIPopupWindow uiPopup = uiManagement.getParent();
Show replies by date