You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ra...@apache.org on 2003/12/09 22:59:03 UTC
cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/layout portletstd-top.jsp
raphael 2003/12/09 13:59:03
Modified: portal/src/webapp/WEB-INF/layout Tag: aggregation_1-branch
portletstd-top.jsp
Log:
add test to avoid stack traces when PortletEntity is null
Revision Changes Path
No revision
No revision
1.1.2.2 +1 -1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/layout/Attic/portletstd-top.jsp
Index: portletstd-top.jsp
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/layout/Attic/portletstd-top.jsp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- portletstd-top.jsp 8 Dec 2003 21:05:55 -0000 1.1.2.1
+++ portletstd-top.jsp 9 Dec 2003 21:59:02 -0000 1.1.2.2
@@ -13,7 +13,7 @@
<td bgcolor="<%=myPage.getDefaultSkin()%>">
<table width="100%">
<tr>
- <td><%=myPE.getPortletDefinition().getName()%></td>
+ <td><% if (myPE!=null) out.write(myPE.getPortletDefinition().getName());%></td>
<td>
</td>
</tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org