Author: haint
Date: 2011-10-25 06:30:39 -0400 (Tue, 25 Oct 2011)
New Revision: 7865
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBrowser.java
Log:
GTNPORTAL-2209 Search page doesn't cache properly
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-25
10:20:05 UTC (rev 7864)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBrowser.java 2011-10-25
10:30:39 UTC (rev 7865)
@@ -108,20 +108,17 @@
protected String pageSelectedId_;
- private static List<SelectItemOption<String>> OPTIONS = new
ArrayList<SelectItemOption<String>>(2);
+ private List<SelectItemOption<String>> OPTIONS = new
ArrayList<SelectItemOption<String>>(2);
- static
+ private Query<Page> lastQuery_;
+
+ public UIPageBrowser() throws Exception
{
WebuiRequestContext contextui = WebuiRequestContext.getCurrentInstance();
ResourceBundle res = contextui.getApplicationResourceBundle();
OPTIONS.add(new
SelectItemOption<String>(res.getString("UIPageSearchForm.label.option.portal"),
"portal"));
OPTIONS.add(new
SelectItemOption<String>(res.getString("UIPageSearchForm.label.option.group"),
"group"));
- }
-
- private Query<Page> lastQuery_;
-
- public UIPageBrowser() throws Exception
- {
+
UIPageSearchForm uiSearchForm = addChild(UIPageSearchForm.class, null, null);
uiSearchForm.setOptions(OPTIONS);
uiSearchForm.setId("UIPageSearchForm");
Show replies by date