[pal-cvs 2970] [714] clear session value.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 11月 20日 (火) 12:48:31 JST


Revision: 714
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=714
Author:   shinsuke
Date:     2007-11-20 12:48:31 +0900 (Tue, 20 Nov 2007)

Log Message:
-----------
clear session value.

Modified Paths:
--------------
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductListAction.java


-------------- next part --------------
Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductListAction.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductListAction.java	2007-11-20 03:39:02 UTC (rev 713)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductListAction.java	2007-11-20 03:48:31 UTC (rev 714)
@@ -97,6 +97,7 @@
             } catch (NumberFormatException e) {
             }
         }
+        // clear flag from details page
         SessionUtil.removeFromLocalScope(PompeiConstants.IS_FROM_DETAILS_PAGE);
         return false;
     }
@@ -130,6 +131,9 @@
                     PompeiConstants.DEFAULT_CURRENT_PAGE_NUMBER);
             getProductListPage().setPageSize(PompeiConstants.DEFAULT_PAGE_SIZE);
 
+            // clear flag from details page
+            SessionUtil
+                    .removeFromLocalScope(PompeiConstants.IS_FROM_DETAILS_PAGE);
         } else {
             if (isProductDetails()) {
                 return ProductDetailsPage.class;


pal-cvs メーリングリストの案内
Back to archive index