[gatein-issues] [JBoss JIRA] Closed: (GTNPORTAL-763) javax.portlet.RenderResponse.addProperty(cookie); does not work in CR1 - Cookie is not set in the HTTP header
Matt Wringe (JIRA)
jira-events at lists.jboss.org
Mon Mar 1 17:43:10 EST 2010
[ https://jira.jboss.org/jira/browse/GTNPORTAL-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Wringe closed GTNPORTAL-763.
---------------------------------
Resolution: Done
Committed a fix into svn (revision 1918).
> javax.portlet.RenderResponse.addProperty(cookie); does not work in CR1 - Cookie is not set in the HTTP header
> -------------------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-763
> URL: https://jira.jboss.org/jira/browse/GTNPORTAL-763
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.0-CR01
> Reporter: Tugdual Grall
> Assignee: Matt Wringe
>
> I have created a portlet that implements this method
> ...
> protected void doHeaders(RenderRequest request, RenderResponse response) {
> Cookie cookie = new Cookie("CustomPortletCookie", "Value of my Custom Cookie");
> cookie.setPath(request.getContextPath());
> response.addProperty(cookie);
> super.doHeaders(request, response);
> }
> ....
> When I look at the header on a page that contains this portlet, I do not see any cookie in my HTTP request/response
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list