Skip to main content

[JIRA] Resolved: (PORTLETSPEC3-24) GenericPortlet.doHeaders(RenderRequest, RenderResponse) should throw javax.portlet.PortletException

  • From: "msnicklous (JIRA)" < >
  • To:
  • Subject: [JIRA] Resolved: (PORTLETSPEC3-24) GenericPortlet.doHeaders(RenderRequest, RenderResponse) should throw javax.portlet.PortletException
  • Date: Sat, 24 Aug 2013 19:50:19 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/PORTLETSPEC3-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

msnicklous resolved PORTLETSPEC3-24.
------------------------------------

      Assignee: msnicklous
    Resolution: Fixed

Resolved this by adding IOException and PortletException to the method 
signature. The method doHeaders() now has the same documented exceptions as 
the related doDispatch(), doView(), doHelp(), and doEdit() methods that can 
be called during render() processing.

Also corrected a number of typos and missing/falsely named closing HTML tags 
that were adversely affecting the javadoc page formatting for the 
GenericPortlet class.

> GenericPortlet.doHeaders(RenderRequest, RenderResponse) should throw 
> javax.portlet.PortletException
> ---------------------------------------------------------------------------------------------------
>
>                 Key: PORTLETSPEC3-24
>                 URL: https://java.net/jira/browse/PORTLETSPEC3-24
>             Project: portletspec3
>          Issue Type: Improvement
>          Components: Ideas for JSR 362 Extensions
>            Reporter: Neil Griffin
>            Assignee: msnicklous
>
> In order for a JSF 2 portlet to work in a streaming portal, the JSF 
> lifecycle must be run from the GenericPortlet.doHeaders(RenderRequest, 
> RenderResponse) method in order to determine the JSF 2 <script> and <link> 
> resources that are to be included in the <head>...</head> section of the 
> rendered portal page.
> Unfortunately the signature for GenericPortlet.doHeaders(RenderRequest, 
> RenderResponse) does not throw an exception, so if there is a problem 
> running the JSF lifecycle, there is no way report any exceptions other than 
> by printing the stacktrace or throwing a RuntimeException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Resolved: (PORTLETSPEC3-24) GenericPortlet.doHeaders(RenderRequest, RenderResponse) should throw javax.portlet.PortletException

msnicklous (JIRA) 08/24/2013
 
 
Close
loading
Please Confirm
Close