Author: thomas.heute(a)jboss.com
Date: 2007-11-19 04:31:38 -0500 (Mon, 19 Nov 2007)
New Revision: 9021
Modified:
branches/JBoss_Portal_Branch_2_6/core-samples/src/main/org/jboss/portal/core/samples/news/NewsPortlet.java
Log:
Oups
Modified:
branches/JBoss_Portal_Branch_2_6/core-samples/src/main/org/jboss/portal/core/samples/news/NewsPortlet.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-samples/src/main/org/jboss/portal/core/samples/news/NewsPortlet.java 2007-11-19
09:27:32 UTC (rev 9020)
+++
branches/JBoss_Portal_Branch_2_6/core-samples/src/main/org/jboss/portal/core/samples/news/NewsPortlet.java 2007-11-19
09:31:38 UTC (rev 9021)
@@ -64,6 +64,9 @@
/** Edit page */
private static final String JSP_EDIT = "/WEB-INF/jsp/news/edit.jsp";
+ /** Help page */
+ private static final String JSP_HELP = "/WEB-INF/jsp/news/help.jsp";
+
/** RSS 2.0 XSL page for output */
private static final String RSS2_XSL = "/WEB-INF/xsl/news/Rss2.xsl";
@@ -197,6 +200,13 @@
dispatcher.include(request, response);
}
+ protected void doHelp(RenderRequest request, RenderResponse response) throws
IOException, PortletException
+ {
+ response.setContentType("text/html");
+ PortletRequestDispatcher dispatcher =
getPortletContext().getRequestDispatcher(JSP_HELP);
+ dispatcher.include(request, response);
+ }
+
/**
* Process RSS Feed edit.
*
Show replies by date