ICEfaces
  1. ICEfaces
  2. ICE-2247

"javax.portlet.response" request attribute is not passed to externalContext in portlet environment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#1
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      JBoss 4.2.1, Liferay 4.3.2, Sun RI 1.2 (Embedded in JBoss), Facelets (ICE Faces Implementation)

      Description

      Portlet specification (sec. 16.3.2) determines that PortletRequestDispatcher must add "javax.portlet.response" including another Servlet or JSP.

      Such an include is done in com.icesoft.faces.webapp.http.portlet.MainPortlet and PortletRequestDispatcher adds corresponding attribut to a request - this attribut is presented in the request passed to the service method of com.icesoft.faces.webapp.http.servlet.MainServlet.

      But than this attribute is lost somewhere. I can't get it in my portlet code using facesContext.getExternalContext().getRequestMap().getAttribute("javax.portlet.response").

      It is rather important to have such an attribute since it allows to construct direct URL to the portlet and some page inside a portlet (using renderResponse.createRenderURL).

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15287 Mon Dec 03 14:55:16 MST 2007 deryk.sinotte ICE-2247: Removing Liferay specific constants as we are now using a more dynamic approach.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/jasper/Constants.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15084 Fri Nov 02 11:25:15 MDT 2007 deryk.sinotte ICE-2247: Added some javax.portlet.* and Liferay attributes to be copied.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/env/PortletEnvironmentRenderRequest.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/jasper/Constants.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Vadim Lotarev
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: