Author: chris.laprun(a)jboss.com
Date: 2007-05-10 20:46:42 -0400 (Thu, 10 May 2007)
New Revision: 7242
Modified:
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/info/ContainerPortletInfo.java
Log:
- Properly handle remotable status.
Modified:
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/info/ContainerPortletInfo.java
===================================================================
---
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/info/ContainerPortletInfo.java 2007-05-11
00:35:37 UTC (rev 7241)
+++
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/info/ContainerPortletInfo.java 2007-05-11
00:46:42 UTC (rev 7242)
@@ -62,7 +62,12 @@
this.security = new ContainerSecurityInfo(portletMD);
this.cache = new ContainerCacheInfo(portletMD, jbossPortletMD);
this.session = new ContainerSessionInfo(jbossPortletMD);
- this.remotable = (jbossPortletMD != null && jbossPortletMD.getRemotable()
!= null) ? jbossPortletMD.getRemotable() : Boolean.FALSE;
+ // if there is no JBoss specific metadata, remotable status should be indetermined
(i.e., null)
+ if (jbossPortletMD != null)
+ {
+ this.remotable = jbossPortletMD.getRemotable();
+ }
+
}
public CapabilitiesInfo getCapabilities()
Show replies by date