Author: kien_nguyen
Date: 2011-10-31 00:56:12 -0400 (Mon, 31 Oct 2011)
New Revision: 7913
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBrowser.java
Log:
GTNPORTAL-2242 Page Management Exception when search with space character in 'Site
Name' field
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBrowser.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBrowser.java 2011-10-31
03:38:39 UTC (rev 7912)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBrowser.java 2011-10-31
04:56:12 UTC (rev 7913)
@@ -148,11 +148,11 @@
String siteName = siteNameInput.getValue();
String title = titleInput.getValue();
String ownerType = select.getValue();
- if (title != null && title != "")
+ if (title != null)
{
query.setTitle(title.trim());
}
- if (siteName != null && siteName != "")
+ if (siteName != null && !siteName.trim().equals(""))
{
query.setOwnerId(siteName.trim());
}
Show replies by date