Author: thomas.heute(a)jboss.com
Date: 2008-08-28 09:29:36 -0400 (Thu, 28 Aug 2008)
New Revision: 11757
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/actions/PropertyAction.java
Log:
JBPORTAL-2093: Refresh problem with removing a property at page-window level in admin
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/actions/PropertyAction.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/actions/PropertyAction.java 2008-08-28
13:12:35 UTC (rev 11756)
+++
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/actions/PropertyAction.java 2008-08-28
13:29:36 UTC (rev 11757)
@@ -99,7 +99,7 @@
{
Map pmap =
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String name = (String)pmap.get("name");
-
((PortalObjectImpl)pomgr.getSelectedObject()).getDeclaredPropertyMap().remove(name);
+ ((PortalObjectImpl)pomgr.getSelectedObject()).setDeclaredProperty(name, null);
}
public void updateProperty()
Show replies by date