myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Korherr (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-3005) Only send Flash cookie if needed
Date Tue, 21 Dec 2010 11:11:01 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973571#action_12973571
] 

Jakob Korherr commented on MYFACES-3005:
----------------------------------------

Checking our FlashImpl, this »might« cause problems, because in theory we should add the
cookie as soon as possible to the response (before it is committed), but for this issue we
have to wait until the first data is in the render-map and this could be after the response
has been committed.

Thus I think we may have to introduce a config parameter saying that all data will be added
to the Flash scope before the response is committed, in order to make this improvement. Because
otherwise users could run into problems if they are not aware of this fact!

Suggestions are welcome!

> Only send Flash cookie if needed
> --------------------------------
>
>                 Key: MYFACES-3005
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3005
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.3
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>
> As pointed out by Ganesh on the mailing list [1], we do not always have to send the Flash
cookie oam.Flash.RENDERMAP.TOKEN (e.g. when there is no data in the Flash scope).
> [1] http://old.nabble.com/oam.Flash.RENDERMAP.TOKEN-ts30491897.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message