Author: julien(a)jboss.com
Date: 2008-02-09 11:39:07 -0500 (Sat, 09 Feb 2008)
New Revision: 9905
Modified:
modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/jsp/taglib/PageParamTag.java
Log:
fix issue with shared render param update overwritten by JSP page param
Modified:
modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/jsp/taglib/PageParamTag.java
===================================================================
---
modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/jsp/taglib/PageParamTag.java 2008-02-09
16:22:50 UTC (rev 9904)
+++
modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/jsp/taglib/PageParamTag.java 2008-02-09
16:39:07 UTC (rev 9905)
@@ -94,8 +94,12 @@
QName name = new QName(namespaceURI, localName);
//
- if (!"true".equals(frozen) || renderResponse.getPageParameter(name) ==
null)
+ if ("true".equals(frozen))
{
+ //
+ }
+ else if (renderResponse.getPageParameter(name) == null)
+ {
renderResponse.setPageParameter(name, value);
}
}