Author: truong.le
Date: 2009-12-22 02:28:43 -0500 (Tue, 22 Dec 2009)
New Revision: 1119
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
Log:
GTNPORTAL-381: Nothing happen when make some change for page node
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java 2009-12-22
06:28:43 UTC (rev 1118)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java 2009-12-22
07:28:43 UTC (rev 1119)
@@ -490,7 +490,8 @@
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance();
selectPage.setModifier(context.getRemoteUser());
- selectPage.setTitle(selectedPageNode.getLabel());
+ if(selectPage.getTitle() == null)
+ selectPage.setTitle(selectedPageNode.getLabel());
// convert Page to UIPage
PortalDataMapper.toUIPage(uiPage, selectPage);
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2009-12-22
06:28:43 UTC (rev 1118)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2009-12-22
07:28:43 UTC (rev 1119)
@@ -186,6 +186,7 @@
invokeGetBindingBean(page);
getUIStringInput("name").setEditable(false);
getUIStringInput("pageId").setValue(uiPage.getPageId());
+ getUIStringInput("title").setValue(uiPage.getTitle());
getUIFormCheckBoxInput("showMaxWindow").setValue(uiPage.isShowMaxWindow());
getUIFormSelectBox(OWNER_TYPE).setEnable(false).setValue(uiPage.getOwnerType());
removeChild(UIPageTemplateOptions.class);
Show replies by date