Author: thomas.heute(a)jboss.com
Date: 2010-05-05 14:01:23 -0400 (Wed, 05 May 2010)
New Revision: 2987
Modified:
portal/branches/EPP_5_0_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java
Log:
JBEPP-336: creating new membership problem
Modified:
portal/branches/EPP_5_0_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java
===================================================================
---
portal/branches/EPP_5_0_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java 2010-05-05
15:26:02 UTC (rev 2986)
+++
portal/branches/EPP_5_0_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/FindMembershipTypesPageList.java 2010-05-05
18:01:23 UTC (rev 2987)
@@ -96,8 +96,15 @@
public String getEncodedDescription()
{
- EntityEncoder encoder = EntityEncoder.FULL;
- return encoder.encode(getDescription());
+ if (getDescription() != null)
+ {
+ EntityEncoder encoder = EntityEncoder.FULL;
+ return encoder.encode(getDescription());
+ }
+ else
+ {
+ return null;
+ }
}
}
}
Show replies by date